summaryrefslogtreecommitdiff
path: root/libexec/ftpd/ftpd.c
AgeCommit message (Expand)Author
2016-09-03Use a single "opt" variable for all setsockopt calls in getdatasock().Jeremie Courreges-Anglas
2016-09-03Set "lowdelay" and "throughput" Traffic Class on command & data IPv6 sockets.Jeremie Courreges-Anglas
2016-08-31Don't attempt to support IPv4-mapped IPv6 addresses.Jeremie Courreges-Anglas
2016-08-30remove ifdef for all the features we have.Ted Unangst
2016-08-26trim down some NBBY references. 8 bits ought to be enough for anyone.Ted Unangst
2016-08-14Convert %q to %ll with long long casts for printf()Philip Guenther
2016-07-04Use fstatat() instead of crafting a filename to use with stat()Philip Guenther
2016-05-04Kill #ifdef INET6 occurrences in userland.Jeremie Courreges-Anglas
2016-04-25prefer setres{u,g}id() rather than manipulating both real and effectiveTheo de Raadt
2016-04-06compare pointer to NULL instead of 0Sebastien Marie
2016-03-16More "(<blah> *)0" -> NULL, avoiding any stdarg functions.Kenneth R Westerback
2015-12-12Remove NULL-checks before free(). ok tb@mmcc
2015-11-16don't need to ifdef setproctitleTed Unangst
2015-10-25No longer create /var/run/ftpd.pid in daemon mode; OK jung@ jca@Todd C. Miller
2015-10-04fix custom popen to return pid to caller instead of tracking in a giantTed Unangst
2015-09-01test pointers with NULL not '\0'Jonathan Gray
2015-01-19CMASK went out of scope with the recent <sys/param.h> removal. But ohTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-08-25Delete secret or secret-derived data with explicit_bzero.Doug Hogan
2014-03-24remove tcpwrappers support. ok deraadtTed Unangst
2014-03-17args! fix argstr. from LEVAI Daniel.Stuart Henderson
2014-03-17typo, spotted by okan@Stuart Henderson
2014-03-17Add an option to disallow ftp access to accounts with uid below a certainStuart Henderson
2014-01-08If the file size is zero, there's nothing to transmit so avoid spammingJeremie Courreges-Anglas
2013-08-22Correct format string mismatches turned up by -Wformat=2Philip Guenther
2013-07-26Make sure tmpline[] is always NUL terminated, to avoid possiblePhilip Guenther
2012-12-04remove some unnecessary sys/param.h inclusionsTheo de Raadt
2012-03-04In preparation for getline and getdelim additions to libc, rename getline()Federico G. Schwindt
2011-12-14Add a new '-W' option to prevent saving login records to /var/run/wtmp.Antoine Jacoutot
2011-02-09Set SO_KEEPALIVE on sockets. OK miod@. Also tested by landry@Todd C. Miller
2010-08-27In revision 1.14 of ftpd.c the ident variable was removed from its only meani...lum
2010-08-01Properly reset states when a login phase is interrupted by another one.Tobias Stoeckmann
2010-07-30Don't set "success" flags before error checks.Ray Lai
2010-06-18Prevent a segmentation fault on ftpd_popen error (memory, file descriptor,Tobias Stoeckmann
2010-06-13Adjust FTP reply codes (in error conditions) to conform to RFC 959.Tobias Stoeckmann
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-04-20When receiving a new connection, log the remote IP numberIngo Schwarze
2008-09-30Always say "User %s access denied", in all cases, to avoid some stupidTheo de Raadt
2008-09-12Don't split large commands into multiple commands on a 512-byteMoritz Jodeit
2008-06-30Include file order must be "monitor.h" before "extern.h" otherwise enumAnders Magnusson
2008-04-13Use arc4random_buf() when requesting more than a single word of outputDamien Miller
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-07-31From Gilles Chehade:Ray Lai
2007-07-27Fix potential memory leak, when snprintf(3) returns an empty buffer.Moritz Jodeit
2007-06-21Adjust spacing, combine malloc + strlcpy + strlcat into a singleRay Lai
2007-06-19Make sure perror_reply() is only called when errno is set. WhenRay Lai
2007-03-22Do not advertise version in the ftp banner, because there is no reason to.Chad Loder
2007-03-01- use proper log facility and priority in the slave sig handlersOtto Moerbeek
2006-12-21'tranfer' -> 'transfer' in comments.Kenneth R Westerback