summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd
Commit message (Collapse)AuthorAgeFilesLines
...
* $Id$ -> $FreeBSD$peter1999-08-289-9/+9
|
* unifdef -DINTERNAL_LS - it's too useful to be off by default. If anyonepeter1999-08-265-32/+7
| | | | | really dislikes this, we could add a switch to disable it at runtime and check in popen.c.
* Update the SYNOPSIS to reflect that the -l option can be specifiedmpp1999-06-281-2/+3
| | | | | | more than once. Pointed-out-by: sheldonh
* Add missing -A option to SYNOPSIS.ghelmer1999-05-041-1/+2
| | | | PR: docs/10771
* More egcs warning fixes:imp1999-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
* Ensure that things returned by gethostname() andbrian1999-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
* Use realhostname() rather than various combinations ofbrian1999-04-061-9/+3
| | | | | | gethostbyaddr() & gethostbyname(). Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length.
* Oops, I missed a few more /etc/nologin references yesterday. It appearsasami1999-01-121-3/+3
| | | | | | my check of the tree was incomplete. Sorry guys. Reported by: Ben Smithurst <ben@scientia.demon.co.uk>
* Update to correctly reflect the default values ofbillf1998-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>
* Find "klogin.c" in "src/lib/libpam/modules/pam_kerberosIV" insteadjdp1998-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.
* Set the user context correctly so that cd ~ does the right thing.des1998-10-131-9/+4
| | | | | | PR: bin/7943 bin/8293 Submitted by: Bill Fenner <fenner@parc.xerox.com> Approved by: jkh
* Added double quotes around CHMOD description to prevent garbled output.alex1998-09-291-2/+2
| | | | | PR: 8094 Submitted by: Christoph Weber-Fahr <wefa@callcenter.systemhaus.net>
* Document the use of lines beginning with a '#' as comment lines.jkoshy1998-07-091-1/+4
| | | | PR: 5676
* signal() returns SIG_ERR on error, not int.jb1998-06-031-4/+4
| | | | time() requires a time_t pointer, not a long.
* Make ftpd(8) honor its default group setting in the config files.steve1998-05-251-7/+16
| | | | | PR: 6682 Submitted by: Max Euston <meuston@jmrodgers.com>
* Back out "always UTC" fix since some people want visually identical 'ls'ache1998-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
* Return back initial tzset() must be before first chrootache1998-05-161-1/+3
|
* Return back vfork and use execve with TZ="" environment in vfork caseache1998-05-151-5/+7
|
* Use fork instead of vfork since setenv clobber parent environmentache1998-05-151-4/+2
| | | | Fork already used for INTERNAL_LS in anycase
* Move TZ="" assignment just before exec to not touch other time stuffache1998-05-152-5/+4
|
* Do TZ= as first thing, since FTP protocol is unable to tell zone offset inache1998-05-151-2/+3
| | | | | | | | | any case. It makes no difference for anon account (since chroot already makes it GMT), but if you do mirror with special non-anon login, in old variant your mirror will be wholy retransmitted twice in the year due to time zone changes (/etc/localtime plays bad role here)
* Simplified by using new yacc rules and by not generating y.tab.h.bde1998-05-041-4/+3
|
* Set TCP_NODELAY on the control channel to improve performance a bit.dg1998-04-281-1/+8
|
* Fixed a bug where if MAXUSRARGS amount of args were passed in, the argv[]dg1998-04-271-2/+4
| | | | | array would end up without the NULL pointer termination, causing the glob code to glob whatever garbage happend to follow on the stack.
* PR: 5812danny1998-02-251-1/+5
| | | | | | Pointed-in-the-right-driection-by: Mike Smith and Steve Price Close syslogging before calling ls_main()
* Make ftpd log IP-addresses in addition to hostnames.eivind1998-02-241-2/+3
|
* MFS.obrien1998-02-181-2/+7
|
* Various sprintf -> snprintf fixes.imp1997-12-242-9/+12
| | | | | Minor style fix (strcpy(foo,"") -> *foo = '\0') Obtained from: OpenBSD(?)
* FTP_INTERNAL_LS -> FTPD_INTERNAL_LSsteve1997-12-041-2/+2
| | | | Pointed out by: Jaye Mathisen <mrcpu@cdsnet.net>
* Cosmetics in man page. Exit(-1) -> exit(1).charnier1997-11-216-30/+36
|
* Changes to support full make parallelism (-j<n>) in the worldjkh1997-10-051-3/+4
| | | | | | target. Reviewed by: <many different folks> Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
* Many places in the code NULL is used in integer context, wherephk1997-09-181-2/+2
| | | | | | | | | plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments. PR: 2752 Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
* 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
OpenPOWER on IntegriCloud