summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/extern.h
Commit message (Collapse)AuthorAgeFilesLines
* MFC: r262136brueffer2014-02-241-5/+1
| | | | | | | Remove the 3rd clause ("advertising clause") of the BSD license as permitted by the University of Berkeley on July 22, 1999. Reviewed by: imp
* Move variable externs into extern.h so they are checked against the definitions.obrien2009-04-071-0/+29
|
* Prevent cross-site forgery attacks on ftpd(8) due to splittingcperciva2008-12-231-1/+1
| | | | | | | | | | | | | long commands into multiple requests. [08:12] Avoid calling uninitialized function pointers in protocol switch code. [08:13] Merry Christmas everybody... Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-08:12.ftpd, FreeBSD-SA-08:13.protosw
* Silence some FORMAT_AUDIT warnings (one left)kris2002-02-041-2/+2
|
* o Eliminate __Pimp2002-02-031-33/+33
| | | | | | o Use new-style function definitions o remove some !__STDC__ code o eliminate register
* Log wtmp according to an address family properly.ume2002-01-281-1/+4
| | | | | | Reported by: matusita Reviewed by: matusita MFC after: 1 week
* Remove S/Key. PAM can do its job. Well, not quite - there is an issuemarkm2001-07-091-3/+0
| | | | | | | 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.
* Change names of functions and variables with global scope that aremarkm2001-04-281-1/+1
| | | | | in conflict with library values of the same name. This allows static linking.
* another tcp apps IPv6 updates.(should be make world safe)shin2000-01-271-0/+16
| | | | | | | ftp, telnet, ftpd, faithd also telnet related sync with crypto, secure, kerberosIV Obtained from: KAME project
* $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.
* Hopefully better fix for logwtmp(): rename to a privatetg1997-09-051-1/+2
| | | | version ftpd_logwtmp().
* logwtmp() prototype is in <libutil.h>.tg1997-09-051-2/+1
|
* Adds optional "internal ls" support for ftpd, by collectingdavidn1997-04-261-1/+4
| | | | | | | | | | | 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.
* 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.
* Implement alternative strategy if it is impossible to confirmache1996-10-181-1/+1
| | | | | | | 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
* Don't ever ask for password if it is impossible to confirm itache1996-10-171-2/+2
| | | | | | | 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-221-0/+1
|
* If PARANOID is set, do not allow PORT commands to remote ports less than 1024pst1996-08-041-0/+4
| | | | | | | | | | | | | | | | | 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.
* Make ftpd use setproctitle() from libutilpeter1996-01-011-0/+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.
* BSD 4.4 Lite Libexec Sourcesrgrimes1994-05-271-0/+65
OpenPOWER on IntegriCloud