Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Moved flags_to_string and string_to_flags into libutil. It's used in | joe | 1999-12-30 | 1 | -1/+1 |
| | | | | many places nowadays. | ||||
* | sync with netbsd PR 8534, fix undefined C code. | alfred | 1999-10-07 | 1 | -1/+1 |
| | | | | Pointed out by: David A. Holland | ||||
* | Fix for new Kerberos4. Make a fist cut at PAM-ising while I'm here. | markm | 1999-09-19 | 2 | -27/+145 |
| | |||||
* | When a STAT command is sent to ftpd as an out-of-band transmission during | mharo | 1999-09-12 | 1 | -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. | markm | 1999-09-06 | 1 | -2/+2 |
| | |||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 9 | -9/+9 |
| | |||||
* | unifdef -DINTERNAL_LS - it's too useful to be off by default. If anyone | peter | 1999-08-26 | 5 | -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 specified | mpp | 1999-06-28 | 1 | -2/+3 |
| | | | | | | more than once. Pointed-out-by: sheldonh | ||||
* | Add missing -A option to SYNOPSIS. | ghelmer | 1999-05-04 | 1 | -1/+2 |
| | | | | PR: docs/10771 | ||||
* | More egcs warning fixes: | imp | 1999-04-25 | 1 | -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() and | brian | 1999-04-07 | 1 | -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 of | brian | 1999-04-06 | 1 | -9/+3 |
| | | | | | | gethostbyaddr() & gethostbyname(). Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length. | ||||
* | Oops, I missed a few more /etc/nologin references yesterday. It appears | asami | 1999-01-12 | 1 | -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 of | billf | 1998-12-02 | 1 | -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" instead | jdp | 1998-11-21 | 1 | -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. | des | 1998-10-13 | 1 | -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. | alex | 1998-09-29 | 1 | -2/+2 |
| | | | | | PR: 8094 Submitted by: Christoph Weber-Fahr <wefa@callcenter.systemhaus.net> | ||||
* | Document the use of lines beginning with a '#' as comment lines. | jkoshy | 1998-07-09 | 1 | -1/+4 |
| | | | | PR: 5676 | ||||
* | signal() returns SIG_ERR on error, not int. | jb | 1998-06-03 | 1 | -4/+4 |
| | | | | time() requires a time_t pointer, not a long. | ||||
* | Make ftpd(8) honor its default group setting in the config files. | steve | 1998-05-25 | 1 | -7/+16 |
| | | | | | PR: 6682 Submitted by: Max Euston <meuston@jmrodgers.com> | ||||
* | Back out "always UTC" fix since some people want visually identical 'ls' | ache | 1998-05-18 | 1 | -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 chroot | ache | 1998-05-16 | 1 | -1/+3 |
| | |||||
* | Return back vfork and use execve with TZ="" environment in vfork case | ache | 1998-05-15 | 1 | -5/+7 |
| | |||||
* | Use fork instead of vfork since setenv clobber parent environment | ache | 1998-05-15 | 1 | -4/+2 |
| | | | | Fork already used for INTERNAL_LS in anycase | ||||
* | Move TZ="" assignment just before exec to not touch other time stuff | ache | 1998-05-15 | 2 | -5/+4 |
| | |||||
* | Do TZ= as first thing, since FTP protocol is unable to tell zone offset in | ache | 1998-05-15 | 1 | -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. | bde | 1998-05-04 | 1 | -4/+3 |
| | |||||
* | Set TCP_NODELAY on the control channel to improve performance a bit. | dg | 1998-04-28 | 1 | -1/+8 |
| | |||||
* | Fixed a bug where if MAXUSRARGS amount of args were passed in, the argv[] | dg | 1998-04-27 | 1 | -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: 5812 | danny | 1998-02-25 | 1 | -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. | eivind | 1998-02-24 | 1 | -2/+3 |
| | |||||
* | MFS. | obrien | 1998-02-18 | 1 | -2/+7 |
| | |||||
* | Various sprintf -> snprintf fixes. | imp | 1997-12-24 | 2 | -9/+12 |
| | | | | | Minor style fix (strcpy(foo,"") -> *foo = '\0') Obtained from: OpenBSD(?) | ||||
* | FTP_INTERNAL_LS -> FTPD_INTERNAL_LS | steve | 1997-12-04 | 1 | -2/+2 |
| | | | | Pointed out by: Jaye Mathisen <mrcpu@cdsnet.net> | ||||
* | Cosmetics in man page. Exit(-1) -> exit(1). | charnier | 1997-11-21 | 6 | -30/+36 |
| | |||||
* | Changes to support full make parallelism (-j<n>) in the world | jkh | 1997-10-05 | 1 | -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, where | phk | 1997-09-18 | 1 | -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 private | tg | 1997-09-05 | 3 | -7/+8 |
| | | | | version ftpd_logwtmp(). | ||||
* | logwtmp() prototype is in <libutil.h>. | tg | 1997-09-05 | 1 | -2/+1 |
| | |||||
* | Make useage of hostname global variable consistent. | davidn | 1997-07-24 | 2 | -7/+8 |
| | | | | | PR: 4135 Based on submitted patch by: blank@fox.uni-trier.de | ||||
* | Tell the chroot()ed user that "access restrictions apply". | danny | 1997-05-21 | 1 | -1/+6 |
| | |||||
* | login_getclass() -> login_getpwclass(). | davidn | 1997-05-10 | 1 | -2/+2 |
| | |||||
* | Adds anon ftp virtual host capability to ftpd, using /etc/ftphosts for | davidn | 1997-04-29 | 4 | -17/+271 |
| | | | | definition of a system's virtual hosts. | ||||
* | YAMF2.2: Allow @group entries in /etc/ftpusers & /etc/ftpchroot to deny | davidn | 1997-04-27 | 2 | -10/+35 |
| | | | | and allow chroot access to entire groups. | ||||
* | Document internal ls, how to compile it in and what it changes wrt | davidn | 1997-04-26 | 1 | -1/+20 |
| | | | | anon ftp and chrooted users. | ||||
* | Adds optional "internal ls" support for ftpd, by collecting | davidn | 1997-04-26 | 5 | -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. | davidn | 1997-04-23 | 3 | -7/+58 |
| | |||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-28 | 1 | -2/+2 |
| | | | | posix standard on the topic. | ||||
* | Remove some incorrect text on how passwords are validated. | mpp | 1997-03-25 | 1 | -3/+2 |
| | | | | | | Closes PR# 3050. Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru> | ||||
* | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 9 | -9/+9 |
| |