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

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