Red Hat Bugzilla – Bug 22745
wu-ftpd hammers argv affecting syslog name
Last modified: 2007-04-18 12:30:19 EDT
wu-ftpd as shipped hammers argv which affects the name syslog uses to
log. for example:
Dec 20 10:40:28 twinlark ftpd: w221.z208176006.sjc-ca.dsl.cnc.net:
: lost connection to w221.z208176006.sjc-ca.dsl.cnc.net
everything after "twinlark" and before "", including the spaces is
the argv value... it's supposed to be the daemon name, such as "ftpd".
the patch to fix this is trivial. it's included below.
--- wu-ftpd-2.6.0/src/ftpd.c.noproctitle Fri Dec 22 07:14:25 2000
+++ wu-ftpd-2.6.0/src/ftpd.c Fri Dec 22 07:14:56 2000
@@ -6578,7 +6578,7 @@
#define SPACELEFT(buf, ptr) (sizeof buf - ((ptr) - buf))
-#define SPT_TYPE SPT_REUSEARGV
+#define SPT_TYPE SPT_NONE
#if SPT_TYPE != SPT_NONE && SPT_TYPE != SPT_BUILTIN
Duplicate of 17807.
Close this. Except for using SPT_NONE, there is nothing WU-FTPD can do to work
arround PAM's mistake.
*** This bug has been marked as a duplicate of 17807 ***