summaryrefslogtreecommitdiff
path: root/libexec/ftpd/ftpd.c
AgeCommit message (Expand)Author
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
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
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-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-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
2004-12-06seperate reply_r, like earlier change but safer; moritz okTheo de Raadt
2004-12-04reply() used to play a lot with stdout, expecially fflush(stdout).Theo de Raadt
2004-12-03make reply() reentrant. fixes a signal race.Moritz Jodeit
2004-11-28logging fixes:Henning Brauer
2004-11-28bump versionHenning Brauer
2004-11-28fix ttyline setting, fixes proctitle.Henning Brauer
2004-11-28privilege seperate ftpdHenning Brauer
2004-11-22More sensible error when both the -n and -A flags are used. Text OK jmc@Todd C. Miller
2004-09-30cope nicer with accept() failures, from freebsd; millert okTheo de Raadt
2003-12-12knfTheo de Raadt
2003-12-10spacingTheo de Raadt
2003-12-09knfTheo de Raadt
2003-12-09fix PR 3596 by making root create the socket, ok millert@Bob Beck
2003-11-20ftpd.8:Jason McIntyre
2003-11-12Don't hold on to the bind() while we loop around waiting to see if we canTodd C. Miller
2003-10-01listen to bodh IPv4/v6 ftp port on -D by default. deraadt ok.Jun-ichiro itojun Hagino
2003-09-30usage():Jason McIntyre
2003-07-29spacesTheo de Raadt
2003-07-07make this match protos; millert okTheo de Raadt
2003-06-11ansi cleanup; ok ian markusTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-10Replace strcpy() w/ strlcpy() from espie@Todd C. Miller
2003-02-17reply() -> perror_reply().Mike Pechkin
2002-11-25Change a setuid() that should be seteuid(), not iced by grange@Todd C. Miller
2002-11-15o Once a user is logged in, don't allow a change to another user.Todd C. Miller
2002-10-13Avoid potential printf format string problem with challenge fromTodd C. Miller
2002-08-29remove extra arg; jmegq@post.harvard.eduTheo de Raadt
2002-08-20-n: disallow anon ftp even if ftp account existsTheo de Raadt
2002-07-24Also check for snprintf() returning < 0Todd C. Miller
2002-07-24What on earth possessed me to use %p instead of %m in syslog() toTodd C. Miller
2002-07-20Exit on setusercontext() failure; noticed by deraadt@Todd C. Miller
2002-07-14make ftpd always listen to a high tcp port for passive data connections.Jakob Schlyter