summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rwhod
Commit message (Collapse)AuthorAgeFilesLines
* Remove stale references to utmp(5) and its corresponding filenames.ed2010-01-211-3/+2
| | | | I removed utmp and its manpage, but not other manpages referring to it.
* Port all applications in usr.sbin/ from libulog to utmpx.ed2010-01-132-5/+1
|
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-2/+1
|
* Let rwhod use libulog.ed2009-12-272-62/+30
| | | | | | | | | | | | I am not planning on providing a mechanism tot stat() the database files directly. The disadvantage of this, is that rwhod will now be a little bit more heavy than it used to be. It normally used to fstat() the file descriptor to see whether the file had changed, but this is now impossible to implement, meaning we have to parse the entire utmp file each 180 seconds. This is probably not an issue on modern 16-way servers, but if it turns out to be a problem, we'll think of something.
* - Avoid a memory leak if realloc(3) fails by using reallocf(3)ssouhlal2005-06-031-5/+2
| | | | | | Submitted by: Liam J. Foy <liamfoy@dragonflybsd.org> Approved by: mdodd (in-lieu of mentor who is away) MFC after: 1 week
* Fix most cases where the address of an int is passed to a function expecting astefanf2005-02-141-1/+2
| | | | socklen_t * argument.
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Sort sections.ru2005-01-181-5/+5
|
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived softwareimp2004-08-072-8/+0
| | | | (with permission of addtional copyright holders where appropriate)
* Mechanically kill hard sentence breaks.ru2004-07-021-12/+24
|
* Replace ROUNDUP/ADVANCE with SA_SIZEluigi2004-04-131-5/+1
|
* use a list to enumerate optionscharnier2003-07-061-17/+11
|
* de-__Pcharnier2003-07-061-7/+7
| | | | | use port/proto to represent services (not proto/port). add FBSDID
* style.Makefile(5)obrien2003-04-041-1/+2
|
* Comment out WARNS?=4 to unbreak the Alpha build.des2002-07-151-1/+2
|
* The .Nm utilitycharnier2002-07-141-7/+10
|
* WARNS=4, de-__P()alfred2002-07-112-27/+28
|
* Replace /kernel with /boot/kernel/kernel.joe2002-05-091-1/+1
| | | | | PR: docs/37757 Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
* I've been meaning to do this for a while. Add an underscore to thedillon2002-01-191-4/+4
| | | | | | | | time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx() instead of time_to_xxx(), to make it more obvious that these are stopgap functions & placemarkers and not meant to create a defacto standard. They will eventually be replaced when a real standard comes out of committee.
* Convert time_t to/from 32 bit representations for transmission overdillon2001-10-281-4/+6
| | | | a network and storage.
* Remove whitespace at EOL.dd2001-07-151-4/+4
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+1
|
* Ensure that received packets are at least as long as the rwho packetiedowse2000-12-221-4/+10
| | | | | | | | | | | | | header before trying to process them. Without this sanity check, rwhod can attempt to byte-swap all of memory when a short packet is received, and so dies with a SIGBUS. While I'm here, change two other syslog messages to be more informative: use dotted quad rather than hex notation for IP addresses, and include the source IP in the 'bad from port' message. PR: bin/14844 Reviewed by: dwmalone
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-3/+3
|
* Don't call syslog() without a format string.kris2000-07-121-1/+1
|
* Grammar fix: ``Different than'' should really be ``different from''.chris2000-01-291-1/+1
|
* Name of program and trailing \n will be added by syslog(3)charnier1999-11-271-2/+2
|
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Correct usage messagebrian1999-06-261-2/+2
|
* Add the -p switch - tells rwhod to ignore POINTOPOINT interfaces.brian1999-06-162-2/+15
| | | | | Mostly submitted by: Stefan Zehl <sec@42.org> PR: 12216
* Implement the -l commandline option which turns off broadcast ofsteve1999-01-112-5/+24
| | | | | | | information, but still allows you to monitor other machines. PR: 9301 Submitted by: Matthew Fuller <fullermd@futuresouth.com>
* Add an option for insecure mode, in which rwhod does not discard packetsdes1998-12-172-4/+16
| | | | from incorrect source ports.
* There is no "rwho" service, it's "who"des1998-04-231-1/+1
| | | | | PR: bin/6396 Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
* Use err(3). Add usage.charnier1997-10-132-29/+49
| | | | | | Use syslog instead of fprintf when being a daemon. Change sprintf to snprintf obtained from OpenBSD. Obtained from: OpenBSD
* Sort cross references.wosch1997-01-201-2/+2
|
* Fix minor buffer problems:imp1996-11-011-2/+3
| | | | | | | | Off by one in verify allowed one to march one byte off the end of wd.wd_hostname if wd.wd_hostname had no NUL characters in it. strncpy of myname into mywd used the source buffer's length, rather than the dest.
* When looking for "group daemon" (since that's what's in mtree), make surepeter1996-09-071-4/+7
| | | | | | | | | | we actually look for the *group* and not the user's gid. user daemon has traditionally been group 31 (guest). Also clear out the groups vector so that it doesn't inherit the groups of the invoking user (ever run rwhod by hand before?) Unfortunately, we can't empty the supplemental groups list because the !&@^#! egid is stored in there! :-(
* Run as daemon.daemon, not nobody.daemonpst1996-08-261-1/+1
|
* Fix buffer overrun, and run as nobodypst1996-08-251-9/+49
|
* Correct some man page cross references and file location references.mpp1996-04-071-3/+3
|
* Here are patches to add full multicast support to rwhod, and an updated manjkh1995-08-172-16/+196
| | | | | | page. I tried all three modes (rwhod, rwhod -m, rwhod -m 32) on a machine with 2 ethernet interfaces and they all worked. Submitted by: Bill Fenner <fenner@parc.xerox.com>
* Get rid of update. Make man page installation work with our schemewollman1994-08-051-1/+1
| | | | (and rename a few in the process).
* Converted 'vmunix' to 'kernel'.dg1994-08-051-1/+1
|
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-263-0/+691
OpenPOWER on IntegriCloud