summaryrefslogtreecommitdiff
path: root/libexec/ftpd/extern.h
AgeCommit message (Collapse)Author
2020-01-15Simplify globbing of ftpd(8)s list and nlst commands.jan
Also avoid command option injection for ls(1). OK martijn@
2019-05-08rm dead code and simplify ftpd_popen. this code has only calledTed Unangst
its statically linked ls_main for some time now. from Jan Klemkow ok deraadt
2015-10-04fix custom popen to return pid to caller instead of tracking in a giantTed Unangst
array. this implies we can't use a function pointer for close, but also means we get to repair some abuse of the comma operator. ok miod
2012-03-04In preparation for getline and getdelim additions to libc, rename getline()Federico G. Schwindt
occurrences to get_line(). Based on a diff from Jan Klemkow <j-dot-klemkow-at-wemelug-dot-de> to tech.
2008-09-12Don't split large commands into multiple commands on a 512-byteMoritz Jodeit
boundary but just fail on them. This prevents CSRF-like attacks, when a web browser is used to access an ftp server. Reported by Maksymilian Arciemowicz <cxib@securityreason.com>. ok millert@ martynas@
2006-04-21lint cleanup; ok ray moritz dhillTheo de Raadt
2004-12-22some -Wimplicit-function-declaration cleaning; ok millert@David Krause
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
2003-12-10spacingTheo de Raadt
2003-07-07make this match protos; millert okTheo 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.
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-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-01-28$OpenBSD$Niklas Hallqvist
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).
1999-12-08IPv6 support from KAME.Jun-ichiro itojun Hagino
XXX kerberos and tcp_wrapper needs checking
1997-06-29partial WallTheo de Raadt
1996-12-07ftpd now eventually times out if a ftp client does:bitblt
pasv list and then crashes. The timeout should only apply the the accept(), so that transfers can take as long as necessary to complete. Thanks to Theo for moving toolong() to extern.h so that it can be used in ftpd.c as well as in ftpcmd.y.
1995-10-18initial import of NetBSD treeTheo de Raadt