summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Extend the format of /etc/ftpchroot so an alternative chrootyar2003-01-261-1/+1
| | | | | | | | | | | directory can be specified for a user or a group. Add the manpage ftpchroot(5) since the file's format has grown complex enough. PR: bin/45327 Portions submitted by: Hideki SAKAMOTO <sakamoto@hlla.is.tsukuba.ac.jp> MFC after: 1 week
* Teach "ls -Z" to use the policy-agnostic MAC label interfaces ratherrwatson2002-10-241-1/+1
| | | | | | | | | | | than the LOMAC-specific interfaces for listing MAC labels. This permits ls to view MAC labels in a manner similar to getfmac, when ls is used with the -l argument. Next generation LOMAC will use the MAC Framework so should "just" work with this and other policies. Not the prettiest code in the world, but then, neither is ls(1). Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Remove a GCC-specific command-line option. We should be using WARNS=nmarkm2002-06-281-1/+1
| | | | for this stuff.
* Put the last added source file in proper order.obrien2002-02-271-1/+1
| | | | (and dcc the committer a dictionary)
* Lock down with WFORMAT?=1, with overrides in the subdirectories whichkris2002-02-041-0/+1
| | | | are not yet warning-clean. Tested on i386 and alpha.
* Fixed missing DPADD in previous commit. Fixed most style bugs related tobde2001-12-291-2/+3
| | | | DPADD and LDADD.
* Link with libm to take advantage of the -h flag to ls.joe2001-12-291-0/+1
| | | | Submitted by: Mike Makonnen <mike_makonnen@yahoo.com>
* Add lomac.c.green2001-11-271-1/+1
| | | | Found by: ken
* Remove S/Key. PAM can do its job. Well, not quite - there is an issuemarkm2001-07-091-4/+8
| | | | | | | with the conversation function and challenges which needs to be revisited, so in the interim a hack is introduced to provide an OPIE challenge (which is random if OPIE does not apply) at all non-anonymnous logins.
* 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
* Add full PAM support for account management and sessions.markm2001-03-271-3/+2
| | | | | | | 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
|
* 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.
* Switch over to using the new fflagstostr and strtofflags library calls.joe2000-06-171-2/+2
|
* Finally unifdef -DINTERNAL_LS.ru2000-03-131-1/+1
|
* 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
* another tcp apps IPv6 updates.(should be make world safe)shin2000-01-271-0/+1
| | | | | | | 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.
* Fix for new Kerberos4. Make a fist cut at PAM-ising while I'm here.markm1999-09-191-7/+5
|
* Add common error lib for the Kerberos case.markm1999-09-061-2/+2
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* unifdef -DINTERNAL_LS - it's too useful to be off by default. If anyonepeter1999-08-261-3/+1
| | | | | really dislikes this, we could add a switch to disable it at runtime and check in popen.c.
* 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.
* Simplified by using new yacc rules and by not generating y.tab.h.bde1998-05-041-4/+3
|
* 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>
* Adds anon ftp virtual host capability to ftpd, using /etc/ftphosts fordavidn1997-04-291-2/+2
| | | | definition of a system's virtual hosts.
* Adds optional "internal ls" support for ftpd, by collectingdavidn1997-04-261-1/+8
| | | | | | | | | | | 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-231-2/+2
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Tidy up the Kerberised bits. While I'm here, fix some -Wall complaints.markm1996-08-091-1/+4
|
* Convert STATS and PARANOID to run-time options.pst1996-08-051-1/+8
| | | | | | | | 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-041-1/+1
| | | | | | | | | | | | | | | | | 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.
* backout yacc changesphk1996-06-021-2/+2
|
* Use the sysctl settable data port ranges rather than the staticallypeter1996-05-311-1/+0
| | | | | 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
|
* Make ftpd use setproctitle() from libutilpeter1996-01-011-2/+2
| | | | | 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.
* Use data ports in the range 40000..44999 by default to enhance FTP usabilitypst1995-08-051-0/+1
| | | | | | | in a firewall environment. Original idea by Mark Tracy (?). Reviewed by: wollman Submitted by: pst
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* Change the library order so libcrypt is the last library in the list.nate1995-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.
* Add some functionality to ftpd so it logs all anonymous fileguido1995-02-261-1/+1
| | | | | | | transfers. It only does this when -S is set. Reviewed by: Submitted by: Obtained from: logdaemon package
* Include most of the logdaemon v4.4 S/key changespst1994-10-191-2/+2
|
* Clean up makefilepst1994-09-301-3/+6
|
* Put skey support in ftpd.guido1994-08-211-3/+4
| | | | | Reviewed by: Submitted by: guido
* LDADD= -lcryptcsgr1994-08-201-0/+1
| | | | Submitted by: Geoff
OpenPOWER on IntegriCloud