summaryrefslogtreecommitdiff
path: root/libexec/ftpd
AgeCommit message (Expand)Author
2011-02-09Set SO_KEEPALIVE on sockets. OK miod@. Also tested by landry@Todd C. Miller
2010-08-30Add missing network service name from /var/log/ftpd entries.lum
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
2010-03-08Check that gl_pathc is bigger than zero before derefencing gl_pathv. WhileMark Kettenis
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-06-04...and now try again with a commit from the right tree. doh!Stuart Henderson
2009-06-04ftp uses its own ugly "sockunion" to hold addresses, but with CMD_BINDStuart Henderson
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-13Fix minor bug in the previous commit, which could hang theMoritz Jodeit
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
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forTheo de Raadt
2008-03-15Repair the simple cases for msg_controllen where it should just beTheo de Raadt
2008-03-13Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due toTheo de Raadt
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-05-31convert to new .Dd format;Jason McIntyre
2007-04-05Remove lint comment, which does not apply anymore.Moritz Jodeit
2007-03-26Do not log when the slave gets killed because of read()Moritz Jodeit
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
2006-10-18Avoid double fclose() of a file if we exceed retries. Coverity ID 2669.Todd C. Miller
2006-10-18you do not call fclose() on a file descriptor; ok cloderTheo de Raadt
2006-04-21lint cleanup; ok ray moritz dhillTheo de Raadt
2006-04-02malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaksDamien Miller
2006-03-14Allow anonymous logins without a password, which was brokenMoritz Jodeit
2006-01-20fix integer overflows. ok millert@Moritz Jodeit
2005-12-03remove shadowing variables; ok pvalTheo de Raadt
2005-12-01fix double var declarations in same scope, found by lint; ok deraadt cloderPeter Valchev
2005-09-09uppercase `FTP' when talking about the protocol rather than theJason McIntyre
2005-08-22EOF in ascii mode may also mean EOF so avoid printing a bogus error and behav...Michael Shalayeff
2005-07-14let root create the data socket. fixes PR 4287.Moritz Jodeit
2005-06-15remove y.tab.c on make clean tooMichael Shalayeff
2005-05-27include sys/time.h to get struct timevalTodd C. Miller
2005-05-24readd endpwent()Moritz Jodeit
2005-05-24no need for endpwent()Moritz Jodeit
2005-04-21make code prettier so we can tell it is safe when we read it; ok beck cloderTheo de Raadt
2005-03-15better handling of cases where getnameinfo() returns non-zero.Niall O'Higgins
2005-02-26fix {send,recv}data so they don't add -1 to pos in theMoritz Jodeit
2004-12-22some -Wimplicit-function-declaration cleaning; ok millert@David Krause