summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/logwtmp.c
Commit message (Collapse)AuthorAgeFilesLines
* Set ut_line to "ftpd" for ftpd.ed2010-02-091-0/+1
| | | | | | | | This makes it a little easier to figure out which application was responsible for this log entry. Ideally we should add an ut_process or something similar. Suggested by: Vincent Poy <vincepoy gmail com>
* Really disable wtmp logging when chrooting.ed2010-01-181-1/+1
| | | | | | | | Also perform a small cleanup to ftpd_logwtmp(). Just use a NULL parameter for the username to indicate a logout, instead of an empty string. Reported by: Alexey Shuvaev <shuvaev physik uni-wuerzburg de>
* Port ftpd to utmpx.ed2010-01-131-34/+22
| | | | | | | | Unfortunately I have to partially wreck its functionality, though. ftpd used to keep a file descriptor to the wtmp, which allowed it to work from within a chroot. The current utmpx implementation doesn't offer a way to do this. Maybe we can address this in the future, if it turns out to be a real issue.
* Use __FBSDID.yar2004-11-181-2/+3
|
* Oops. Some ut_time stuff slipped through the cracks. These turned outpeter2002-11-171-1/+2
| | | | to be non-fatal due to stack alignment roundups.
* Remove the outdated casts to "char *" from the setsockopt(2),yar2002-07-241-1/+1
| | | | | | | | | write(2), and getipnodebyaddr(3) calls. Now all the above functions accept "void *" in that arguments and have prototypes. Thus, the casts are useless under the normal circumstances (and would be harmful if the functions had no prototypes.) MFC after: 2 weeks
* Log wtmp according to an address family properly.ume2002-01-281-21/+9
| | | | | | Reported by: matusita Reviewed by: matusita MFC after: 1 week
* another tcp apps IPv6 updates.(should be make world safe)shin2000-01-271-7/+16
| | | | | | | ftp, telnet, ftpd, faithd also telnet related sync with crypto, secure, kerberosIV Obtained from: KAME project
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Cosmetics in man page. Exit(-1) -> exit(1).charnier1997-11-211-2/+4
|
* Hopefully better fix for logwtmp(): rename to a privatetg1997-09-051-2/+2
| | | | version ftpd_logwtmp().
* 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.
* add forgotten $Id$wosch1996-09-221-0/+1
|
* If hostname > UT_HOSTSIZE, use its numerical address instead to keepache1996-06-171-1/+16
| | | | valid utmp and wtmp entries
* BSD 4.4 Lite Libexec Sourcesrgrimes1994-05-271-0/+75
OpenPOWER on IntegriCloud