X-Git-Url: http://git.pld-linux.org/?p=packages%2Fftpd-BSD.git;a=blobdiff_plain;f=ftpd-BSD-anonuser.patch;h=e890fb763210ab06b739107154fc613f72e7f567;hp=9fcb20c0beb4efc3a7ee8426089a5e6d8ebd6611;hb=7f01ff6b8ad4967ea4fbd5be91a2ce2cb585104c;hpb=05c911490bc8a700c786d5cebcf4330c1f028e16 diff --git a/ftpd-BSD-anonuser.patch b/ftpd-BSD-anonuser.patch index 9fcb20c..e890fb7 100644 --- a/ftpd-BSD-anonuser.patch +++ b/ftpd-BSD-anonuser.patch @@ -1,3 +1,32 @@ +diff -bruN ftpd-BSD-0.3.2/ftpd/ftpd.8 ftpd-BSD-0.3.2.new/ftpd/ftpd.8 +--- ftpd-BSD-0.3.2/ftpd/ftpd.8 Thu Jul 6 18:24:17 2000 ++++ ftpd-BSD-0.3.2.new/ftpd/ftpd.8 Wed Aug 16 13:17:26 2000 +@@ -114,6 +114,10 @@ + and requires it use the same source address as the connection came from. + This prevents the "FTP bounce attack" against services on both the local + machine and other local machines. ++.It Fl q ++Prevent ++.Nm ftpd ++from displaying program name and version at the connection startup. + .It Fl S + With this option set, + .Nm ftpd +@@ -127,6 +131,14 @@ + .Pa /var/run/utmp , + making them visible to commands such as + .Xr who 1 . ++.It Fl z Ar username ++Use specified ++.Ar username ++as anonymous ++.Xr ftp 1 ++user, instead of default ++.Pa ftp ++. + .It Fl T Ar maxtimeout + A client may also request a different timeout period; + the maximum period allowed may be set to diff -bruN ftpd-BSD-0.3.2/ftpd/ftpd.c ftpd-BSD-0.3.2.new/ftpd/ftpd.c --- ftpd-BSD-0.3.2/ftpd/ftpd.c Fri Jul 7 05:06:04 2000 +++ ftpd-BSD-0.3.2.new/ftpd/ftpd.c Wed Aug 16 12:54:54 2000