OpenBSD CVS

CVS log for src/usr.sbin/rwhod/Attic/rwhod.c


[BACK] Up to [local] / src / usr.sbin / rwhod

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.37, Thu Apr 24 14:59:06 2014 UTC (10 years, 1 month ago) by tedu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.36: +0 -0 lines
FILE REMOVED

That is strength, boy! That is power! What is steel compared to the hand
that wields it? Look at the strength in your body, the desire in your
heart, I gave you this! Such a waste. Contemplate this on the tree of woe.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Jan 9 05:04:03 2014 UTC (10 years, 4 months ago) by martynas
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Use destination bound rather than the source bound for out_line and
out_name.  OK millert@.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Apr 2 03:06:07 2013 UTC (11 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.34: +3 -1 lines
Diff to previous 1.34 (colored)

handle large time_t at least until 2038.  then chaos breaks out.
ok guenther
note to tedu: 2038 -> rwhod

Revision 1.34 / (download) - annotate - [select for diffs], Thu Mar 21 04:43:17 2013 UTC (11 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.33: +16 -8 lines
Diff to previous 1.33 (colored)

create realloc() loops around sysctl for array-based mibs, in programs
which want a "full" dump
ok dlg

Revision 1.33 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:54 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.32: +0 -11 lines
Diff to previous 1.32 (colored)

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jun 26 09:44:55 2009 UTC (14 years, 11 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.31: +3 -1 lines
Diff to previous 1.31 (colored)

Another daemon needing RTM_VERSION checks. Why rwhod is doing all the hard
work instead of using getifaddrs() and working on this much simpler structure
is beyond my immagination. Looked over by henning@ and sthen@

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jan 2 16:29:53 2006 UTC (18 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

#include <signal.h>, not <sys/signal.h>

Revision 1.30 / (download) - annotate - [select for diffs], Thu Sep 16 08:55:00 2004 UTC (19 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.29: +13 -7 lines
Diff to previous 1.29 (colored)

various lint.  ok millert
Important bit: do not long -> int truncate...

Revision 1.29 / (download) - annotate - [select for diffs], Fri Sep 26 07:15:41 2003 UTC (20 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.28: +5 -8 lines
Diff to previous 1.28 (colored)

realloc tuning; pvalchev ok

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jun 8 17:05:36 2003 UTC (20 years, 11 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.27: +12 -18 lines
Diff to previous 1.27 (colored)

use err/warn

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jun 2 23:36:54 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.26: +2 -6 lines
Diff to previous 1.26 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Mar 5 02:41:35 2003 UTC (21 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.25: +1 -2 lines
Diff to previous 1.25 (colored)

delete bogus debug msg

Revision 1.25 / (download) - annotate - [select for diffs], Fri Sep 6 19:46:52 2002 UTC (21 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.24: +3 -2 lines
Diff to previous 1.24 (colored)

use more socklen_t; pvalchev

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jul 14 03:52:35 2002 UTC (21 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.23: +13 -29 lines
Diff to previous 1.23 (colored)

ansi

Revision 1.23 / (download) - annotate - [select for diffs], Thu May 30 19:09:05 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

minor KNF

Revision 1.22 / (download) - annotate - [select for diffs], Thu Mar 14 16:44:25 2002 UTC (22 years, 2 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.21: +14 -14 lines
Diff to previous 1.21 (colored)

kill more registers.

millert@ ok

Revision 1.21 / (download) - annotate - [select for diffs], Sun Feb 17 19:42:39 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)

Revision 1.20 / (download) - annotate - [select for diffs], Sat Feb 16 21:28:09 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.19: +10 -10 lines
Diff to previous 1.19 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Nov 17 19:49:40 2001 UTC (22 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

use volatile sig_atomic_t where possible; simply volatile i other places

Revision 1.18 / (download) - annotate - [select for diffs], Wed Nov 14 21:36:37 2001 UTC (22 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

Move call to daemon() after chdir() so any error message printed
on chdir error doesn't go to /dev/null; Janjaap van Velthooven

Revision 1.17 / (download) - annotate - [select for diffs], Sat Mar 31 20:07:56 2001 UTC (23 years, 2 months ago) by fgsch
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.16: +5 -2 lines
Diff to previous 1.16 (colored)

Log on short packets before discard'em; millert@ ok.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Feb 8 15:03:20 2001 UTC (23 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.15: +79 -50 lines
Diff to previous 1.15 (colored)

put debug code in by default, and make it work

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jan 11 23:41:42 2001 UTC (23 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +122 -82 lines
Diff to previous 1.14 (colored)

nearly a complete rewrite.  use poll(), no more signals, no more races,
no more bullshit.  someone use this?  please run with it.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Dec 23 02:19:03 2000 UTC (23 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.13: +15 -10 lines
Diff to previous 1.13 (colored)

if a short rwhod packet arrived on a little endian machine, all stack memory
from a local buffer till it runs into the signal trampoline, is long-word
byte swapped, then it receives SIGSEGV.  and this program has a timer
signal handler, which does WAY too much, completely violating rules as to
what a signal handler may do.  totally sick shit.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jun 28 23:57:36 2000 UTC (23 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

in quit(), be more careful about possible nasty parameters in the future

Revision 1.12 / (download) - annotate - [select for diffs], Sun Aug 16 21:22:18 1998 UTC (25 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.11: +8 -4 lines
Diff to previous 1.11 (colored)

fix realloc use

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jul 13 02:11:51 1998 UTC (25 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

ftpd: sleep for an indeterminate amount for non-existant logins
      to simulate a crypt, like login does.
Use SEEK_* not L_* and kill some 0L's used in lseek while we're there.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Apr 30 08:45:03 1998 UTC (26 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

use inet_ntoa

Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 14 07:01:42 1997 UTC (27 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.8: +8 -6 lines
Diff to previous 1.8 (colored)

i was not the brightest here either

Revision 1.8 / (download) - annotate - [select for diffs], Sun Apr 13 01:53:49 1997 UTC (27 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.7: +21 -9 lines
Diff to previous 1.7 (colored)

check host information more carefully

Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 26 00:45:57 1997 UTC (27 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

clean; netbsd

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 17 07:14:28 1997 UTC (27 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

r?index -> strr?chr

Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 1 06:53:48 1996 UTC (27 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

gethostname correctly

Revision 1.4 / (download) - annotate - [select for diffs], Fri Nov 1 06:53:25 1996 UTC (27 years, 7 months ago) by imp
Branch: MAIN
Changes since 1.3: +2 -3 lines
Diff to previous 1.3 (colored)

Revert obvious comment

Revision 1.3 / (download) - annotate - [select for diffs], Fri Nov 1 06:45:45 1996 UTC (27 years, 7 months ago) by imp
Branch: MAIN
Changes since 1.2: +5 -3 lines
Diff to previous 1.2 (colored)

Buffer oflow possible, but unlikely

Revision 1.2 / (download) - annotate - [select for diffs], Fri Aug 16 23:24:58 1996 UTC (27 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

buf oflow; from dholland@hcs.harvard.edu

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:48:07 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:48:07 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.