History log of /openbsd-current/libexec/ftpd/extern.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.23 23-May-2021 jan

Constify function parameters.

OK martijn@


# 1.22 20-May-2021 jan

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

"looks fine to me" chris@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.21 15-Jan-2020 jan

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

OK martijn@


Revision tags: OPENBSD_6_6_BASE
# 1.20 08-May-2019 tedu

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


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.19 04-Oct-2015 tedu

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


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.18 04-Mar-2012 fgsch

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.


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.17 12-Sep-2008 moritz

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@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.16 21-Apr-2006 deraadt

lint cleanup; ok ray moritz dhill


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.15 22-Dec-2004 david

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


# 1.14 28-Nov-2004 henning

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


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.13 10-Dec-2003 deraadt

spacing


Revision tags: OPENBSD_3_4_BASE
# 1.12 07-Jul-2003 deraadt

make this match protos; millert ok


# 1.11 02-Jun-2003 millert

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


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.10 13-Jun-2002 millert

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


# 1.9 13-Jun-2002 deraadt

i heard in the bar that this breaks things


# 1.8 10-Jun-2002 mpech

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

millert@ ok


Revision tags: OPENBSD_3_1_BASE
# 1.7 16-Feb-2002 millert

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.


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.6 28-Jan-2001 niklas

$OpenBSD$


# 1.5 14-Nov-2000 itojun

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


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.4 08-Dec-1999 itojun

IPv6 support from KAME.
XXX kerberos and tcp_wrapper needs checking


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
# 1.3 29-Jun-1997 deraadt

partial Wall


Revision tags: OPENBSD_2_1_BASE
# 1.2 07-Dec-1996 bitblt

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.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.22 20-May-2021 jan

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

"looks fine to me" chris@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.21 15-Jan-2020 jan

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

OK martijn@


Revision tags: OPENBSD_6_6_BASE
# 1.20 08-May-2019 tedu

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


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.19 04-Oct-2015 tedu

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


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.18 04-Mar-2012 fgsch

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.


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.17 12-Sep-2008 moritz

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@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.16 21-Apr-2006 deraadt

lint cleanup; ok ray moritz dhill


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.15 22-Dec-2004 david

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


# 1.14 28-Nov-2004 henning

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


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.13 10-Dec-2003 deraadt

spacing


Revision tags: OPENBSD_3_4_BASE
# 1.12 07-Jul-2003 deraadt

make this match protos; millert ok


# 1.11 02-Jun-2003 millert

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


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.10 13-Jun-2002 millert

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


# 1.9 13-Jun-2002 deraadt

i heard in the bar that this breaks things


# 1.8 10-Jun-2002 mpech

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

millert@ ok


Revision tags: OPENBSD_3_1_BASE
# 1.7 16-Feb-2002 millert

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.


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.6 28-Jan-2001 niklas

$OpenBSD$


# 1.5 14-Nov-2000 itojun

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


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.4 08-Dec-1999 itojun

IPv6 support from KAME.
XXX kerberos and tcp_wrapper needs checking


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
# 1.3 29-Jun-1997 deraadt

partial Wall


Revision tags: OPENBSD_2_1_BASE
# 1.2 07-Dec-1996 bitblt

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.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.21 15-Jan-2020 jan

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

OK martijn@


Revision tags: OPENBSD_6_6_BASE
# 1.20 08-May-2019 tedu

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


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.19 04-Oct-2015 tedu

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


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.18 04-Mar-2012 fgsch

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.


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.17 12-Sep-2008 moritz

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@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.16 21-Apr-2006 deraadt

lint cleanup; ok ray moritz dhill


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.15 22-Dec-2004 david

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


# 1.14 28-Nov-2004 henning

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


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.13 10-Dec-2003 deraadt

spacing


Revision tags: OPENBSD_3_4_BASE
# 1.12 07-Jul-2003 deraadt

make this match protos; millert ok


# 1.11 02-Jun-2003 millert

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


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.10 13-Jun-2002 millert

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


# 1.9 13-Jun-2002 deraadt

i heard in the bar that this breaks things


# 1.8 10-Jun-2002 mpech

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

millert@ ok


Revision tags: OPENBSD_3_1_BASE
# 1.7 16-Feb-2002 millert

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.


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.6 28-Jan-2001 niklas

$OpenBSD$


# 1.5 14-Nov-2000 itojun

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


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.4 08-Dec-1999 itojun

IPv6 support from KAME.
XXX kerberos and tcp_wrapper needs checking


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
# 1.3 29-Jun-1997 deraadt

partial Wall


Revision tags: OPENBSD_2_1_BASE
# 1.2 07-Dec-1996 bitblt

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.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.20 08-May-2019 tedu

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


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.19 04-Oct-2015 tedu

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


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.18 04-Mar-2012 fgsch

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.


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.17 12-Sep-2008 moritz

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@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.16 21-Apr-2006 deraadt

lint cleanup; ok ray moritz dhill


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.15 22-Dec-2004 david

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


# 1.14 28-Nov-2004 henning

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


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.13 10-Dec-2003 deraadt

spacing


Revision tags: OPENBSD_3_4_BASE
# 1.12 07-Jul-2003 deraadt

make this match protos; millert ok


# 1.11 02-Jun-2003 millert

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


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.10 13-Jun-2002 millert

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


# 1.9 13-Jun-2002 deraadt

i heard in the bar that this breaks things


# 1.8 10-Jun-2002 mpech

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

millert@ ok


Revision tags: OPENBSD_3_1_BASE
# 1.7 16-Feb-2002 millert

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.


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.6 28-Jan-2001 niklas

$OpenBSD$


# 1.5 14-Nov-2000 itojun

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


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.4 08-Dec-1999 itojun

IPv6 support from KAME.
XXX kerberos and tcp_wrapper needs checking


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
# 1.3 29-Jun-1997 deraadt

partial Wall


Revision tags: OPENBSD_2_1_BASE
# 1.2 07-Dec-1996 bitblt

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.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.19 04-Oct-2015 tedu

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


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.18 04-Mar-2012 fgsch

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.


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.17 12-Sep-2008 moritz

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@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.16 21-Apr-2006 deraadt

lint cleanup; ok ray moritz dhill


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.15 22-Dec-2004 david

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


# 1.14 28-Nov-2004 henning

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


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.13 10-Dec-2003 deraadt

spacing


Revision tags: OPENBSD_3_4_BASE
# 1.12 07-Jul-2003 deraadt

make this match protos; millert ok


# 1.11 02-Jun-2003 millert

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


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.10 13-Jun-2002 millert

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


# 1.9 13-Jun-2002 deraadt

i heard in the bar that this breaks things


# 1.8 10-Jun-2002 mpech

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

millert@ ok


Revision tags: OPENBSD_3_1_BASE
# 1.7 16-Feb-2002 millert

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.


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.6 28-Jan-2001 niklas

$OpenBSD$


# 1.5 14-Nov-2000 itojun

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


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.4 08-Dec-1999 itojun

IPv6 support from KAME.
XXX kerberos and tcp_wrapper needs checking


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
# 1.3 29-Jun-1997 deraadt

partial Wall


Revision tags: OPENBSD_2_1_BASE
# 1.2 07-Dec-1996 bitblt

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.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision