History log of /openbsd-current/libexec/ftpd/ftpd.8
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.77 31-Mar-2022 naddy

man pages: add missing commas between subordinate and main clauses

jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.

ok jmc@


Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.76 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.75 25-Oct-2015 millert

No longer create /var/run/ftpd.pid in daemon mode; OK jung@ jca@


# 1.74 19-Oct-2015 schwarze

Delete the empty example file "ftpchroot"; no example is needed.
Move the one useful bit of information contained in the file ("one
user name per line") to the ftpd(8) manual page where it belongs.
OK deraadt@ sthen@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.73 15-Jan-2015 schwarze

remove .Tn; from Jan Stary <hans at stare dot cz>


Revision tags: OPENBSD_5_6_BASE
# 1.72 17-Mar-2014 jmc

tweak previous;


# 1.71 17-Mar-2014 sthen

Add an option to disallow ftp access to accounts with uid below a certain
number (idea borrowed from pure-ftpd). Enabled by default with minimum uid
1000 to prevent access to admin accounts. tweak/OK millert@, OK deraadt@,
gsoares@ and aja@ like it too.


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.70 27-Sep-2012 jmc

last stage of rfc changes, using consistent Rs/Re blocks, and moving the
references into a STANDARDS section;


# 1.69 04-Aug-2012 pascal

MDTM and SIZE have been in RFC 3659 for over five years. Also, mention both
RFCs in "SEE ALSO".

ok jmc@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.68 15-Dec-2011 ajacoutot

s,/var/run/wtmp,/var/log/wtmp and add it to FILES.

from Steffen Daode Nurpmeso with a tweak from jmc@
ok jmc@


# 1.67 14-Dec-2011 ajacoutot

Add a new '-W' option to prevent saving login records to /var/run/wtmp.
This can become pretty handy on busy anonymous servers to avoid filling
up /var with unused wtmp records.
Note that 'U' and 'W' are mutually exclusive.

ok sthen@ millert@


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE
# 1.66 30-Aug-2010 lum

Add missing network service name from /var/log/ftpd entries.

ok and suggestion from jmc@ ok tobias@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.65 31-May-2007 jmc

convert to new .Dd format;


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.64 09-Sep-2005 jmc

uppercase `FTP' when talking about the protocol rather than the
ftp(1) binary...this is in line with what ftp(1) already does...


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE
# 1.63 28-Nov-2004 henning

remove no longer appropriate bugs section


# 1.62 21-Nov-2004 jmc

clarify -A option;
from a discussion on misc@


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.61 20-Nov-2003 jmc

ftpd.8:
- simpler macros
- sort options
- some updates

ftpd.c:
- sync usage()


Revision tags: OPENBSD_3_4_BASE
# 1.60 04-Sep-2003 jmc

typo;


# 1.59 02-Jun-2003 millert

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


# 1.58 02-Jun-2003 jmc

- sort an Xr to self
- kill whitespace at EOL


# 1.57 14-Apr-2003 jmc

built in -> built-in;

from NetBSD (Igor Sobrado);
smrsh(8) passed on to sendmail people;

ok millert@


Revision tags: OPENBSD_3_3_BASE
# 1.56 31-Jan-2003 jmc

typos;
eeprom(8): added .Ar to fields, removed references to sun3
sshd(8): help and ok markus@

help and ok millert@


# 1.55 15-Nov-2002 millert

o Once a user is logged in, don't allow a change to another user.
o Run more code with the effective uid of the logged in user.
From Frank Denis


Revision tags: OPENBSD_3_2_BASE
# 1.54 28-Aug-2002 mpech

o) start new sentence on a new line;
o) don't use .Nm w/o argument in .SYNOPSIS;
I waste time, when fixing already cleaned pages. :(

one man ok@


# 1.53 20-Aug-2002 deraadt

-n: disallow anon ftp even if ftp account exists


# 1.52 28-Jul-2002 pvalchev

talk about auth-ftp, not auth-ftpd entry in login.conf; from francesco@toscan.biz


# 1.51 14-Jul-2002 jakob

make ftpd always listen to a high tcp port for passive data connections.
deprecate and ignore the -h option. ok deraadt@.


Revision tags: OPENBSD_3_1_BASE
# 1.50 27-Mar-2002 millert

From David Krause:
o ftpd.8: alphabetically sort FILES and add login.conf & motd
o midi.4 and pckbd.4: there is no pcppi(4) man page
o passwd.5: s/passwd.conf/login.conf


# 1.49 16-Mar-2002 millert

o Don't allow password-less accounts to login (like in 2.9 and below)
o Stash copy of struct passwd via auth_setpwd() to avoid extra needless
getpwnam() calls.


# 1.48 22-Nov-2001 mpech

since 3.0 ftpd allow users w/o password. Spotted by form@.

millert@ ok


# 1.47 13-Nov-2001 mpech

o) fix bogus .Xr usage;
o) start new sentence on a new line;
o) don't use .Xr instead of .Pa tag;
o) minimal -mdoc design fixes;

millert@ ok;


Revision tags: OPENBSD_3_0_BASE
# 1.46 10-Oct-2001 millert

ftp-chroot variable is documented in this man page, not login.conf(5)


# 1.45 22-Aug-2001 beck

missing space


# 1.44 22-Aug-2001 beck

See also ftp-proxy


# 1.43 20-Aug-2001 mpech

Powered by @mantoya.
o) we don't like .Nd without argument, except next line starts with a new
tag;

millert@ ok


# 1.42 03-Jul-2001 millert

Use the 'welcome' variable from login.conf instead of hard-coding
/etc/motd.


# 1.41 28-Jun-2001 millert

Clariry, brevity and grammar


# 1.40 29-May-2001 millert

use BSD authentication


Revision tags: OPENBSD_2_9_BASE
# 1.39 24-Apr-2001 aaron

compatility -> compatibility; mpech@prosoft.org.lv


# 1.38 06-Jan-2001 millert

Expand tilde (~) in ftp-dir login.conf variable. Closes PR 1382


# 1.37 24-Dec-2000 aaron

Xr shells(5), not getusershell(3).


# 1.36 02-Dec-2000 millert

The man page says the default umask is 027 but it is really 022 since
that is the value of CMASK.

Have setusercontext() set the umask unless the -u flag was specified.
This allows the admin to set the umask either via -u or via a login
class in login.conf.


Revision tags: OPENBSD_2_8_BASE
# 1.35 08-Sep-2000 aaron

Some miscellaneous man page repairs.


# 1.34 20-Aug-2000 millert

Add calls to setusercontext() and login_get*(). We basically call
setusercontext() in most places where previously we did a setlogin().
Add default login.conf file and put root in the "daemon" login class.


# 1.33 17-Aug-2000 brad

document -4 and -6 options


# 1.32 13-Aug-2000 millert

Remove documentation for non-existent -p option; a7r@andern.org


# 1.31 18-Jun-2000 aaron

transfered -> transferred


# 1.30 17-Jun-2000 deraadt

pr 772; -u blocks chmod command, michaels@inet.no


Revision tags: OPENBSD_2_7_BASE
# 1.29 15-Apr-2000 aaron

- For consistency, `super-user' -> `superuser' in all cases.
- Some punctuation fixes.
- Some `id' -> `ID'.


# 1.28 15-Apr-2000 aaron

Mostly punctuation fixes.


# 1.27 14-Mar-2000 aaron

Suffix "i.e." and "e.g." with a comma. Just another really picky man page
commit, as we want our documentation to be as consistently formatted as
possible (it's getting there :-)).


# 1.26 03-Dec-1999 millert

Write pid to /var/run/ftpd.pid if running in daemon mode.


Revision tags: OPENBSD_2_6_BASE
# 1.25 30-Sep-1999 downsj

Logfile documentation.


# 1.24 30-Sep-1999 downsj

s/transfers/downloads/


# 1.23 21-Jul-1999 deraadt

use .Ar on later .It Fl lines


# 1.22 09-Jul-1999 aaron

- remove all trailing whitespace
* except when it is escaped with a `\' at the end of the line
- fix remaining .Nm usage as well
- this is from a patch I received from kwesterback@home.com, who has been
working on some scripts for fixing formatting errors in mdoc'd man pages

Ok, so there could be a cost/benefit debate with this commit, but since I have
the patch we might as well commit it...


# 1.21 14-Jun-1999 millert

ls(1) is now builtin to ftpd(8). Noted by jean@parc.xerox.com; closes PR 858


# 1.20 05-Jun-1999 aaron

capitalize the acronym ID


# 1.19 28-May-1999 aaron

SYNOPSIS section was missing the -A flag


# 1.18 23-May-1999 aaron

remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-common
is used instead; kwesterback@home.com


Revision tags: OPENBSD_2_5_BASE
# 1.17 30-Dec-1998 downsj

No, it was a NOT a typo.


# 1.16 30-Dec-1998 deraadt

typo; evanc@concer.to


Revision tags: OPENBSD_2_4_BASE
# 1.15 04-Aug-1998 millert

Fix definition of high port and tell where they come from; noted by karls@inet.no


Revision tags: OPENBSD_2_3_BASE
# 1.14 15-Dec-1997 kstailey

alphasort flags


# 1.13 12-Dec-1997 deraadt

default to violating the RFC wrt the PORT command. Use -P to conform to the
RFC and possibly open up non-OpenBSD boxes in a trust relationship on your
network to possible ftp bounce attacks...


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.12 01-May-1997 deraadt

change -A to let in anon | chroot accounts


# 1.11 14-Apr-1997 millert

Make ftpd man page and ftp spool entries in mtree special file
consistent. Noted by William Wisner <wisner@gryphon.com>


# 1.10 29-Mar-1997 millert

Document .message


# 1.9 03-Dec-1996 deraadt

-A for anon only; from freebsd


Revision tags: OPENBSD_2_0_BASE
# 1.8 19-Aug-1996 millert

Don't tell people to make ~ftp/pub mode 777 and other minor nits.


# 1.7 10-Aug-1996 downsj

A little documentation never hurt.


# 1.6 29-Jul-1996 downsj

Add -h, causing passive mode connections to request the high port range.

Also a few other changes.


# 1.5 28-Jul-1996 downsj

Add daemon mode (from FreeBSD), moving a lot of things around.

Also change the advertised version to '6.1/OpenBSD'; using the old version
number from 4.4BSD seems rather silly at this point.


# 1.4 28-Jul-1996 downsj

Add anonymous statistics logging, based on FreeBSD but with the really
obvious bugs fixed.


# 1.3 18-Jun-1996 downsj

my netbsd pr#2217: add utmp support to ftpd, some other small changes/fixes.


# 1.2 16-Jan-1996 deraadt

from netbsd:
Correct the instructions regarding the password database in
~ftp/etc, from Rob Windsor <windsor@ksu.ksu.edu> in PR #544.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.76 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.75 25-Oct-2015 millert

No longer create /var/run/ftpd.pid in daemon mode; OK jung@ jca@


# 1.74 19-Oct-2015 schwarze

Delete the empty example file "ftpchroot"; no example is needed.
Move the one useful bit of information contained in the file ("one
user name per line") to the ftpd(8) manual page where it belongs.
OK deraadt@ sthen@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.73 15-Jan-2015 schwarze

remove .Tn; from Jan Stary <hans at stare dot cz>


Revision tags: OPENBSD_5_6_BASE
# 1.72 17-Mar-2014 jmc

tweak previous;


# 1.71 17-Mar-2014 sthen

Add an option to disallow ftp access to accounts with uid below a certain
number (idea borrowed from pure-ftpd). Enabled by default with minimum uid
1000 to prevent access to admin accounts. tweak/OK millert@, OK deraadt@,
gsoares@ and aja@ like it too.


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.70 27-Sep-2012 jmc

last stage of rfc changes, using consistent Rs/Re blocks, and moving the
references into a STANDARDS section;


# 1.69 04-Aug-2012 pascal

MDTM and SIZE have been in RFC 3659 for over five years. Also, mention both
RFCs in "SEE ALSO".

ok jmc@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.68 15-Dec-2011 ajacoutot

s,/var/run/wtmp,/var/log/wtmp and add it to FILES.

from Steffen Daode Nurpmeso with a tweak from jmc@
ok jmc@


# 1.67 14-Dec-2011 ajacoutot

Add a new '-W' option to prevent saving login records to /var/run/wtmp.
This can become pretty handy on busy anonymous servers to avoid filling
up /var with unused wtmp records.
Note that 'U' and 'W' are mutually exclusive.

ok sthen@ millert@


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE
# 1.66 30-Aug-2010 lum

Add missing network service name from /var/log/ftpd entries.

ok and suggestion from jmc@ ok tobias@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.65 31-May-2007 jmc

convert to new .Dd format;


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.64 09-Sep-2005 jmc

uppercase `FTP' when talking about the protocol rather than the
ftp(1) binary...this is in line with what ftp(1) already does...


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE
# 1.63 28-Nov-2004 henning

remove no longer appropriate bugs section


# 1.62 21-Nov-2004 jmc

clarify -A option;
from a discussion on misc@


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.61 20-Nov-2003 jmc

ftpd.8:
- simpler macros
- sort options
- some updates

ftpd.c:
- sync usage()


Revision tags: OPENBSD_3_4_BASE
# 1.60 04-Sep-2003 jmc

typo;


# 1.59 02-Jun-2003 millert

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


# 1.58 02-Jun-2003 jmc

- sort an Xr to self
- kill whitespace at EOL


# 1.57 14-Apr-2003 jmc

built in -> built-in;

from NetBSD (Igor Sobrado);
smrsh(8) passed on to sendmail people;

ok millert@


Revision tags: OPENBSD_3_3_BASE
# 1.56 31-Jan-2003 jmc

typos;
eeprom(8): added .Ar to fields, removed references to sun3
sshd(8): help and ok markus@

help and ok millert@


# 1.55 15-Nov-2002 millert

o Once a user is logged in, don't allow a change to another user.
o Run more code with the effective uid of the logged in user.
From Frank Denis


Revision tags: OPENBSD_3_2_BASE
# 1.54 28-Aug-2002 mpech

o) start new sentence on a new line;
o) don't use .Nm w/o argument in .SYNOPSIS;
I waste time, when fixing already cleaned pages. :(

one man ok@


# 1.53 20-Aug-2002 deraadt

-n: disallow anon ftp even if ftp account exists


# 1.52 28-Jul-2002 pvalchev

talk about auth-ftp, not auth-ftpd entry in login.conf; from francesco@toscan.biz


# 1.51 14-Jul-2002 jakob

make ftpd always listen to a high tcp port for passive data connections.
deprecate and ignore the -h option. ok deraadt@.


Revision tags: OPENBSD_3_1_BASE
# 1.50 27-Mar-2002 millert

From David Krause:
o ftpd.8: alphabetically sort FILES and add login.conf & motd
o midi.4 and pckbd.4: there is no pcppi(4) man page
o passwd.5: s/passwd.conf/login.conf


# 1.49 16-Mar-2002 millert

o Don't allow password-less accounts to login (like in 2.9 and below)
o Stash copy of struct passwd via auth_setpwd() to avoid extra needless
getpwnam() calls.


# 1.48 22-Nov-2001 mpech

since 3.0 ftpd allow users w/o password. Spotted by form@.

millert@ ok


# 1.47 13-Nov-2001 mpech

o) fix bogus .Xr usage;
o) start new sentence on a new line;
o) don't use .Xr instead of .Pa tag;
o) minimal -mdoc design fixes;

