summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd
AgeCommit message (Expand)AuthorFilesLines
2013-11-12repair the last prototype by bringing in monitor.hderaadt1-1/+2
2013-08-22Correct format string mismatches turned up by -Wformat=2guenther1-3/+3
2013-07-26Make sure tmpline[] is always NUL terminated, to avoid possibleguenther1-2/+2
2012-12-04remove some unnecessary sys/param.h inclusionsderaadt1-2/+1
2012-09-27last stage of rfc changes, using consistent Rs/Re blocks, and moving thejmc1-6/+11
2012-08-04MDTM and SIZE have been in RFC 3659 for over five years. Also, mention bothpascal1-4/+13
2012-04-04Return an error much earlier if recvmsg failsderaadt1-2/+4
2012-03-04In preparation for getline and getdelim additions to libc, rename getline()fgsch3-8/+8
2011-12-15s,/var/run/wtmp,/var/log/wtmp and add it to FILES.ajacoutot1-3/+5
2011-12-14Add a new '-W' option to prevent saving login records to /var/run/wtmp.ajacoutot2-9/+33
2011-02-09Set SO_KEEPALIVE on sockets. OK miod@. Also tested by landry@millert1-3/+18
2010-08-30Add missing network service name from /var/log/ftpd entries.lum1-2/+4
2010-08-27In revision 1.14 of ftpd.c the ident variable was removed from its only meaningful usage when a snprintf call was removed, rendering ident useless. Time to remove remaining code.lum1-9/+1
2010-08-01Properly reset states when a login phase is interrupted by another one.tobias1-1/+2
2010-07-30Don't set "success" flags before error checks.ray1-7/+9
2010-06-18Prevent a segmentation fault on ftpd_popen error (memory, file descriptor,tobias1-1/+5
2010-06-13Adjust FTP reply codes (in error conditions) to conform to RFC 959.tobias1-4/+4
2010-03-08Check that gl_pathc is bigger than zero before derefencing gl_pathv. Whilekettenis1-2/+3
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt4-46/+4
2009-06-04...and now try again with a commit from the right tree. doh!sthen1-7/+8
2009-06-04ftp uses its own ugly "sockunion" to hold addresses, but with CMD_BINDsthen1-3/+3
2009-04-20When receiving a new connection, log the remote IP numberschwarze1-4/+9
2008-09-30Always say "User %s access denied", in all cases, to avoid some stupidderaadt1-6/+3
2008-09-13Fix minor bug in the previous commit, which could hang themoritz1-5/+6
2008-09-12Don't split large commands into multiple commands on a 512-bytemoritz3-13/+33
2008-06-30Include file order must be "monitor.h" before "extern.h" otherwise enumragge6-13/+19
2008-04-13Use arc4random_buf() when requesting more than a single word of outputdjm1-3/+3
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forderaadt1-3/+3
2008-03-15Repair the simple cases for msg_controllen where it should just bederaadt1-3/+3
2008-03-13Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due toderaadt1-7/+13
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt1-4/+4
2007-07-31From Gilles Chehade:ray1-25/+32
2007-07-27Fix potential memory leak, when snprintf(3) returns an empty buffer.moritz1-3/+3
2007-06-21Adjust spacing, combine malloc + strlcpy + strlcat into a singleray1-9/+5
2007-06-19Make sure perror_reply() is only called when errno is set. Whenray1-19/+22
2007-05-31convert to new .Dd format;jmc1-2/+2
2007-04-05Remove lint comment, which does not apply anymore.moritz1-2/+1
2007-03-26Do not log when the slave gets killed because of read()moritz1-3/+5
2007-03-22Do not advertise version in the ftp banner, because there is no reason to.cloder1-8/+5
2007-03-01- use proper log facility and priority in the slave sig handlersotto3-16/+21
2006-12-21'tranfer' -> 'transfer' in comments.krw1-3/+3
2006-10-18Avoid double fclose() of a file if we exceed retries. Coverity ID 2669.millert1-4/+5
2006-10-18you do not call fclose() on a file descriptor; ok cloderderaadt1-3/+3
2006-04-21lint cleanup; ok ray moritz dhillderaadt4-109/+88
2006-04-02malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaksdjm1-4/+3
2006-03-14Allow anonymous logins without a password, which was brokenmoritz1-5/+7
2006-01-20fix integer overflows. ok millert@moritz1-5/+8
2005-12-03remove shadowing variables; ok pvalderaadt1-11/+5
2005-12-01fix double var declarations in same scope, found by lint; ok deraadt cloderpvalchev1-4/+4
2005-09-09uppercase `FTP' when talking about the protocol rather than thejmc1-16/+14