summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd
Commit message (Collapse)AuthorAgeFilesLines
* Hopefully better fix for logwtmp(): rename to a privatetg1997-09-053-7/+8
| | | | version ftpd_logwtmp().
* logwtmp() prototype is in <libutil.h>.tg1997-09-051-2/+1
|
* Make useage of hostname global variable consistent.davidn1997-07-242-7/+8
| | | | | PR: 4135 Based on submitted patch by: blank@fox.uni-trier.de
* Tell the chroot()ed user that "access restrictions apply".danny1997-05-211-1/+6
|
* login_getclass() -> login_getpwclass().davidn1997-05-101-2/+2
|
* Adds anon ftp virtual host capability to ftpd, using /etc/ftphosts fordavidn1997-04-294-17/+271
| | | | definition of a system's virtual hosts.
* YAMF2.2: Allow @group entries in /etc/ftpusers & /etc/ftpchroot to denydavidn1997-04-272-10/+35
| | | | and allow chroot access to entire groups.
* Document internal ls, how to compile it in and what it changes wrtdavidn1997-04-261-1/+20
| | | | anon ftp and chrooted users.
* Adds optional "internal ls" support for ftpd, by collectingdavidn1997-04-265-8/+41
| | | | | | | | | | | modules from src/bin/ls, and handling exec(_PATH_LS,..) as a special case, very useful in an environment where many users are given chroot access. "~/etc/{s}pwd.db" files are still needed if uid/gid->user/group translation is desired. To enable this it must be compiled with the make variable FTP_INTERNAL_LS defined, either in /etc/make.conf or the environment.
* Add basic login.conf (sans authentication) support.davidn1997-04-233-7/+58
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-281-2/+2
| | | | posix standard on the topic.
* Remove some incorrect text on how passwords are validated.mpp1997-03-251-3/+2
| | | | | | Closes PR# 3050. Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
* Revert $FreeBSD$ to $Id$peter1997-02-229-9/+9
|
* #include <string.h> to help silence -Wall.mpp1997-02-201-0/+1
|
* Actually allow the -R flag.guido1997-02-131-1/+1
|
* Oops, fix white space in last commit.dg1997-01-281-1/+1
|
* Fix signal handler race condition.dg1997-01-281-0/+5
|
* Sweep through the tree fixing mmap() usage:alex1997-01-161-1/+1
| | | | | | | | | | | | - Use MAP_FAILED instead of the constant -1 to indicate failure (required by POSIX). - Removed flag arguments of '0' (required by POSIX). - Fixed code which expected an error return of 0. - Fixed code which thought any address with the high bit set was an error. - Check for failure where no checks were present. Discussed with: bde
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-149-9/+9
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Document the fact that the administrator may havempp1997-01-111-2/+7
| | | | | | | to change syslog's config file in order for all of ftpd's log messages to be displayed by syslogd. Closes PR# 1559.
* add flag to allow only anonymous ftp loginstorstenb1996-11-302-3/+14
| | | | Reviewed by: pst
* Conditionalize setsockopt IP_PORTRANGE to make ftpd portable.pst1996-11-201-6/+11
|
* Truncate argument list to avoid buffer overflows.pst1996-11-201-5/+9
| | | | Cannidate for: 2.1 and 2.2
* Implement alternative strategy if it is impossible to confirmache1996-10-183-22/+9
| | | | | | | password: ask for it, but don't tell that S/key password required. It looks like non-s/key system from outside. Additionally tell that s/key required when it is so for normal case
* Oops, fix my previous commit, now tell user his s/key parametersache1996-10-171-3/+4
|
* Don't ever ask for password if it is impossible to confirm itache1996-10-173-9/+22
| | | | | | | It happens if 1) regular passwords not allowed, 2) skey database not activated for given user. Under some rare circumstanes skey_challenge can return empty diagnostic or even previous buffer, fix it.
* add forgotten $Id$wosch1996-09-227-1/+11
|
* Fix some compilation warnings.pst1996-09-211-1/+1
|
* Reviewed by: variousjulian1996-08-092-3/+49
| | | | | | | Submitted by: archie@whistle.com allow ftpd to bind to a single address/interface this allows easy split services.
* Tidy up the Kerberised bits. While I'm here, fix some -Wall complaints.markm1996-08-093-6/+19
|
* Fix another bogon.phk1996-08-061-2/+2
|
* Make password checking in ftpd work again.phk1996-08-061-3/+3
|
* Convert STATS and PARANOID to run-time options.pst1996-08-055-78/+143
| | | | | | | | Document the new -R (relax paranoia) option. From NetBSD/Lite2: code and man page cleanups, Kerberos IV hooks (relax, we're still exportable), and /etc/ftpchroot feature for semi-anonymous accounts
* If PARANOID is set, do not allow PORT commands to remote ports less than 1024pst1996-08-044-51/+75
| | | | | | | | | | | | | | | | | or addresses other than the requestor's address. This violates the FTP protocol (hmm...as I write this, I'm going to change this to a run-time var.) Require login before PASV and RNTO commands. Close unused PASV ports so they don't hang around forever. Do not allow file overwrites via rename or STOR when anonymous (suspenders). Clean up buffer utilization. My code, but heavily inspired by Hobbit's changes to wu-ftpd as pointed out by Mike Prettejohn and Kit Knox.
* If hostname > UT_HOSTSIZE, use its numerical address instead to keepache1996-06-171-1/+16
| | | | valid utmp and wtmp entries
* backout yacc changesphk1996-06-021-2/+2
|
* Use the sysctl settable data port ranges rather than the staticallypeter1996-05-312-30/+17
| | | | | compiled values. see sysctl net.inet.ip.portrange.* and the IP_PORTRANGE discussion in <netinet/in.h>
* Fix yacc rule usage.phk1996-05-301-2/+2
|
* Implemented a "-D" option that causes ftpd to detach and become a daemon -dg1996-04-112-29/+120
| | | | | | | | | accepting connections on the FTP port and forking children processes to handling them. This is lower overhead than spawning ftpd from inetd and can be a significant win on busy FTP servers. Be sure to disable ftpd in inetd.conf if you decide to use this option. These changes are based on similar changes I made to wu-ftpd and have been in use on wcarchive for several months.
* Fix bug that caused a coredump when attempting to enter passive mode whendg1996-03-181-1/+5
| | | | | | | not logged in. Original fix slightly altered by me to return the correct reply code. Submitted by: Vadim Kolontsov <vadim@tversu.ac.ru>
* Make ftpd use setproctitle() from libutilpeter1996-01-014-10/+16
| | | | | I've left the old code in there under #ifdef OLD_SETPROCTITLE in case somebody wants to try to compile out ftpd on some other machine.
* Timeout when an expected accept does not happen after all.guido1995-11-291-3/+11
| | | | | | This gets rids of dozens of hanging ftpd's because some broken pc implementation `forgets' to open a passive connection. Obtained from: Wietse Venema
* Check for expired passwords before allowing access to the system.mpp1995-08-281-1/+2
|
* Use data ports in the range 40000..44999 by default to enhance FTP usabilitypst1995-08-053-8/+46
| | | | | | | in a firewall environment. Original idea by Mark Tracy (?). Reviewed by: wollman Submitted by: pst
* Remove trailing whitespace.rgrimes1995-05-302-4/+4
|
* Make last change a little more robust by checking for failure of getcwd().dg1995-05-221-1/+4
|
* Set "HOME" so that tilde expands correctly. It previously was always root'sdg1995-05-221-0/+7
| | | | directory /root.
* Speed up ftpd and make it more efficient:wollman1995-05-031-7/+62
| | | | | | | | | | | | | - set TCP_NOPUSH to keep from sending short packets at each write(2) boundary - set SO_SNDBUF to 64k so we have a reasonable amount of buffer space - for a regular file in binary mode which is not being restarted and is . smaller than 16 Meg, use mmap(2) and write(2) the whole file in one big gulp In the most common circumstances, this should dramatically reduce the system-call load from ftpd, since the call to write() will not return until the entire file has been written, rather than writing just a few K at a time in a loop.
* Fix two more references to /etc/motd that I overlooked. PR #29gpalmer1995-04-151-2/+2
|
* Close PR #29. The file should be /etc/ftpmotd, not /etc/motd.gpalmer1995-04-151-1/+1
|
OpenPOWER on IntegriCloud