From 87f2d52ac49f8e54d25a6bfcada2747381dcda3c Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 Jul 2024 09:13:36 +0000 Subject: automatic import of vsftpd --- ...crease-VSFTP_AS_LIMIT-from-200UL-to-400UL.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 0016-Increase-VSFTP_AS_LIMIT-from-200UL-to-400UL.patch (limited to '0016-Increase-VSFTP_AS_LIMIT-from-200UL-to-400UL.patch') diff --git a/0016-Increase-VSFTP_AS_LIMIT-from-200UL-to-400UL.patch b/0016-Increase-VSFTP_AS_LIMIT-from-200UL-to-400UL.patch new file mode 100644 index 0000000..fae6b9c --- /dev/null +++ b/0016-Increase-VSFTP_AS_LIMIT-from-200UL-to-400UL.patch @@ -0,0 +1,27 @@ +From 048208a4db5d7164d89ba5d7545e281d0a3472d3 Mon Sep 17 00:00:00 2001 +From: Martin Sehnoutka +Date: Wed, 7 Sep 2016 15:35:59 +0200 +Subject: [PATCH 16/59] Increase VSFTP_AS_LIMIT from 200UL to 400UL. + +When using a PAM module to get users from LDAP or database the old +limit was insufficient. +--- + defs.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/defs.h b/defs.h +index ca11eac..bde3232 100644 +--- a/defs.h ++++ b/defs.h +@@ -19,7 +19,7 @@ + /* Must be at least the size of VSFTP_MAX_COMMAND_LINE, VSFTP_DIR_BUFSIZE and + VSFTP_DATA_BUFSIZE*2 */ + #define VSFTP_PRIVSOCK_MAXSTR VSFTP_DATA_BUFSIZE * 2 +-#define VSFTP_AS_LIMIT 200UL * 1024 * 1024 ++#define VSFTP_AS_LIMIT 400UL * 1024 * 1024 + + #endif /* VSF_DEFS_H */ + +-- +2.14.4 + -- cgit v1.2.3