summaryrefslogtreecommitdiff
path: root/libexec/ftpd/ftpd.c
AgeCommit message (Expand)Author
2006-05-09change (mostly) int to socklen_t. GCC 4 doesn't like that int andmrg
2006-03-17Remove unreachable code (res could never be NULL here).peter
2006-03-17Set file to NULL after calling fclose().peter
2006-03-17Make sure that "su" is initialized before dereferencing it.peter
2006-02-25Fix some typos.wiz
2006-02-01debug -> ftpd_debugchristos
2005-11-24NLST should return 450 instead of 550 upon error, per RFC 959.lukem
2005-10-03logxfer(): don't use the same buffer to store the results of two separatelukem
2005-08-24* Add recvbufsize configuration optionginsbach
2005-08-04Implement option "-D", for running ftpd in standalone mode (daemon).peter
2005-06-23cleanup utmp and utmpx support.christos
2005-04-10s/getpwnam/sgetpwnam/ Found by John Nemeth.christos
2005-02-20Add PAM and LOGIN_CAP support. Mostly from FreeBSD. If pam is defined,christos
2004-12-11change _PATH_FOO to _NAME_FOO where FOO is not a path. I'll discuss withchristos
2004-12-09Fix inverted test for expired passwords. Mea culpa.ginsbach
2004-11-19* Don't allow accounts with age expired passwords to login. Any accountginsbach
2004-11-11Don't write trash in ut_ss; either initialize it to 0, or put in the properchristos
2004-11-05Add (unsigned char) cast to ctype functionsdsl
2004-08-09Fixes from (or inspired by) OpenBSD:lukem
2003-12-10Use sysconf(_SC_LOGIN_NAME_MAX) to determine the length of loginlukem
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-06-30Add ftpd_loginx() and ftpd_logwtmpx() and use them to hold wtmpx filetacha
2003-02-26Add '-L xferlogfile', to write xferlog entries there rather than syslog them.lukem
2003-02-24Fix uninitialized variable "notglob" in send_file_list() that was causingerh
2003-02-23rename local copies of login(), logout() and logwtmp() tolukem
2003-02-19Stop ftpd changing inetd's 'logname'dsl
2003-01-22Apply DoS fix as described by Crist J. Clark <crist.clark@attbi.com>lukem
2003-01-22Fixes from Dmitry Sivachenko <demon@freebsd.org>:lukem
2002-12-06Avoid conflict with reserved identifier "log".thorpej
2002-11-29- convert to using libc's strsuftoll(3)lukem
2002-11-16audit use of strto* - beware of ERANGE, as well as typecast on result.itojun
2002-10-07Change arguments of login_utmp(line, name, host) (to be consistentlukem
2002-09-13revert previous. wtmp{,x} entries need not be \0-terminated, soitojun
2002-09-12use strl*, not strn*.itojun
2002-09-12Use LOGIN_NAME_MAX instead of `10' for the size of the curname[] buffer.lukem
2002-08-20Disable UTMPX support for now, because ftpd might chroot and we needchristos
2002-08-20utmpx supportchristos
2002-05-30Add optional mmap(2)/write(2) support for binary file transfer.enami
2002-02-11Don't log an xferlog-style entry if bytes == -1.lukem
2002-02-01fix previous, and ensure that closedataconn() is only called after dataconn()lukem
2002-01-21in closedataconn(), only close the passive data fd if the main datalukem
2001-12-12remove extraneous ": " from messagelukem
2001-12-06Fix skey password challenge. Problem reported in [bin/14848] by John F. Woods.lukem
2001-12-04Add two new ftpd.conf(5) directives:lukem
2001-12-01- enable case insensitive fnmatch(3)ing for hostname globs in ftpusers(5)lukem
2001-11-27- Don't try and use the motd if it's empty.lukem
2001-09-24va_{start,end} audit:wiz
2001-09-19a few changes from Mike Heffner <mheffner@vt.edu> in private email:lukem
2001-07-08Alan Barrett informs me that "advertise" (instead of "advertize") islukem
2001-06-26s/tise/tize/ in docco, add "advertize" as synonym for "advertise"lukem