Blame SOURCES/0023-Add-documentation-for-isolate_-options.-Correct-defa.patch

f22e83
From 3d02ef3be17f37baf729e786a8f36af4982f70ad Mon Sep 17 00:00:00 2001
f22e83
From: Martin Sehnoutka <msehnout@redhat.com>
f22e83
Date: Thu, 17 Nov 2016 10:52:16 +0100
f22e83
Subject: [PATCH 23/59] Add documentation for isolate_* options. Correct
f22e83
 default
f22e83
f22e83
values of max_clients, max_per_ip.
f22e83
---
f22e83
 vsftpd.conf.5 | 22 +++++++++++++++++++---
f22e83
 1 file changed, 19 insertions(+), 3 deletions(-)
f22e83
f22e83
diff --git a/vsftpd.conf.5 b/vsftpd.conf.5
f22e83
index e242873..31d317f 100644
f22e83
--- a/vsftpd.conf.5
f22e83
+++ b/vsftpd.conf.5
f22e83
@@ -652,6 +652,21 @@ change it with the setting
f22e83
 .BR xferlog_file .
f22e83
 
f22e83
 Default: NO
f22e83
+.TP
f22e83
+.B isolate_network
f22e83
+If enabled, use CLONE_NEWNET to isolate the untrusted processes so that
f22e83
+they can't do arbitrary connect() and instead have to ask the privileged
f22e83
+process for sockets (
f22e83
+.BR port_promiscuous
f22e83
+have to be disabled).
f22e83
+
f22e83
+Default: YES
f22e83
+.TP
f22e83
+.B isolate
f22e83
+If enabled, use CLONE_NEWPID and CLONE_NEWIPC to isolate processes to their
f22e83
+ipc and pid namespaces. So separated processes can not interact with each other.
f22e83
+
f22e83
+Default: YES
f22e83
 
f22e83
 .SH NUMERIC OPTIONS
f22e83
 Below is a list of numeric options. A numeric option must be set to a non
f22e83
@@ -749,8 +764,9 @@ Default: 077
f22e83
 .B max_clients
f22e83
 If vsftpd is in standalone mode, this is the maximum number of clients which
f22e83
 may be connected. Any additional clients connecting will get an error message.
f22e83
+The value 0 switches off the limit.
f22e83
 
f22e83
-Default: 0 (unlimited)
f22e83
+Default: 2000
f22e83
 .TP
f22e83
 .B max_login_fails
f22e83
 After this many login failures, the session is killed.
f22e83
@@ -760,9 +776,9 @@ Default: 3
f22e83
 .B max_per_ip
f22e83
 If vsftpd is in standalone mode, this is the maximum number of clients which
f22e83
 may be connected from the same source internet address. A client will get an
f22e83
-error message if they go over this limit.
f22e83
+error message if they go over this limit. The value 0 switches off the limit.
f22e83
 
f22e83
-Default: 0 (unlimited)
f22e83
+Default: 50
f22e83
 .TP
f22e83
 .B pasv_max_port
f22e83
 The maximum port to allocate for PASV style data connections. Can be used to
f22e83
-- 
f22e83
2.14.4
f22e83