millert@ ok;


Revision tags: OPENBSD_3_0_BASE
# 1.46 10-Oct-2001 millert

ftp-chroot variable is documented in this man page, not login.conf(5)


# 1.45 22-Aug-2001 beck

missing space


# 1.44 22-Aug-2001 beck

See also ftp-proxy


# 1.43 20-Aug-2001 mpech

Powered by @mantoya.
o) we don't like .Nd without argument, except next line starts with a new
tag;

millert@ ok


# 1.42 03-Jul-2001 millert

Use the 'welcome' variable from login.conf instead of hard-coding
/etc/motd.


# 1.41 28-Jun-2001 millert

Clariry, brevity and grammar


# 1.40 29-May-2001 millert

use BSD authentication


Revision tags: OPENBSD_2_9_BASE
# 1.39 24-Apr-2001 aaron

compatility -> compatibility; mpech@prosoft.org.lv


# 1.38 06-Jan-2001 millert

Expand tilde (~) in ftp-dir login.conf variable. Closes PR 1382


# 1.37 24-Dec-2000 aaron

Xr shells(5), not getusershell(3).


# 1.36 02-Dec-2000 millert

The man page says the default umask is 027 but it is really 022 since
that is the value of CMASK.

Have setusercontext() set the umask unless the -u flag was specified.
This allows the admin to set the umask either via -u or via a login
class in login.conf.


