summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/extern.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Simplify globbing of ftpd(8)s list and nlst commands.jan2020-01-151-2/+2
| | | | | | Also avoid command option injection for ls(1). OK martijn@
* rm dead code and simplify ftpd_popen. this code has only calledtedu2019-05-081-3/+4
| | | | | | its statically linked ls_main for some time now. from Jan Klemkow ok deraadt
* fix custom popen to return pid to caller instead of tracking in a gianttedu2015-10-041-3/+3
| | | | | | 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
* In preparation for getline and getdelim additions to libc, rename getline()fgsch2012-03-041-2/+2
| | | | | occurrences to get_line(). Based on a diff from Jan Klemkow <j-dot-klemkow-at-wemelug-dot-de> to tech.
* Don't split large commands into multiple commands on a 512-bytemoritz2008-09-121-2/+2
| | | | | | | | | 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@
* lint cleanup; ok ray moritz dhillderaadt2006-04-211-3/+1
|
* some -Wimplicit-function-declaration cleaning; ok millert@david2004-12-221-1/+2
|
* privilege seperate ftpdhenning2004-11-281-2/+3
| | | | | | | | 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
* spacingderaadt2003-12-101-3/+3
|
* make this match protos; millert okderaadt2003-07-071-1/+5
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* si_len should be u_int8_t, not socklen_t; form@form.openbsd.rumillert2002-06-131-4/+4
|
* i heard in the bar that this breaks thingsderaadt2002-06-131-4/+4
|
* u_char -> {socklen_t, sa_family_t, in_port_t}. From form@.mpech2002-06-101-4/+4
| | | | millert@ ok
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-40/+40
|
* $OpenBSD$niklas2001-01-281-0/+1
|
* cleanup EPSV/EPRT error handling. avoid possible memory leak (getaddrinfo).itojun2000-11-141-0/+6
| | | | correct error code on unsupported protocol parameter against EPRT (522).
* IPv6 support from KAME.itojun1999-12-081-0/+43
| | | | XXX kerberos and tcp_wrapper needs checking
* partial Wallderaadt1997-06-291-1/+3
|
* ftpd now eventually times out if a ftp client does:bitblt1996-12-071-0/+1
| | | | | | | | | | 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.
* initial import of NetBSD treederaadt1995-10-181-0/+67