Blame SOURCES/vsftpd-2.3.4-listen_ipv6.patch

bd78b8
--- vsftpd-2.3.4/vsftpd.conf~	2011-11-21 13:15:03.888357116 +0000
bd78b8
+++ vsftpd-2.3.4/vsftpd.conf	2011-11-21 13:17:43.676136602 +0000
bd78b8
@@ -108,12 +108,16 @@ xferlog_std_format=YES
bd78b8
 # When "listen" directive is enabled, vsftpd runs in standalone mode and
bd78b8
 # listens on IPv4 sockets. This directive cannot be used in conjunction
bd78b8
 # with the listen_ipv6 directive.
bd78b8
-listen=YES
bd78b8
+listen=NO
bd78b8
 #
bd78b8
-# This directive enables listening on IPv6 sockets. To listen on IPv4 and IPv6
bd78b8
-# sockets, you must run two copies of vsftpd with two configuration files.
bd78b8
+# This directive enables listening on IPv6 sockets. By default, listening
bd78b8
+# on the IPv6 "any" address (::) will accept connections from both IPv6
bd78b8
+# and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6
bd78b8
+# sockets. If you want that (perhaps because you want to listen on specific
bd78b8
+# addresses) then you must run two copies of vsftpd with two configuration
bd78b8
+# files.
bd78b8
 # Make sure, that one of the listen options is commented !!
bd78b8
-#listen_ipv6=YES
bd78b8
+listen_ipv6=YES
bd78b8
 
bd78b8
 pam_service_name=vsftpd
bd78b8
 userlist_enable=YES
bd78b8
--- vsftpd-2.3.4/vsftpd.conf.5~	2011-11-21 13:15:03.905357305 +0000
bd78b8
+++ vsftpd-2.3.4/vsftpd.conf.5	2011-11-21 13:18:31.771672385 +0000
bd78b8
@@ -281,8 +281,9 @@ Default: NO
bd78b8
 .TP
bd78b8
 .B listen_ipv6
bd78b8
 Like the listen parameter, except vsftpd will listen on an IPv6 socket instead
bd78b8
-of an IPv4 one. This parameter and the listen parameter are mutually
bd78b8
-exclusive.
bd78b8
+of an IPv4 one. Note that a socket listening on the IPv6 "any" address (::)
bd78b8
+will accept both IPv6 and IPv4 connections by default. This parameter and the
bd78b8
+listen parameter are mutually exclusive.
bd78b8
 
bd78b8
 Default: NO
bd78b8
 .TP