summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd
Commit message (Collapse)AuthorAgeFilesLines
* Move the definition of epsvall out of #ifdef VIRTUAL_HOSTING so thatdd2001-06-131-2/+2
| | | | the latter is not required for ftpd to compile.
* Cleaner method of making PAMable apps static (in the optional case ofmarkm2001-04-281-5/+0
| | | | wanting static apps).
* Damn. That should be _enable_ static linking, not _force_ static linking.markm2001-04-281-1/+0
|
* Enable (optional) static linking.markm2001-04-281-0/+6
| | | | Asked for by: BDE
* Change names of functions and variables with global scope that aremarkm2001-04-283-19/+19
| | | | | in conflict with library values of the same name. This allows static linking.
* mdoc(7) police: normalize .Nd.ru2001-04-181-2/+1
|
* Previous clobbered a work-in-progress. Here is the merged result:peter2001-04-171-3/+6
| | | | | | | | | | | | | | | | Limit the "pathname" glob to one item, as that is what all users of it are expecting, except for LIST. Always glob, instead of when the first character is a ~. For example, if you had directories ~/x1, and ~/x2, then "cwd x[1]" would fail, but "cwd ~/x[1]" would work since it was globbed due to the ~ character. Also, "cwd ~/x[12]" used to arbitarily work as it used the first expansion (ie: x1) without an error. Make it return '550 ambiguous' instead of '550 not found' so that the user can see the difference. For LIST, just use the user supplied string as the popen does the glob. Problem noticed by: Ajay Mittal <amittal@iprg.nokia.com>
* Limit number of paths returned via glob() for authorized usersjedgar2001-04-171-0/+4
| | | | using tilde expansion.
* Support the empty "PASS\r\n" command.green2001-04-161-3/+7
|
* Document that SITE extensions are disabled for anonymous logins.ru2001-04-161-0/+2
| | | | Obtained from: logdaemon package by Wietse Venema
* Add the "SITE MD5 filename" facility.phk2001-04-152-1/+16
| | | | | | | | | This allows you to determine if the file on the other side is the same as the one you have without transferring the entire file to compare. Needless to say, if the server end lies to you this check doesn't work, but on the other hand, if it lies to you about the files checksum, what can you trust from it ?
* Add full PAM support for account management and sessions.markm2001-03-272-12/+52
| | | | | | | The PAM_FAIL_CHECK and PAM_END macros in su.c came from the util-linux package's PAM patches to the BSD login.c Submitted by: "David J. MacKenzie" <djm@web.us.uu.net>
* - Backout botched attempt to intoduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for libexec/ to 8.ru2001-03-201-1/+0
|
* Teach ftpd about the new GLOB_MAXPATH flag.jlemon2001-03-192-0/+11
|
* When the file was transferred using sendfile(2), we forgot to keep trackdes2001-03-111-0/+1
| | | | | | of the transferred byte count. MFC candidate. PR: bin/25699
* Change the read-only reply to "550 Permission denied.".des2001-02-191-1/+1
|
* Limit commands that can be issued when not logged in:jedgar2001-01-201-70/+90
| | | | | | TYPE, STRU, MODE, ALLO, STAT, ABOR, SITE IDLE, SYST, REST Reviewed by: kris, sheldon
* In send_data(), use sendfile() instead of the mmap() algorithm.dan2000-12-201-20/+22
|
* mdoc(7) police: removed hard sentence breaks, run through spell-checker.ru2000-12-181-12/+15
|
* Fix typo.demon2000-12-171-1/+1
| | | | | PR: 23591 Submitted by: mavetju@chello.nl
* Add option -E to disable EPSV which throws certain stateful firewallsphk2000-12-163-35/+89
| | | | | | | | | into confusion. Add option -r to make ftpd support only read-only operations. Submitted by: Flemming (F3) Jacobsen <fj@batmule.dk> Reviewed by: phk
* The GCC 2.96 snapshots have slightly different rules for finding includeobrien2000-12-011-0/+1
| | | | | | | files. Mostly -I${.CURDIR} was needed -- especially for YACC generated files as the new cpp does not look in the ultimate source file (ie, the .y file)'s directory as told by the "#line" directive. Some were misspellings of "-I${.CURDIR}" as "-I.".
* There is no src/contrib-crypto/ anything directory. So don't look forobrien2000-12-011-2/+1
| | | | include files in subdirs of it.
* Prevent leakage of information about anonymous user's homedirdanny2000-11-261-2/+6
| | | | | | via 'QUOTE CWD'. Reviewed by: des
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Format string paranoiakris2000-11-191-2/+2
|
* Fix broken PAM with SKEY behaviour: the skey.access file checksguido2000-10-121-7/+8
| | | | were broken because the code failed to set PAM_RHOST.
* Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and therebywollman2000-10-101-2/+3
| | | | <time.h>).
* remove redundant optreset declarationimp2000-09-041-1/+0
|
* Don't set an arbitrary limit on username lengths; use MAXLOGNAMEsheldonh2000-08-171-1/+1
| | | | | | | instead. PR: 20675 Submitted by: Vladimir B Grebenschikov <vova@express.ru>
* Fix `control socket: Protocol not supported' failure inru2000-08-161-3/+2
| | | | standalone -D mode when neither -4 nor -6 is specified.
* Honour skey.access(5) by allowing UNIX passwords when skeyaccess(3)sheldonh2000-08-011-4/+10
| | | | | | | | | | | | has set pwok to a non-zero value. Previously, the fact that skey.access(5) allowed UNIX passwords for this connection attempt was ignored, even in the NOPAM case. This only addresses the NOPAM case; when libpam is used, the problem will persist. PR: 20333
* Don't reply "not a plain file" when the requested file doesn't exist.des2000-07-171-2/+8
|
* Explain that the -S option only logs file downloads, not all transfers.ben2000-07-111-1/+1
| | | | | PR: 16934 Submitted by: Kurt Zeilenga <kurt@OpenLDAP.org>
* Fix a problem in the virtual host address compare code which causeddavidn2000-06-261-8/+11
| | | | | | | duplicated host entries in /etc/ftphosts not to be folded. Make sure we exit the loop on a match. PR: bin/19390
* Switch over to using the new fflagstostr and strtofflags library calls.joe2000-06-171-2/+2
|
* 1. Add IPv6 portrange restriction code (-U flag) to passive().nsayer2000-05-251-0/+31
| | | | | 2. Add portrange restriction code (for both v4 and v6) to the EPSV processing stuff.
* Finally unifdef -DINTERNAL_LS.ru2000-03-131-1/+1
|
* Doc fix: remove references to ~ftp/bin/ls as we have FTPD_INTERNAL_LSpeter2000-02-171-8/+0
| | | | | | unconditionally active already. Noticed by: obrien
* Add more dual stack consideration.shin2000-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
* Revert part of the last commit, remove {g|s}etflags from the libcjoe2000-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
* Remove unnecessary -g for CFLAGS.shin2000-02-031-1/+1
| | | | | | | -g for CFLAGS which was set at debugging time was mistakenly committed, so removed it. Approved by: jkh
* Fix ftpd core dump when hostname is not set.shin2000-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
* another tcp apps IPv6 updates.(should be make world safe)shin2000-01-277-119/+812
| | | | | | | ftp, telnet, ftpd, faithd also telnet related sync with crypto, secure, kerberosIV Obtained from: KAME project
* Moved flags_to_string and string_to_flags into libutil. It's used injoe1999-12-301-1/+1
| | | | many places nowadays.
* sync with netbsd PR 8534, fix undefined C code.alfred1999-10-071-1/+1
| | | | Pointed out by: David A. Holland
* Fix for new Kerberos4. Make a fist cut at PAM-ising while I'm here.markm1999-09-192-27/+145
|
* When a STAT command is sent to ftpd as an out-of-band transmission duringmharo1999-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>
* Add common error lib for the Kerberos case.markm1999-09-061-2/+2
|
OpenPOWER on IntegriCloud