summaryrefslogtreecommitdiff
path: root/libexec/ftpd
AgeCommit message (Collapse)Author
2004-11-29fix nasty signal races by blocking signals in signal handlers.Henning Brauer
with moritz jodeit and theo, ok theo
2004-11-28logging fixes:Henning Brauer
-don't prefix ftpd: in syslog(), it does that for us -replace a bad (too late) err() by syslog + exit from moritz
2004-11-28use gettimeofday() instead of time() in functions called from signal ↵Theo de Raadt
handlers; henning ok
2004-11-28slave_pid -1 by default, not 0, and reset to -1 when it goes away, with theoHenning Brauer
2004-11-28bump versionHenning Brauer
2004-11-28remove no longer appropriate bugs sectionHenning Brauer
2004-11-28fix ttyline setting, fixes proctitle.Henning Brauer
notice independently by theo and pval, fix from moritz jodeit
2004-11-28privilege seperate ftpdHenning Brauer
handle the pre-authentication phase (minus a tiny tiny tiny amount of code after accept()) in an unprivileged process, asking the privileged monitor for help where needed. work by Moritz Jodeit <moritz@jodeit.org> with help from theo and me tests theo ian@ matthieu@ ben@networkinsanity.com a.schlichting@lemarit.com
2004-11-22More sensible error when both the -n and -A flags are used. Text OK jmc@Todd C. Miller
2004-11-21clarify -A option;Jason McIntyre
from a discussion on misc@
2004-09-30cope nicer with accept() failures, from freebsd; millert okTheo de Raadt
2004-01-05include path fixes for gcc3.Marc Espie
tests otto@, okay millert@
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
- simpler macros - sort options - some updates ftpd.c: - sync usage()
2003-11-12Don't hold on to the bind() while we loop around waiting to see if we canTodd C. Miller
make our connection. Adapted from FreeBSD via danh@
2003-10-01listen to bodh IPv4/v6 ftp port on -D by default. deraadt ok.Jun-ichiro itojun Hagino
comments from markus, millert. tested by fries
2003-09-30usage():Jason McIntyre
- add missing -n (from Jeff Ito PR 3496) - remove deprecated -h - sort -T and -t to match man page
2003-09-04typo;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-04fix some more UCB term 3Theo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02- sort an Xr to selfJason McIntyre
- kill whitespace at EOL
2003-04-14built in -> built-in;Jason McIntyre
from NetBSD (Igor Sobrado); smrsh(8) passed on to sendmail people; ok millert@
2003-04-10Replace strcpy() w/ strlcpy() from espie@Todd C. Miller
Don't try to free pw_dir -- it is no longer allocated separately. Instead, add an extra param to sgetpwnam() to allow it to dupe an existing struct passwd * (instead of doing a lookup by username) and use this to reallocate pw in the case where pw_dir is the NULL string. deraadt@ OK
2003-02-17reply() -> perror_reply().Mike Pechkin
millert@ ok
2003-01-31typos;Jason McIntyre
eeprom(8): added .Ar to fields, removed references to sun3 sshd(8): help and ok markus@ help and ok millert@
2002-11-25Change a setuid() that should be seteuid(), not iced by grange@Todd C. Miller
Move a va_end so it gets called in an error condition as well
2002-11-15o Once a user is logged in, don't allow a change to another user.Todd C. Miller
o Run more code with the effective uid of the logged in user. From Frank Denis
2002-10-13Avoid potential printf format string problem with challenge fromTodd C. Miller
auth_challenge(). Currently, none of the auth modules put non-sanitized data in the prompt so there are no real security implications with this fix. Patch from Moritz Jodeit.
2002-08-29remove extra arg; jmegq@post.harvard.eduTheo de Raadt
2002-08-28o) start new sentence on a new line;Mike Pechkin
o) don't use .Nm w/o argument in .SYNOPSIS; I waste time, when fixing already cleaned pages. :( one man ok@
2002-08-20-n: disallow anon ftp even if ftp account existsTheo de Raadt
2002-07-28talk about auth-ftp, not auth-ftpd entry in login.conf; from ↵Peter Valchev
francesco@toscan.biz
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
indicate the error string?
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
deprecate and ignore the -h option. ok deraadt@.
2002-07-02* use lostconn() as the SIGALRM handler in receive_data() as originallyDan Harnett
done by downsj@ in revision 1.54. * some -Wall cleanup - only declare check_host() if TCPWRAPPERS is defined. - use socklen_t where appropriate instead of int (pointer signedness warnings). - {u_}char * pointer signedness warnings. ok millert@
2002-06-17Initialize SIGALRM handler once in main(), instead of in severalDan Harnett
different locations. This fixes a problem where the SIGALRM handler was being set to an uninitialized pointer in receive_data(). Originally reported to the misc@ list by Colin Harford. ok millert@
2002-06-13si_len should be u_int8_t, not socklen_t; form@form.openbsd.ruTodd C. Miller
2002-06-13i heard in the bar that this breaks thingsTheo de Raadt
2002-06-10u_char -> {socklen_t, sa_family_t, in_port_t}. From form@.Mike Pechkin
millert@ ok
2002-06-09do not present scopeid on wire format (as it is local to a node).Jun-ichiro itojun Hagino
2002-05-29More pid_t cleanup. Since 'pid' is pid_t we should:Mike Pechkin
o) in ftpd_popen() convert 'pids' from int to pid_t too; o) in ftpd_pclose() return '-1', not pid_t, because it returns int; millert@ ok
2002-05-29a few more strlcatTheo de Raadt