aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rwhod
Commit message (Collapse)AuthorAgeFilesLines
* I've been meaning to do this for a while. Add an underscore to theMatthew Dillon2002-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. Notes: svn path=/head/; revision=89572
* Convert time_t to/from 32 bit representations for transmission overMatthew Dillon2001-10-281-4/+6
| | | | | | | a network and storage. Notes: svn path=/head/; revision=85640
* Remove whitespace at EOL.Dima Dorfman2001-07-151-4/+4
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79537
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* Set the default manual section for usr.sbin/ to 8.Ruslan Ermilov2001-03-201-1/+1
| | | | Notes: svn path=/head/; revision=74532
* Ensure that received packets are at least as long as the rwho packetIan Dowse2000-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 Notes: svn path=/head/; revision=70284
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-3/+3
| | | | Notes: svn path=/head/; revision=68965
* Don't call syslog() without a format string.Kris Kennaway2000-07-121-1/+1
| | | | Notes: svn path=/head/; revision=62989
* Grammar fix: ``Different than'' should really be ``different from''.Chris Costello2000-01-291-1/+1
| | | | Notes: svn path=/head/; revision=56783
* Name of program and trailing \n will be added by syslog(3)Philippe Charnier1999-11-271-2/+2
| | | | Notes: svn path=/head/; revision=53770
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50479
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-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 Notes: svn path=/head/; revision=48791
* Correct usage messageBrian Somers1999-06-261-2/+2
| | | | Notes: svn path=/head/; revision=48229
* Add the -p switch - tells rwhod to ignore POINTOPOINT interfaces.Brian Somers1999-06-162-2/+15
| | | | | | | | Mostly submitted by: Stefan Zehl <sec@42.org> PR: 12216 Notes: svn path=/head/; revision=47963
* Implement the -l commandline option which turns off broadcast ofSteve Price1999-01-112-5/+24
| | | | | | | | | | information, but still allows you to monitor other machines. PR: 9301 Submitted by: Matthew Fuller <fullermd@futuresouth.com> Notes: svn path=/head/; revision=42508
* Add an option for insecure mode, in which rwhod does not discard packetsDag-Erling Smørgrav1998-12-172-4/+16
| | | | | | | from incorrect source ports. Notes: svn path=/head/; revision=41895
* There is no "rwho" service, it's "who"Dag-Erling Smørgrav1998-04-231-1/+1
| | | | | | | | PR: bin/6396 Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua> Notes: svn path=/head/; revision=35408
* Use err(3). Add usage.Philippe Charnier1997-10-132-29/+49
| | | | | | | | | Use syslog instead of fprintf when being a daemon. Change sprintf to snprintf obtained from OpenBSD. Obtained from: OpenBSD Notes: svn path=/head/; revision=30380
* Sort cross references.Wolfram Schneider1997-01-201-2/+2
| | | | Notes: svn path=/head/; revision=21880
* Fix minor buffer problems:Warner Losh1996-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. Notes: svn path=/head/; revision=19303
* When looking for "group daemon" (since that's what's in mtree), make surePeter Wemm1996-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! :-( Notes: svn path=/head/; revision=18092
* Run as daemon.daemon, not nobody.daemonPaul Traina1996-08-261-1/+1
| | | | Notes: svn path=/head/; revision=17832
* Fix buffer overrun, and run as nobodyPaul Traina1996-08-251-9/+49
| | | | Notes: svn path=/head/; revision=17829
* Correct some man page cross references and file location references.Mike Pritchard1996-04-071-3/+3
| | | | Notes: svn path=/head/; revision=15082
* Here are patches to add full multicast support to rwhod, and an updated manJordan K. Hubbard1995-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> Notes: svn path=/head/; revision=10087
* Get rid of update. Make man page installation work with our schemeGarrett Wollman1994-08-051-1/+1
| | | | | | | (and rename a few in the process). Notes: svn path=/head/; revision=1863
* Converted 'vmunix' to 'kernel'.David Greenman1994-08-051-1/+1
| | | | Notes: svn path=/head/; revision=1856
* BSD 4.4 Lite usr.sbin SourcesRodney W. Grimes1994-05-263-0/+691
Notes: svn path=/cvs2svn/branches/WIN_TUE_NL/; revision=1553