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

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