Revision tags: OPENBSD_2_8_BASE
# 1.35 08-Sep-2000 aaron

Some miscellaneous man page repairs.


# 1.34 20-Aug-2000 millert

Add calls to setusercontext() and login_get*(). We basically call
setusercontext() in most places where previously we did a setlogin().
Add default login.conf file and put root in the "daemon" login class.


# 1.33 17-Aug-2000 brad

document -4 and -6 options


# 1.32 13-Aug-2000 millert

Remove documentation for non-existent -p option; a7r@andern.org


# 1.31 18-Jun-2000 aaron

transfered -> transferred


# 1.30 17-Jun-2000 deraadt

pr 772; -u blocks chmod command, michaels@inet.no


Revision tags: OPENBSD_2_7_BASE
# 1.29 15-Apr-2000 aaron

- For consistency, `super-user' -> `superuser' in all cases.
- Some punctuation fixes.
- Some `id' -> `ID'.


# 1.28 15-Apr-2000 aaron

Mostly punctuation fixes.


# 1.27 14-Mar-2000 aaron

Suffix "i.e." and "e.g." with a comma. Just another really picky man page
commit, as we want our documentation to be as consistently formatted as
possible (it's getting there :-)).


# 1.26 03-Dec-1999 millert

Write pid to /var/run/ftpd.pid if running in daemon mode.


Revision tags: OPENBSD_2_6_BASE
# 1.25 30-Sep-1999 downsj

Logfile documentation.


# 1.24 30-Sep-1999 downsj

s/transfers/downloads/


# 1.23 21-Jul-1999 deraadt

use .Ar on later .It Fl lines


# 1.22 09-Jul-1999 aaron

- remove all trailing whitespace
* except when it is escaped with a `\' at the end of the line
- fix remaining .Nm usage as well
- this is from a patch I received from kwesterback@home.com, who has been
working on some scripts for fixing formatting errors in mdoc'd man pages

Ok, so there could be a cost/benefit debate with this commit, but since I have
the patch we might as well commit it...


# 1.21 14-Jun-1999 millert

ls(1) is now builtin to ftpd(8). Noted by jean@parc.xerox.com; closes PR 858


# 1.20 05-Jun-1999 aaron

capitalize the acronym ID


# 1.19 28-May-1999 aaron

SYNOPSIS section was missing the -A flag


# 1.18 23-May-1999 aaron

remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-common
is used instead; kwesterback@home.com


Revision tags: OPENBSD_2_5_BASE
# 1.17 30-Dec-1998 downsj

No, it was a NOT a typo.


# 1.16 30-Dec-1998 deraadt

typo; evanc@concer.to


Revision tags: OPENBSD_2_4_BASE
# 1.15 04-Aug-1998 millert

Fix definition of high port and tell where they come from; noted by karls@inet.no


Revision tags: OPENBSD_2_3_BASE
# 1.14 15-Dec-1997 kstailey

alphasort flags


# 1.13 12-Dec-1997 deraadt

default to violating the RFC wrt the PORT command. Use -P to conform to the
RFC and possibly open up non-OpenBSD boxes in a trust relationship on your
network to possible ftp bounce attacks...


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.12 01-May-1997 deraadt

change -A to let in anon | chroot accounts


# 1.11 14-Apr-1997 millert

Make ftpd man page and ftp spool entries in mtree special file
consistent. Noted by William Wisner <wisner@gryphon.com>


# 1.10 29-Mar-1997 millert

Document .message


# 1.9 03-Dec-1996 deraadt

-A for anon only; from freebsd


Revision tags: OPENBSD_2_0_BASE
# 1.8 19-Aug-1996 millert

Don't tell people to make ~ftp/pub mode 777 and other minor nits.


# 1.7 10-Aug-1996 downsj

A little documentation never hurt.


# 1.6 29-Jul-1996 downsj

Add -h, causing passive mode connections to request the high port range.

Also a few other changes.


# 1.5 28-Jul-1996 downsj

Add daemon mode (from FreeBSD), moving a lot of things around.

Also change the advertised version to '6.1/OpenBSD'; using the old version
number from 4.4BSD seems rather silly at this point.


# 1.4 28-Jul-1996 downsj

Add anonymous statistics logging, based on FreeBSD but with the really
obvious bugs fixed.


# 1.3 18-Jun-1996 downsj

my netbsd pr#2217: add utmp support to ftpd, some other small changes/fixes.


# 1.2 16-Jan-1996 deraadt

from netbsd:
Correct the instructions regarding the password database in
~ftp/etc, from Rob Windsor <windsor@ksu.ksu.edu> in PR #544.


# 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.75 25-Oct-2015 millert

No longer create /var/run/ftpd.pid in daemon mode; OK jung@ jca@


# 1.74 19-Oct-2015 schwarze

Delete the empty example file "ftpchroot"; no example is needed.
Move the one useful bit of information contained in the file ("one
user name per line") to the ftpd(8) manual page where it belongs.
OK deraadt@ sthen@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.73 15-Jan-2015 schwarze

remove .Tn; from Jan Stary <hans at stare dot cz>


Revision tags: OPENBSD_5_6_BASE
# 1.72 17-Mar-2014 jmc

tweak previous;


# 1.71 17-Mar-2014 sthen

Add an option to disallow ftp access to accounts with uid below a certain
number (idea borrowed from pure-ftpd). Enabled by default with minimum uid
1000 to prevent access to admin accounts. tweak/OK millert@, OK deraadt@,
gsoares@ and aja@ like it too.


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.70 27-Sep-2012 jmc

last stage of rfc changes, using consistent Rs/Re blocks, and moving the
references into a STANDARDS section;


# 1.69 04-Aug-2012 pascal

MDTM and SIZE have been in RFC 3659 for over five years. Also, mention both
RFCs in "SEE ALSO".

ok jmc@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.68 15-Dec-2011 ajacoutot

s,/var/run/wtmp,/var/log/wtmp and add it to FILES.

from Steffen Daode Nurpmeso with a tweak from jmc@
ok jmc@


# 1.67 14-Dec-2011 ajacoutot

Add a new '-W' option to prevent saving login records to /var/run/wtmp.
This can become pretty handy on busy anonymous servers to avoid filling
up /var with unused wtmp records.
Note that 'U' and 'W' are mutually exclusive.

ok sthen@ millert@


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE
# 1.66 30-Aug-2010 lum

Add missing network service name from /var/log/ftpd entries.

ok and suggestion from jmc@ ok tobias@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.65 31-May-2007 jmc

convert to new .Dd format;


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.64 09-Sep-2005 jmc

uppercase `FTP' when talking about the protocol rather than the
ftp(1) binary...this is in line with what ftp(1) already does...


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE
# 1.63 28-Nov-2004 henning

remove no longer appropriate bugs section


# 1.62 21-Nov-2004 jmc

clarify -A option;
from a discussion on misc@


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.61 20-Nov-2003 jmc

ftpd.8:
- simpler macros
- sort options
- some updates

ftpd.c:
- sync usage()


Revision tags: OPENBSD_3_4_BASE
# 1.60 04-Sep-2003 jmc

typo;


# 1.59 02-Jun-2003 millert

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


# 1.58 02-Jun-2003 jmc

- sort an Xr to self
- kill whitespace at EOL


# 1.57 14-Apr-2003 jmc

built in -> built-in;

from NetBSD (Igor Sobrado);
smrsh(8) passed on to sendmail people;

ok millert@


Revision tags: OPENBSD_3_3_BASE
# 1.56 31-Jan-2003 jmc

typos;
eeprom(8): added .Ar to fields, removed references to sun3
sshd(8): help and ok markus@

help and ok millert@


# 1.55 15-Nov-2002 millert

o Once a user is logged in, don't allow a change to another user.
o Run more code with the effective uid of the logged in user.
From Frank Denis


Revision tags: OPENBSD_3_2_BASE
# 1.54 28-Aug-2002 mpech

o) start new sentence on a new line;
o) don't use .Nm w/o argument in .SYNOPSIS;
I waste time, when fixing already cleaned pages. :(

one man ok@


# 1.53 20-Aug-2002 deraadt

-n: disallow anon ftp even if ftp account exists


# 1.52 28-Jul-2002 pvalchev

talk about auth-ftp, not auth-ftpd entry in login.conf; from francesco@toscan.biz


# 1.51 14-Jul-2002 jakob

make ftpd always listen to a high tcp port for passive data connections.
deprecate and ignore the -h option. ok deraadt@.


Revision tags: OPENBSD_3_1_BASE
# 1.50 27-Mar-2002 millert

From David Krause:
o ftpd.8: alphabetically sort FILES and add login.conf & motd
o midi.4 and pckbd.4: there is no pcppi(4) man page
o passwd.5: s/passwd.conf/login.conf


# 1.49 16-Mar-2002 millert

o Don't allow password-less accounts to login (like in 2.9 and below)
o Stash copy of struct passwd via auth_setpwd() to avoid extra needless
getpwnam() calls.


# 1.48 22-Nov-2001 mpech

since 3.0 ftpd allow users w/o password. Spotted by form@.

millert@ ok


# 1.47 13-Nov-2001 mpech

o) fix bogus .Xr usage;
o) start new sentence on a new line;
o) don't use .Xr instead of .Pa tag;
o) minimal -mdoc design fixes;

