Package: vsftpd
Followup-For: Bug #1121330
X-Debbugs-Cc: [email protected], [email protected]
User: [email protected]
Usertags: origin-ubuntu resolute ubuntu-patch
Control: tags -1 patch

Dear Maintainer,

I prepared a patch to fix the documentation of the default values for
max_clients and max_per_ip in the vsftpd.conf(5) manpage.

Debdiff is attached, and I'll likely get this uploaded as an NMU via DELAYED/15

Cheers,
  Lukas
diff -Nru vsftpd-3.0.5/debian/patches/0078-manpage-defaults.patch 
vsftpd-3.0.5/debian/patches/0078-manpage-defaults.patch
--- vsftpd-3.0.5/debian/patches/0078-manpage-defaults.patch     1970-01-01 
01:00:00.000000000 +0100
+++ vsftpd-3.0.5/debian/patches/0078-manpage-defaults.patch     2025-11-24 
14:49:57.000000000 +0100
@@ -0,0 +1,29 @@
+Description: Fix defaults values for max_clients and max_per_ip
+ Update "max_clients" and "max_per_ip" defaults in vsftpd.conf(5) according
+ to reality (and v2.1.2 Changelog).
+Author: Lukas Märdian <[email protected]>
+Bug-Debian: https://bugs.debian.org/1121330
+Origin: vendor, Debian
+Forwarded: mail to Chris Evans <scarybeasts AT gmail DOT com>
+Last-Update: 2025-11-24
+---
+--- vsftpd-3.0.5.orig/vsftpd.conf.5
++++ vsftpd-3.0.5/vsftpd.conf.5
+@@ -741,7 +741,7 @@ Default: 077
+ If vsftpd is in standalone mode, this is the maximum number of clients which
+ may be connected. Any additional clients connecting will get an error message.
+ 
+-Default: 0 (unlimited)
++Default: 2000
+ .TP
+ .B max_login_fails
+ After this many login failures, the session is killed.
+@@ -753,7 +753,7 @@ If vsftpd is in standalone mode, this is
+ may be connected from the same source internet address. A client will get an
+ error message if they go over this limit.
+ 
+-Default: 0 (unlimited)
++Default: 50
+ .TP
+ .B pasv_max_port
+ The maximum port to allocate for PASV style data connections. Can be used to
diff -Nru vsftpd-3.0.5/debian/patches/series vsftpd-3.0.5/debian/patches/series
--- vsftpd-3.0.5/debian/patches/series  2025-09-05 00:05:58.000000000 +0200
+++ vsftpd-3.0.5/debian/patches/series  2025-11-24 14:49:57.000000000 +0100
@@ -28,3 +28,4 @@
 0076-fix-no-pam-ftbfs.patch
 0077-fix-typo.patch
 ssl.c-correct-setup_bio_callbacks-signat.patch
+0078-manpage-defaults.patch

Reply via email to