summaryrefslogtreecommitdiff
path: root/libexec/ftpd
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/4.3.0_cvscvs2svn2001-04-219-9/+9
| | | | | | | 'RELENG_4_3_0_RELEASE'. This commit was manufactured to restore the state of the 4.3-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* MFC: Limit number of paths returned via glob() for authorized usersChris D. Faulhaber2001-04-171-3/+10
| | | | | | | Approved by: jkh Notes: svn path=/stable/4/; revision=75617
* MFC: globbing limits for ftpd.Jonathan Lemon2001-03-212-0/+12
| | | | | | | Approved by: jkh Notes: svn path=/stable/4/; revision=74577
* MFC: About 9 months worth of updates. Major features: -r(eadonly) mode,Kris Kennaway2001-03-053-67/+162
| | | | | | | | -E(PSV) disable mode, fixes to reduce information leakage, ability to specify compile-time port ranges Notes: svn path=/stable/4/; revision=73692
* MFC: r1.36: don't look in a make-believe path which doesn't existKris Kennaway2001-03-051-2/+1
| | | | Notes: svn path=/stable/4/; revision=73686
* MFC 1.20:Chris D. Faulhaber2001-03-041-69/+89
| | | | | | | limit commands when not logged in Notes: svn path=/stable/4/; revision=73515
* MFC: Format string paranoiaKris Kennaway2001-02-181-2/+2
| | | | Notes: svn path=/stable/4/; revision=72609
* MFC: Fix typo (rev. 1.34-->1.35 delta).Dmitry Sivachenko2000-12-241-1/+1
| | | | | | | | PR: 23591 Submitted by: mavetju@chello.nl Notes: svn path=/stable/4/; revision=70341
* MFC: recent mdoc(7) fixes.Ruslan Ermilov2000-12-081-2/+2
| | | | Notes: svn path=/stable/4/; revision=69764
* MFC: Fix broken PAM with SKEY behaviour: the skey.access file checksGuido van Rooij2000-10-231-7/+8
| | | | | | | were broken because the code failed to set PAM_RHOST. Notes: svn path=/stable/4/; revision=67475
* MFC: Honour skey.access(5) by allowing UNIX passwords when skeyaccess(3)Jordan K. Hubbard2000-09-202-5/+10
| | | | | | | has set pwok to a non-zero value. Eliminate gratuitous extern. Notes: svn path=/stable/4/; revision=66117
* MFC rev 1.67: use MAXLOGNAME.Sheldon Hearn2000-08-171-1/+1
| | | | Notes: svn path=/stable/4/; revision=64779
* MFC: (rev 1.66) fix `control socket: Protocol not supported'Ruslan Ermilov2000-08-171-3/+2
| | | | | | | failure in standalone mode. Notes: svn path=/stable/4/; revision=64765
* Don't reply "not a plain file" when the requested file doesn't exist.Dag-Erling Smørgrav2000-07-181-2/+8
| | | | Notes: svn path=/stable/4/; revision=63467
* MFC: clarify -S option (s/transfer/file downlod/)Ben Smithurst2000-07-111-1/+1
| | | | Notes: svn path=/stable/4/; revision=62949
* MFC: Use the new fflagstostr and strtofflags functions in libc.Josef Karthauser2000-06-281-2/+2
| | | | Notes: svn path=/stable/4/; revision=62194
* MFC: Fixes virtual host selection from /etc/ftphosts.David Nugent2000-06-261-8/+11
| | | | | | | PR: bin/19390 Notes: svn path=/stable/4/; revision=62102
* MFC: v1.63Nick Sayer2000-05-251-0/+31
| | | | | | | Approved by: jkh Notes: svn path=/stable/4/; revision=60932
* MFC: remove stray -DINTERNAL_LSPeter Wemm2000-03-201-1/+1
| | | | Notes: svn path=/stable/4/; revision=58362
* Doc fix: remove references to ~ftp/bin/ls as we have FTPD_INTERNAL_LSPeter Wemm2000-02-171-8/+0
| | | | | | | | | unconditionally active already. Noticed by: obrien Notes: svn path=/head/; revision=57267
* Add more dual stack consideration.Yoshinobu Inoue2000-02-101-19/+27
| | | | | | | | | | -ftpd need to know each of AF_INET and AF_INET6 addr for hosts specified in /etc/ftphosts. Approved by: jkh Notes: svn path=/head/; revision=57124
* Revert part of the last commit, remove {g|s}etflags from the libcJosef Karthauser2000-02-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | interface, and statically link them to the programs using them. These functions, upon reflection and discussion, are too generically named for a library interface with such specific functionality. Also the api that they use, whilst ok for private use, isn't good enough for a libc function. Additionally there were complications with the build/install-world process. It depends heavily upon xinstall, which got broken by the change in api, and caused bootstrap problems and general mayhem. There is work in progress to address future problems that may be caused by changes in install-chain tools, and better names for {g|s}etflags can be derived when some future program requires them. For now the code has been left in src/lib/libc/gen (it started off in src/bin/ls). It's important to provide library functions for manipulating file flag strings if we ever want this interface to be adopted outside of the source tree, but now isn't necessarily the right moment with 4.0-release just around the corner. Approved: jkh Notes: svn path=/head/; revision=57003
* Remove unnecessary -g for CFLAGS.Yoshinobu Inoue2000-02-031-1/+1
| | | | | | | | | | -g for CFLAGS which was set at debugging time was mistakenly committed, so removed it. Approved by: jkh Notes: svn path=/head/; revision=56975
* Fix ftpd core dump when hostname is not set.Yoshinobu Inoue2000-02-031-1/+2
| | | | | | | | | | | | When hostname is not set, ftpd core dumps, because there is no NULL check for freeing name resolving information for its own hostname. So the check is added. Approved by: jkh Notes: svn path=/head/; revision=56974
* another tcp apps IPv6 updates.(should be make world safe)Yoshinobu Inoue2000-01-277-119/+812
| | | | | | | | | | ftp, telnet, ftpd, faithd also telnet related sync with crypto, secure, kerberosIV Obtained from: KAME project Notes: svn path=/head/; revision=56668
* Moved flags_to_string and string_to_flags into libutil. It's used inJosef Karthauser1999-12-301-1/+1
| | | | | | | many places nowadays. Notes: svn path=/head/; revision=55270
* sync with netbsd PR 8534, fix undefined C code.Alfred Perlstein1999-10-071-1/+1
| | | | | | | Pointed out by: David A. Holland Notes: svn path=/head/; revision=51979
* Fix for new Kerberos4. Make a fist cut at PAM-ising while I'm here.Mark Murray1999-09-192-27/+145
| | | | Notes: svn path=/head/; revision=51433
* When a STAT command is sent to ftpd as an out-of-band transmission duringMichael Haro1999-09-121-0/+1
| | | | | | | | | | | a file transfer, the command was mishandled on every other receipt of the command. PR: 13261 Submitted by: Ian Lepore <ian@plutotech.com> Notes: svn path=/head/; revision=51192
* Add common error lib for the Kerberos case.Mark Murray1999-09-061-2/+2
| | | | Notes: svn path=/head/; revision=50990
* $Id$ -> $FreeBSD$Peter Wemm1999-08-289-9/+9
| | | | Notes: svn path=/head/; revision=50476
* unifdef -DINTERNAL_LS - it's too useful to be off by default. If anyonePeter Wemm1999-08-265-32/+7
| | | | | | | | really dislikes this, we could add a switch to disable it at runtime and check in popen.c. Notes: svn path=/head/; revision=50380
* Update the SYNOPSIS to reflect that the -l option can be specifiedMike Pritchard1999-06-281-2/+3
| | | | | | | | | more than once. Pointed-out-by: sheldonh Notes: svn path=/head/; revision=48313
* Add missing -A option to SYNOPSIS.Guy Helmer1999-05-041-1/+2
| | | | | | | PR: docs/10771 Notes: svn path=/head/; revision=46439
* More egcs warning fixes:Warner Losh1999-04-251-2/+3
| | | | | | | | | | | | | o main returns int not void o use return 0 at end of main when needed o use braces to avoid potentially ambiguous else o don't default to type int (and also remove a useless register modifier). Reviewed by: obrien and chuckr Notes: svn path=/head/; revision=46078
* Ensure that things returned by gethostname() andBrian Somers1999-04-071-4/+5
| | | | | | | | | | | | | friends are terminated and allow for a maximum host name length of MAXHOSTNAMELEN - 1. Put parenthesis around sizeof args. Make some variables static. Fix telnetd -u (broken by my last commit) Prompted by: bde Notes: svn path=/head/; revision=45422
* Use realhostname() rather than various combinations ofBrian Somers1999-04-061-9/+3
| | | | | | | | | gethostbyaddr() & gethostbyname(). Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length. Notes: svn path=/head/; revision=45393
* Oops, I missed a few more /etc/nologin references yesterday. It appearsSatoshi Asami1999-01-121-3/+3
| | | | | | | | | my check of the tree was incomplete. Sorry guys. Reported by: Ben Smithurst <ben@scientia.demon.co.uk> Notes: svn path=/head/; revision=42587
* Update to correctly reflect the default values ofBill Fumerola1998-12-021-2/+2
| | | | | | | | | | net.inet.ip.portrange.hifirst and net.inet.ip.portrange.hilast PR: docs/6745 Submitted by: Masachika Ishizuka <ishizuka@ish.org> Notes: svn path=/head/; revision=41465
* Find "klogin.c" in "src/lib/libpam/modules/pam_kerberosIV" insteadJohn Polstra1998-11-211-2/+2
| | | | | | | | of in "src/usr.bin/login". The latter instance is going away. As soon as ftpd is PAMized, it won't need to use klogin.c at all. Notes: svn path=/head/; revision=41278
* Set the user context correctly so that cd ~ does the right thing.Dag-Erling Smørgrav1998-10-131-9/+4
| | | | | | | | | PR: bin/7943 bin/8293 Submitted by: Bill Fenner <fenner@parc.xerox.com> Approved by: jkh Notes: svn path=/head/; revision=40310
* Added double quotes around CHMOD description to prevent garbled output.Alexander Langer1998-09-291-2/+2
| | | | | | | | PR: 8094 Submitted by: Christoph Weber-Fahr <wefa@callcenter.systemhaus.net> Notes: svn path=/head/; revision=39783
* Document the use of lines beginning with a '#' as comment lines.Joseph Koshy1998-07-091-1/+4
| | | | | | | PR: 5676 Notes: svn path=/head/; revision=37532
* signal() returns SIG_ERR on error, not int.John Birrell1998-06-031-4/+4
| | | | | | | time() requires a time_t pointer, not a long. Notes: svn path=/head/; revision=36612
* Make ftpd(8) honor its default group setting in the config files.Steve Price1998-05-251-7/+16
| | | | | | | | PR: 6682 Submitted by: Max Euston <meuston@jmrodgers.com> Notes: svn path=/head/; revision=36349
* Back out "always UTC" fix since some people want visually identical 'ls'Andrey A. Chernov1998-05-181-4/+10
| | | | | | | | | | | output for local users. FTP protocol RFC also says that 'ls' output is not machine-readable. "always UTC" still possible with TZ= in ftpd environment by price of having UTC in log files too. Fix INTERNAL_LS to sense new /etc/localtime after chroot Notes: svn path=/head/; revision=36140
* Return back initial tzset() must be before first chrootAndrey A. Chernov1998-05-161-1/+3
| | | | Notes: svn path=/head/; revision=36105
* Return back vfork and use execve with TZ="" environment in vfork caseAndrey A. Chernov1998-05-151-5/+7
| | | | Notes: svn path=/head/; revision=36072
* Use fork instead of vfork since setenv clobber parent environmentAndrey A. Chernov1998-05-151-4/+2
| | | | | | | Fork already used for INTERNAL_LS in anycase Notes: svn path=/head/; revision=36070
* Move TZ="" assignment just before exec to not touch other time stuffAndrey A. Chernov1998-05-152-5/+4
| | | | Notes: svn path=/head/; revision=36068