millert@ ok;


Revision tags: OPENBSD_3_0_BASE
# 1.46 10-Oct-2001 millert

ftp-chroot variable is documented in this man page, not login.conf(5)


# 1.45 22-Aug-2001 beck

missing space


# 1.44 22-Aug-2001 beck

See also ftp-proxy


# 1.43 20-Aug-2001 mpech

Powered by @mantoya.
o) we don't like .Nd without argument, except next line starts with a new
tag;

millert@ ok


# 1.42 03-Jul-2001 millert

Use the 'welcome' variable from login.conf instead of hard-coding
/etc/motd.


# 1.41 28-Jun-2001 millert

Clariry, brevity and grammar


# 1.40 29-May-2001 millert

use BSD authentication


Revision tags: OPENBSD_2_9_BASE
# 1.39 24-Apr-2001 aaron

compatility -> compatibility; mpech@prosoft.org.lv


# 1.38 06-Jan-2001 millert

Expand tilde (~) in ftp-dir login.conf variable. Closes PR 1382


# 1.37 24-Dec-2000 aaron

Xr shells(5), not getusershell(3).


# 1.36 02-Dec-2000 millert

The man page says the default umask is 027 but it is really 022 since
that is the value of CMASK.

Have setusercontext() set the umask unless the -u flag was specified.
This allows the admin to set the umask either via -u or via a login
class in login.conf.


