History log of /openbsd/libexec/ftpd/extern.h (Results 1 – 25 of 25)
Revision Date Author Comments
# ce7279d8 21-May-2024 jsg <jsg@openbsd.org>

remove prototypes with no matching function and externs with no var
partly checked by millert@


# 172cfcf8 20-May-2024 jsg <jsg@openbsd.org>

remove setproctitle() prototype that matches the one in stdlib.h


# 0c50dd5d 23-May-2021 jan <jan@openbsd.org>

Constify function parameters.

OK martijn@


# 330fc432 20-May-2021 jan <jan@openbsd.org>

Removes the useless FILE* parameter of get_line().
While here fix minor whitespace mistake.

"looks fine to me" chris@


# bca58876 15-Jan-2020 jan <jan@openbsd.org>

Simplify globbing of ftpd(8)s list and nlst commands.
Also avoid command option injection for ls(1).

OK martijn@


# 7a7d71fb 08-May-2019 tedu <tedu@openbsd.org>

rm dead code and simplify ftpd_popen. this code has only called
its statically linked ls_main for some time now.
from Jan Klemkow
ok deraadt


# 1b81cd4f 04-Oct-2015 tedu <tedu@openbsd.org>

fix custom popen to return pid to caller instead of tracking in a giant
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

fix custom popen to return pid to caller instead of tracking in a giant
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

show more ...


# f9bbbf45 04-Mar-2012 fgsch <fgsch@openbsd.org>

In preparation for getline and getdelim additions to libc, rename getline()
occurrences to get_line().
Based on a diff from Jan Klemkow <j-dot-klemkow-at-wemelug-dot-de> to tech.


# 0391227f 12-Sep-2008 moritz <moritz@openbsd.org>

Don't split large commands into multiple commands on a 512-byte
boundary but just fail on them. This prevents CSRF-like attacks,
when a web browser is used to access an ftp server.

Reported by Maksy

Don't split large commands into multiple commands on a 512-byte
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@

show more ...


# 95cc8c4a 21-Apr-2006 deraadt <deraadt@openbsd.org>

lint cleanup; ok ray moritz dhill


# 306c0413 22-Dec-2004 david <david@openbsd.org>

some -Wimplicit-function-declaration cleaning; ok millert@


# b96c0bc5 28-Nov-2004 henning <henning@openbsd.org>

privilege seperate ftpd
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.
wor

privilege seperate ftpd
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

show more ...


# 5c7d4e7c 10-Dec-2003 deraadt <deraadt@openbsd.org>

spacing


# b12aa87c 07-Jul-2003 deraadt <deraadt@openbsd.org>

make this match protos; millert ok


# e33d3bd3 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# dbd85215 13-Jun-2002 millert <millert@openbsd.org>

si_len should be u_int8_t, not socklen_t; form@form.openbsd.ru


# 76193f34 13-Jun-2002 deraadt <deraadt@openbsd.org>

i heard in the bar that this breaks things


# 5942ef73 10-Jun-2002 mpech <mpech@openbsd.org>

u_char -> {socklen_t, sa_family_t, in_port_t}. From form@.

millert@ ok


# c72b5b24 16-Feb-2002 millert <millert@openbsd.org>

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 don

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.

show more ...


# 5d36dfa4 28-Jan-2001 niklas <niklas@openbsd.org>

$OpenBSD$


# d94808df 14-Nov-2000 itojun <itojun@openbsd.org>

cleanup EPSV/EPRT error handling. avoid possible memory leak (getaddrinfo).
correct error code on unsupported protocol parameter against EPRT (522).


# b1750805 08-Dec-1999 itojun <itojun@openbsd.org>

IPv6 support from KAME.
XXX kerberos and tcp_wrapper needs checking


# 1d5555bf 29-Jun-1997 deraadt <deraadt@openbsd.org>

partial Wall


# c5d07883 07-Dec-1996 bitblt <bitblt@openbsd.org>

ftpd now eventually times out if a ftp client does:
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

ftpd now eventually times out if a ftp client does:
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.

show more ...


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree