#
bcbc1fcf |
| 17-Apr-2022 |
andvar <andvar@NetBSD.org> |
fix various typos in comments.
|
#
76299245 |
| 15-Oct-2019 |
christos <christos@NetBSD.org> |
bump sizes
|
#
c2cac506 |
| 23-Jun-2018 |
gson <gson@NetBSD.org> |
No semicolon after macro do ... while (0) wrapper.
|
#
746f4467 |
| 21-Mar-2013 |
lukem <lukem@NetBSD.org> |
Convert from __attribute__(foo) to the __foo equiv in <sys/cdefs.h>
|
#
d2005576 |
| 29-Aug-2011 |
joerg <joerg@NetBSD.org> |
Use __dead
|
#
7027866a |
| 13-Jul-2009 |
roy <roy@NetBSD.org> |
Rename internal getline() function to get_line() so it does conflict with the soon to be added getline(3) libc function.
|
#
0053962f |
| 15-Mar-2009 |
lukem <lukem@NetBSD.org> |
Fix WARNS=4 issues (const & sign mismatches, etc) Ensure various ftpd.conf values can't exceed their underlying types.
|
#
313780f7 |
| 08-Jan-2009 |
christos <christos@NetBSD.org> |
PR/40339: Ed Ravin: make ftpd log both the hostname and numeric address.
|
#
2332514a |
| 13-Sep-2008 |
lukem <lukem@NetBSD.org> |
Don't split large commands into multiple commands; just fail on them. This prevents CSRF-like attacks, when a web browser is used to access an ftp server. Reported by Maksymilian Arciemowicz <cxib@se
Don't split large commands into multiple commands; just fail on them. This prevents CSRF-like attacks, when a web browser is used to access an ftp server. Reported by Maksymilian Arciemowicz <cxib@securityreason.com>. Fix mostly derived from OpenBSD, written by Moritz Jodeit <moritz@OpenBSD.org>
show more ...
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
0def0e3a |
| 22-Jul-2007 |
lukem <lukem@NetBSD.org> |
Rename HAVE_SOCKADDR_SA_LEN to HAVE_STRUCT_SOCKADDR_SA_LEN. Use defined(HAVE_foo) instead of just testing HAVE_foo.
|
#
1edbda9a |
| 01-Feb-2006 |
christos <christos@NetBSD.org> |
debug -> ftpd_debug xstrdup -> ftpd_strdup
|
#
818f7caa |
| 24-Aug-2005 |
ginsbach <ginsbach@NetBSD.org> |
* Add recvbufsize configuration option This allows for setting the passive socket's SO_RCVBUF. Option works similarly to the current sendbufsize configuration option. * Change how recveive_data(
* Add recvbufsize configuration option This allows for setting the passive socket's SO_RCVBUF. Option works similarly to the current sendbufsize configuration option. * Change how recveive_data() works When reading data from the socket for passive transfers to the server, receive_data() now works very similar to send_data_with_read(). Reads from the network are now done using either the filesystem block size or the configuration option readsize chunks. * Crank version.h [Changes discussed with lukem.]
show more ...
|
#
ea7965eb |
| 23-Jun-2005 |
christos <christos@NetBSD.org> |
cleanup utmp and utmpx support. - make them symmetric - add a function to open the wtmp file explicitly very early in the game
|
#
f0b52873 |
| 03-Mar-2005 |
ginsbach <ginsbach@NetBSD.org> |
* Add hidesymlinks configuration option This adds a -L to all ls command arguments so that the file or directory the link references is listed rather than the link itself. This was inspired by
* Add hidesymlinks configuration option This adds a -L to all ls command arguments so that the file or directory the link references is listed rather than the link itself. This was inspired by IRIX ftpd's -S option. [Discussed with lukem some time ago.] * Crank version.h [right Luke? :-)]
show more ...
|
#
3b40bfae |
| 11-Nov-2004 |
christos <christos@NetBSD.org> |
Don't write trash in ut_ss; either initialize it to 0, or put in the proper information.
|
#
635a3757 |
| 09-Aug-2004 |
lukem <lukem@NetBSD.org> |
Fixes from (or inspired by) OpenBSD: * Fix yacc parser error recovery so that setjmp(3)/longjmp(3) is unnecessary. * Fix SIGURG handler to set an urgflag that's later tested, rather than abusing se
Fixes from (or inspired by) OpenBSD: * Fix yacc parser error recovery so that setjmp(3)/longjmp(3) is unnecessary. * Fix SIGURG handler to set an urgflag that's later tested, rather than abusing setjmp(3)/longjmp(3). * Use "volatile sig_atomic_t" as the type of variables modified by sig handlers. * Use sigaction(3) instead of signal(3) to set the signal handlers. * Only set the main SIGALRM handler once. If we need to change it, cache the old handler and restore appropriately... * Remove a bunch of signal races by improving the signal handlers. * Fix memory leak with 'ESPV ALL'.
My stuff: * Clean up the debug message in reply(); use vsnprintf(3) instead of vsyslog(3). * Rework parsing of OOB commands to _not_ use the yacc parser, since the latter isn't reentrant and the hacks to work around that are ugly. We now examine urgflag at appropriate locations and call handleoobcmd() if it's set. Since the only OOB commands we currently implement are ABOR and STAT, this isn't an issue. (I also can't find the reference in RFC2228 where MIC, CONF & ENC are OOB-only commands. Go figure.) I could clean up the is_oob stuff some more, but the remaining stuff in ftpcmd.y is harmless and it's unnecessary churn right this moment.
show more ...
|
#
8e6ab883 |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22284, verified by myself.
|
#
3bab95ce |
| 30-Jun-2003 |
tacha <tacha@NetBSD.org> |
Add ftpd_loginx() and ftpd_logwtmpx() and use them to hold wtmpx file open while a session.
Close bin/21692 by bqt@Krille.Update.UU.SE.
|
#
55803244 |
| 23-Feb-2003 |
lukem <lukem@NetBSD.org> |
rename local copies of login(), logout() and logwtmp() to ftpd_login(), ftpd_logout() and ftpd_logwtmp() respectively. (makes utmp support much easier in tnftpd).
per suggestion in mail from Mike He
rename local copies of login(), logout() and logwtmp() to ftpd_login(), ftpd_logout() and ftpd_logwtmp() respectively. (makes utmp support much easier in tnftpd).
per suggestion in mail from Mike Heffner <mheffner@vt.edu>, who forwarded patch from Michael Ranner <mranner@inode.at>.
show more ...
|
#
0f3ffeff |
| 19-Feb-2003 |
matt <matt@NetBSD.org> |
gidlist is nolonger an array.
|
#
ee2d1afb |
| 29-Nov-2002 |
lukem <lukem@NetBSD.org> |
- convert to using libc's strsuftoll(3) - use LLT (aka 'long long type') for all numeric class parameters - improve description of various ftpd.conf(5) options - statcmd(): print out: mmapsize reads
- convert to using libc's strsuftoll(3) - use LLT (aka 'long long type') for all numeric class parameters - improve description of various ftpd.conf(5) options - statcmd(): print out: mmapsize readsize writesize sendbufsize sendlowat
show more ...
|
#
260e9f55 |
| 30-May-2002 |
enami <enami@NetBSD.org> |
Add optional mmap(2)/write(2) support for binary file transfer. The default is read(2)/write(2). Note that the sosend_loan needs some more work for better performance when a file isn't cached.
|
#
c31e16f7 |
| 04-Dec-2001 |
lukem <lukem@NetBSD.org> |
Add two new ftpd.conf(5) directives: - 'denyquick'; deny a connection so tagged by ftpusers(5) after the USER command instead of the PASS command. whilst this might provide some info leakage of a
Add two new ftpd.conf(5) directives: - 'denyquick'; deny a connection so tagged by ftpusers(5) after the USER command instead of the PASS command. whilst this might provide some info leakage of accounts names if you have some `real' or `chroot' users enabled and not others, it does prevent accidental entering of such passwords if you have all such users denied. This option is strongly recommended on anonymous-only servers. Functionality requested by Rob Windsor in [bin/12602] - 'private'; don't display class related information in the output of STAT. For paranoid admins.
show more ...
|
#
676535c7 |
| 13-Jul-2001 |
lukem <lukem@NetBSD.org> |
use __NetBSD__ instead of BSD4_4 to determine if we should automatically define HAVE_SETPROCTITLE and HAVE_SOCKADDR_SA_LEN, because certain operating systems from a vendor which claims to be the bigg
use __NetBSD__ instead of BSD4_4 to determine if we should automatically define HAVE_SETPROCTITLE and HAVE_SOCKADDR_SA_LEN, because certain operating systems from a vendor which claims to be the biggest unix vendor as of two months ago #define BSD4_4 and THEN REMOVE BITS OF THE 4.4BSD API!
anyway, this won't affect other systems which use lukemftpd (e.g, other 4.4BSD derived systems), because autoconf will set HAVE_SETPROCTITLE as appropriate. the point of this little code fragment is to remove the need to have -DHAVE_SETPROCTITLE ... in our libexec/ftpd/Makefile
</rant>
show more ...
|