Revision tags: OPENBSD_2_8_BASE
# 1.35 08-Sep-2000 aaron

Some miscellaneous man page repairs.


# 1.34 20-Aug-2000 millert

Add calls to setusercontext() and login_get*(). We basically call
setusercontext() in most places where previously we did a setlogin().
Add default login.conf file and put root in the "daemon" login class.


# 1.33 17-Aug-2000 brad

document -4 and -6 options


# 1.32 13-Aug-2000 millert

Remove documentation for non-existent -p option; a7r@andern.org


# 1.31 18-Jun-2000 aaron

transfered -> transferred


# 1.30 17-Jun-2000 deraadt

pr 772; -u blocks chmod command, michaels@inet.no


Revision tags: OPENBSD_2_7_BASE
# 1.29 15-Apr-2000 aaron

- For consistency, `super-user' -> `superuser' in all cases.
- Some punctuation fixes.
- Some `id' -> `ID'.


# 1.28 15-Apr-2000 aaron

Mostly punctuation fixes.


# 1.27 14-Mar-2000 aaron

Suffix "i.e." and "e.g." with a comma. Just another really picky man page
commit, as we want our documentation to be as consistently formatted as
possible (it's getting there :-)).


# 1.26 03-Dec-1999 millert

Write pid to /var/run/ftpd.pid if running in daemon mode.


Revision tags: OPENBSD_2_6_BASE
# 1.25 30-Sep-1999 downsj

Logfile documentation.


# 1.24 30-Sep-1999 downsj

s/transfers/downloads/


# 1.23 21-Jul-1999 deraadt

use .Ar on later .It Fl lines


# 1.22 09-Jul-1999 aaron

- remove all trailing whitespace
* except when it is escaped with a `\' at the end of the line
- fix remaining .Nm usage as well
- this is from a patch I received from kwesterback@home.com, who has been
working on some scripts for fixing formatting errors in mdoc'd man pages

Ok, so there could be a cost/benefit debate with this commit, but since I have
the patch we might as well commit it...


# 1.21 14-Jun-1999 millert

ls(1) is now builtin to ftpd(8). Noted by jean@parc.xerox.com; closes PR 858


# 1.20 05-Jun-1999 aaron

capitalize the acronym ID


# 1.19 28-May-1999 aaron

SYNOPSIS section was missing the -A flag


# 1.18 23-May-1999 aaron

remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-common
is used instead; kwesterback@home.com


Revision tags: OPENBSD_2_5_BASE
# 1.17 30-Dec-1998 downsj

No, it was a NOT a typo.


# 1.16 30-Dec-1998 deraadt

typo; evanc@concer.to


Revision tags: OPENBSD_2_4_BASE
# 1.15 04-Aug-1998 millert

Fix definition of high port and tell where they come from; noted by karls@inet.no


Revision tags: OPENBSD_2_3_BASE
# 1.14 15-Dec-1997 kstailey

alphasort flags


# 1.13 12-Dec-1997 deraadt

default to violating the RFC wrt the PORT command. Use -P to conform to the
RFC and possibly open up non-OpenBSD boxes in a trust relationship on your
network to possible ftp bounce attacks...


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.12 01-May-1997 deraadt

change -A to let in anon | chroot accounts


# 1.11 14-Apr-1997 millert

Make ftpd man page and ftp spool entries in mtree special file
consistent. Noted by William Wisner <wisner@gryphon.com>


# 1.10 29-Mar-1997 millert

Document .message


# 1.9 03-Dec-1996 deraadt

-A for anon only; from freebsd


Revision tags: OPENBSD_2_0_BASE
# 1.8 19-Aug-1996 millert

Don't tell people to make ~ftp/pub mode 777 and other minor nits.


# 1.7 10-Aug-1996 downsj

A little documentation never hurt.


# 1.6 29-Jul-1996 downsj

Add -h, causing passive mode connections to request the high port range.

Also a few other changes.


# 1.5 28-Jul-1996 downsj

Add daemon mode (from FreeBSD), moving a lot of things around.

Also change the advertised version to '6.1/OpenBSD'; using the old version
number from 4.4BSD seems rather silly at this point.


# 1.4 28-Jul-1996 downsj

Add anonymous statistics logging, based on FreeBSD but with the really
obvious bugs fixed.


# 1.3 18-Jun-1996 downsj

my netbsd pr#2217: add utmp support to ftpd, some other small changes/fixes.


# 1.2 16-Jan-1996 deraadt

from netbsd:
Correct the instructions regarding the password database in
~ftp/etc, from Rob Windsor <windsor@ksu.ksu.edu> in PR #544.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision