summaryrefslogtreecommitdiff
path: root/libexec/ftpd/ftpd.c
AgeCommit message (Expand)Author
2001-02-03Long usernames; also some simple strncpy->strlcpy.Paul Janzen
2001-01-19mark remaining signal racesTheo de Raadt
2001-01-09make sure replydirname() do not truncate names, even if the filenameJun-ichiro itojun Hagino
2001-01-09make sure we do not return stray " at the end of stirng, like bla"\0.Jun-ichiro itojun Hagino
2001-01-07Make the -P option effective (rjmooney@mediaone.net)Angelos D. Keromytis
2001-01-06Expand tilde (~) in ftp-dir login.conf variable. Closes PR 1382Todd C. Miller
2000-12-30Log the actual bytes transfered, rather than the original file size.Angelos D. Keromytis
2000-12-04in replydirname(), avoid one-byte overrun.Jun-ichiro itojun Hagino
2000-12-02The man page says the default umask is 027 but it is really 022 sinceTodd C. Miller
2000-11-26setusercontext should not set umask as this interferes with theTodd C. Miller
2000-11-23typo in LPSV printing. From: Hiroyuki YAMAMORI <h-yamamo@db3.so-net.ne.jp>Jun-ichiro itojun Hagino
2000-11-14cleanup EPSV/EPRT error handling. avoid possible memory leak (getaddrinfo).Jun-ichiro itojun Hagino
2000-09-15check return value for setenv(3) for failure, and deal appropriatelyTheo de Raadt
2000-08-20Add calls to setusercontext() and login_get*(). We basically callTodd C. Miller
2000-07-05crank version to 6.5Theo de Raadt
2000-07-05another setproctitleTheo de Raadt
2000-07-05always setproctitle with %s if using a variableTheo de Raadt
2000-06-17pr 772; -u blocks chmod command, michaels@inet.noTheo de Raadt
2000-06-14correct STAT command output for LPSV output.Jun-ichiro itojun Hagino
2000-06-12address PR 1274 (-h does not work on EPSV).Jun-ichiro itojun Hagino
2000-04-29strerrorTheo de Raadt
2000-04-11do not lose descriptors; Takahiro KambeTheo de Raadt
2000-03-03Turns out that our implementation of STAT wasn't RFC 959 compliant.bitblt
2000-01-18Fix a pasto in the last commit. The genesis of this bug is actuallyTodd C. Miller
2000-01-18"pwd" should print an error, not garbage, if getcwd() fails; form@vell.nsc.ruTodd C. Miller
2000-01-14call dologout() with 1. not -1Eric Jackson
1999-12-10using u_char * is a lot more convenient than doing & 0xff 80+ timesTheo de Raadt
1999-12-09close passive mode data socket.Jun-ichiro itojun Hagino
1999-12-08IPv6 support from KAME.Jun-ichiro itojun Hagino
1999-12-03Write pid to /var/run/ftpd.pid if running in daemon mode.Todd C. Miller
1999-12-02Fix thinko on my part, we want to avoid setting mode to "r+" forTodd C. Miller
1999-12-01Move initialization of ttyline to be after the fork() so that whenTodd C. Miller
1999-11-29When restarting a STOR, open with "r+", not "w" so we don't truncate.Todd C. Miller
1999-11-14warning about getpeername() failing is uselessTheo de Raadt
1999-09-22correct oob handling for STAT command; ian@plutotech.comTheo de Raadt
1999-07-21bad umask is an error, syslog; pointed out by form@Theo de Raadt
1999-07-20do not proceed if incorrect args are found; found by formTheo de Raadt
1999-04-29Work around the blocking read() that causes so many hung ftpd processes.Jason Downs
1999-02-26implement internal lsArtur Grabowski
1998-12-30indentTheo de Raadt
1998-12-29use getcwd()Theo de Raadt
1998-11-18check for out-of-range umask bits from strtol()Theo de Raadt
1998-07-23add replydirname() from netbsd; fixes 257 directory replies; problem noted by...Theo de Raadt
1998-07-13ftpd: sleep for an indeterminate amount for non-existant loginsTodd C. Miller
1998-06-08allow ftpchroot-ed users to also be multihomedMichael Shalayeff
1998-06-03use SIG_ERRTheo de Raadt
1997-12-12default to violating the RFC wrt the PORT command. Use -P to conform to theTheo de Raadt
1997-08-06Errno save/restore.Angelos D. Keromytis
1997-08-04save errno in sigchld handlersTheo de Raadt
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff