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

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