aboutsummaryrefslogtreecommitdiff
path: root/libexec/ftpd
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/2.2.5_cvscvs2svn1997-10-219-9/+9
| | | | | | | 'RELENG_2_2_5_RELEASE'. This commit was manufactured to restore the state of the 2.2.5-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* MFC: rename logwtmp() to ftpd_logwtmp().Thomas Gellekum1997-09-053-8/+8
| | | | Notes: svn path=/stable/2.2/; revision=29148
* MFC: fix usage of hostname variable.David Nugent1997-07-242-7/+8
| | | | | | | PR: 4135 Notes: svn path=/stable/2.2/; revision=27652
* Tell the chroot()ed user that "access restrictions apply" (YAMFC)Daniel O'Callaghan1997-05-211-1/+6
| | | | Notes: svn path=/stable/2.2/; revision=25987
* Merge from current: adds login.conf support & bugfix mmap failure.David Nugent1997-05-104-9/+60
| | | | Notes: svn path=/stable/2.2/; revision=25677
* Merge from -current: virtual hosting capability.David Nugent1997-04-294-17/+271
| | | | Notes: svn path=/stable/2.2/; revision=25284
* Mandoc fix.David Nugent1997-04-271-4/+4
| | | | Notes: svn path=/stable/2.2/; revision=25186
* Allow @group entries in /etc/ftpusers and /etc/ftpchroot to (respectively)David Nugent1997-04-272-13/+38
| | | | | | | deny and chroot ftp access to entire groups. Notes: svn path=/stable/2.2/; revision=25185
* Marge internal ls changes from -current.David Nugent1997-04-266-9/+61
| | | | Notes: svn path=/stable/2.2/; revision=25181
* YAMFC: remove some incorrect text on how passwords are validated.Mike Pritchard1997-03-251-3/+2
| | | | Notes: svn path=/stable/2.2/; revision=24243
* YAMFCGuido van Rooij1997-02-131-2/+2
| | | | Notes: svn path=/stable/2.2/; revision=22673
* Brought in fixes from 1.30/1.31: fix for signal handler race conditionDavid Greenman1997-01-281-1/+6
| | | | Notes: svn path=/stable/2.2/; revision=22059
* YAMFC: add a note to the -l option about configuring syslog.Mike Pritchard1997-01-111-2/+7
| | | | Notes: svn path=/stable/2.2/; revision=21554
* YAMFCPoul-Henning Kamp1996-12-032-3/+14
| | | | Notes: svn path=/stable/2.2/; revision=20111
* YAMFCPoul-Henning Kamp1996-11-212-11/+20
| | | | Notes: svn path=/stable/2.2/; revision=19913
* Implement alternative strategy if it is impossible to confirmAndrey A. Chernov1996-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 Notes: svn path=/head/; revision=19018
* Oops, fix my previous commit, now tell user his s/key parametersAndrey A. Chernov1996-10-171-3/+4
| | | | Notes: svn path=/head/; revision=18993
* Don't ever ask for password if it is impossible to confirm itAndrey A. Chernov1996-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. Notes: svn path=/head/; revision=18989
* add forgotten $Id$Wolfram Schneider1996-09-227-1/+11
| | | | Notes: svn path=/head/; revision=18471
* Fix some compilation warnings.Paul Traina1996-09-211-1/+1
| | | | Notes: svn path=/head/; revision=18449
* Reviewed by: variousJulian Elischer1996-08-092-3/+49
| | | | | | | | | | Submitted by: archie@whistle.com allow ftpd to bind to a single address/interface this allows easy split services. Notes: svn path=/head/; revision=17483
* Tidy up the Kerberised bits. While I'm here, fix some -Wall complaints.Mark Murray1996-08-093-6/+19
| | | | Notes: svn path=/head/; revision=17478
* Fix another bogon.Poul-Henning Kamp1996-08-061-2/+2
| | | | Notes: svn path=/head/; revision=17453
* Make password checking in ftpd work again.Poul-Henning Kamp1996-08-061-3/+3
| | | | Notes: svn path=/head/; revision=17451
* Convert STATS and PARANOID to run-time options.Paul Traina1996-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 Notes: svn path=/head/; revision=17435
* If PARANOID is set, do not allow PORT commands to remote ports less than 1024Paul Traina1996-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. Notes: svn path=/head/; revision=17433
* If hostname > UT_HOSTSIZE, use its numerical address instead to keepAndrey A. Chernov1996-06-171-1/+16
| | | | | | | valid utmp and wtmp entries Notes: svn path=/head/; revision=16433
* backout yacc changesPoul-Henning Kamp1996-06-021-2/+2
| | | | Notes: svn path=/head/; revision=16072
* Use the sysctl settable data port ranges rather than the staticallyPeter Wemm1996-05-312-30/+17
| | | | | | | | compiled values. see sysctl net.inet.ip.portrange.* and the IP_PORTRANGE discussion in <netinet/in.h> Notes: svn path=/head/; revision=16033
* Fix yacc rule usage.Poul-Henning Kamp1996-05-301-2/+2
| | | | Notes: svn path=/head/; revision=16015
* Implemented a "-D" option that causes ftpd to detach and become a daemon -David Greenman1996-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. Notes: svn path=/head/; revision=15196
* Fix bug that caused a coredump when attempting to enter passive mode whenDavid Greenman1996-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> Notes: svn path=/head/; revision=14667
* Make ftpd use setproctitle() from libutilPeter Wemm1996-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. Notes: svn path=/head/; revision=13139
* Timeout when an expected accept does not happen after all.Guido van Rooij1995-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 Notes: svn path=/head/; revision=12532
* Check for expired passwords before allowing access to the system.Mike Pritchard1995-08-281-1/+2
| | | | Notes: svn path=/head/; revision=10401
* Use data ports in the range 40000..44999 by default to enhance FTP usabilityPaul Traina1995-08-053-8/+46
| | | | | | | | | | in a firewall environment. Original idea by Mark Tracy (?). Reviewed by: wollman Submitted by: pst Notes: svn path=/head/; revision=9933
* Remove trailing whitespace.Rodney W. Grimes1995-05-302-4/+4
| | | | Notes: svn path=/head/; revision=8870
* Make last change a little more robust by checking for failure of getcwd().David Greenman1995-05-221-1/+4
| | | | Notes: svn path=/head/; revision=8697
* Set "HOME" so that tilde expands correctly. It previously was always root'sDavid Greenman1995-05-221-0/+7
| | | | | | | directory /root. Notes: svn path=/head/; revision=8696
* Speed up ftpd and make it more efficient:Garrett 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. Notes: svn path=/head/; revision=8240
* Fix two more references to /etc/motd that I overlooked. PR #29Gary Palmer1995-04-151-2/+2
| | | | Notes: svn path=/head/; revision=7842
* Close PR #29. The file should be /etc/ftpmotd, not /etc/motd.Gary Palmer1995-04-151-1/+1
| | | | Notes: svn path=/head/; revision=7841
* Change the library order so libcrypt is the last library in the list.Nate Williams1995-03-181-2/+2
| | | | | | | | | libskey contains references to _crypt and can't resolve it unless -lcrypt occurs after it in the link command. This only occurs when linking statically. Notes: svn path=/head/; revision=7127
* Add some functionality to ftpd so it logs all anonymous fileGuido van Rooij1995-02-264-3/+88
| | | | | | | | | | transfers. It only does this when -S is set. Reviewed by: Submitted by: Obtained from: logdaemon package Notes: svn path=/head/; revision=6740
* recommit rev 1.5 of ftpd, I fatfingered a commandPaul Traina1994-10-271-4/+12
| | | | Notes: svn path=/head/; revision=3938
* Printing out /etc/motd when a ftp login occurs is a security holePaul Traina1994-10-271-2/+1
| | | | | | | | | | | | | | (as is printing out a version number at the telnet login banner). Don't print out /etc/motd when people login, instead if present, print out /etc/ftpmotd. It looks like 4.4lite2 has done something similar (perhaps for different reasons) because /etc/motd no longer shows up on vangogh. Folks who like the old behavior can create a symbolic link to motd. Notes: svn path=/head/; revision=3936
* Figured it out, misapplied a patch, ftpd now works again.Paul Traina1994-10-221-1/+1
| | | | Notes: svn path=/head/; revision=3777
* Fix broken command parser (fall back 10 yards and scratch head).Paul Traina1994-10-221-1/+1
| | | | Notes: svn path=/head/; revision=3776
* Include most of the logdaemon v4.4 S/key changesPaul Traina1994-10-193-4/+5
| | | | Notes: svn path=/head/; revision=3702
* Clean up makefilePaul Traina1994-09-301-3/+6
| | | | Notes: svn path=/head/; revision=3250