summaryrefslogtreecommitdiff
path: root/libexec/ftpd
AgeCommit message (Collapse)Author
2001-12-07kill more registers;Mike Pechkin
millert@ ok
2001-12-04Kill setjmp/longjmpTodd C. Miller
o fix error recovery in the parser so there is no longer a need for jmping o make SIGURG handler interupt syscalls and just set a flag that we test for later. Use waitpid() not wait3() for portability. Restart waitpid() loop if another signal interrupts us. Calling dologout() from signal handlers is safe because it doesn't use stdio, nor do the two functions it calls (logout and ftpdlogwtmp).
2001-12-01Use pidfile() instead of doing the equivalent thing by hand, and sometimesMiod Vallat
forgetting to unlink the pid file at exit. ok millert@ deraadt@
2001-11-22since 3.0 ftpd allow users w/o password. Spotted by form@.Mike Pechkin
millert@ ok
2001-11-17volatile sig_atomic_tTheo de Raadt
2001-11-13o) fix bogus .Xr usage;Mike Pechkin
o) start new sentence on a new line; o) don't use .Xr instead of .Pa tag; o) minimal -mdoc design fixes; millert@ ok;
2001-11-05more signal marks, and some syslog_r in handlersTheo de Raadt
2001-10-10ftp-chroot variable is documented in this man page, not login.conf(5)Todd C. Miller
2001-10-02as is aleady closed and freed by auth_userresponse, ok millert@Peter Stromberg
2001-09-05make sure that va_start() has matching va_end()Theo de Raadt
2001-08-22missing spaceBob Beck
2001-08-22See also ftp-proxyBob Beck
2001-08-20Powered by @mantoya.Mike Pechkin
o) we don't like .Nd without argument, except next line starts with a new tag; millert@ ok
2001-07-08-WallTheo de Raadt
2001-07-03Use the 'welcome' variable from login.conf instead of hard-codingTodd C. Miller
/etc/motd.
2001-06-28Clariry, brevity and grammarTodd C. Miller
2001-06-25millert didn't compile this.Hans Insulander
2001-06-25Set "login" and "notickets" BSD auth options. We don't need to getTodd C. Miller
a kerb ticket but we do need AFS tokens.
2001-06-13more va_start/end fixes, ok deraadt@Markus Friedl
2001-06-11strncpy vs strlcpy, some strlen missuse.Michael Shalayeff
some other related minor cleanups, and spaces. millert@ ok
2001-05-29use BSD authenticationTodd C. Miller
2001-05-11mmap returns MAP_FAILED on error, not 0.Artur Grabowski
2001-04-24compatility -> compatibility; mpech@prosoft.org.lvAaron Campbell
2001-03-18use GLOB_LIMITTheo de Raadt
2001-03-09Block all signals in lostconn() and sigprocmask() since we are headedTodd C. Miller
for _exit(). Fixes a signal handler race condition.
2001-03-09do not strerror() a signoTheo de Raadt
2001-02-04Whoops, don't use strlcpy with utmp; millert@Paul Janzen
2001-02-03Long usernames; also some simple strncpy->strlcpy.Paul Janzen
2001-01-28$OpenBSD$Niklas Hallqvist
2001-01-24proto ls_main()Theo de Raadt
2001-01-19mark remaining signal racesTheo de Raadt
2001-01-09make sure replydirname() do not truncate names, even if the filenameJun-ichiro itojun Hagino
is MAXPATHLEN doublequotes. From: Paul Janzen <pjanzen@foatdi.harvard.edu>
2001-01-09make sure we do not return stray " at the end of stirng, like bla"\0.Jun-ichiro itojun Hagino
From: "William C. Allen" <allenwc@home.com>
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-24Xr shells(5), not getusershell(3).Aaron Campbell
2000-12-04in replydirname(), avoid one-byte overrun.Jun-ichiro itojun Hagino
From: Kristian Vlaardingerbroek <kris@obit.nl>
2000-12-02The man page says the default umask is 027 but it is really 022 sinceTodd C. Miller
that is the value of CMASK. Have setusercontext() set the umask unless the -u flag was specified. This allows the admin to set the umask either via -u or via a login class in login.conf.
2000-11-26setusercontext should not set umask as this interferes with theTodd C. Miller
umask specified for ftpd on the command line. Closed PR #1530
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
correct error code on unsupported protocol parameter against EPRT (522).
2000-11-13combine check_epsvall + check_login into check_login_epsvall.Jun-ichiro itojun Hagino
we cnanot split check_login and check_epsvall. if we do that, we end up generating two results against single comand.
2000-11-13make sure to check_login on EPSV/LPSV. move epvsall check into check_epsvall.Jun-ichiro itojun Hagino
2000-09-15check return value for setenv(3) for failure, and deal appropriatelyTheo de Raadt
2000-09-08Some miscellaneous man page repairs.Aaron Campbell
2000-09-03Boring... Add :L modifier to all tweakable variables tests.Marc Espie
Closes PR 1246
2000-08-20Add calls to setusercontext() and login_get*(). We basically callTodd C. Miller
setusercontext() in most places where previously we did a setlogin(). Add default login.conf file and put root in the "daemon" login class.
2000-08-17document -4 and -6 optionsBrad Smith
2000-08-13Remove documentation for non-existent -p option; a7r@andern.orgTodd C. Miller