Commit Graph

48 Commits

Author SHA1 Message Date
itojun
c257ec3afe backout previous change (removal of pidfile(3) call). requested by core. 2004-01-08 02:48:43 +00:00
wiz
d495306cc1 Bump date for pid file removal. 2004-01-03 13:10:27 +00:00
itojun
592be49540 remove call to pidfile(3), it was just for debugging (and there was no proper
cleanup code).  from kame
2004-01-03 06:16:40 +00:00
itojun
85d26f975b rtsol: factor out dump.c if -DSMALL (for boot floppy)
use __func__ not __FUNCTION__
use timeradd() and timersub() from sys/time.h

from kame
2004-01-03 01:40:31 +00:00
fvdl
5f002aff6f Add missing initializer field. 2003-10-21 02:37:22 +00:00
itojun
f189be338c unifdef HAVE_ARC4RANDOM 2003-09-06 12:56:43 +00:00
itojun
3d2b0dbc0e strncpy -> strlcpy 2003-05-17 18:13:55 +00:00
itojun
68452c0c92 assume presense of getifaddrs(3). 2003-05-15 14:44:57 +00:00
itojun
6cad7b99db simplify by using strdup. from kame 2003-05-15 00:19:30 +00:00
itojun
079ee2105d fix typo. from jason@openbsd 2003-04-02 23:29:29 +00:00
wiz
990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz
e4a36f578d Whitespace nit. Use .Nm instead of crossreferencing ourselves. 2002-10-24 16:22:49 +00:00
jonb
996cd2788d Add a better hint about proper kernel configs than just "See Also sysctl(8)" 2002-10-24 16:06:05 +00:00
mycroft
aae6c28cf9 null commit 2002-09-23 12:44:34 +00:00
itojun
3ca6603d44 sys/poll.h -> poll.h
reduce diff w/ kame tree.
2002-09-20 22:04:31 +00:00
mycroft
a5f0bfc173 Set fd of unused pollfd entries to -1. 2002-09-20 19:51:33 +00:00
mycroft
648377324d select() -> poll() 2002-09-20 13:08:21 +00:00
itojun
bdbbb53d75 signal handler must take "int" arg. from deraadt, sync w/kame 2002-09-08 01:42:55 +00:00
wiz
c807c0dfe6 Finish ANSIfication. Remove ifndef __STDC__. 2002-07-14 00:37:46 +00:00
itojun
d816e24b39 avoid fd_set overrun. 2002-05-31 22:10:18 +00:00
itojun
559a9eafce strlcpy 2002-05-31 21:24:26 +00:00
itojun
b31318e482 KNF, from openbsd via kame 2002-05-31 10:22:11 +00:00
wiz
e5b8ea6058 Fix typo in warning, reported by Tero Kivinen in bin/16055. 2002-03-25 19:55:41 +00:00
ross
2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
itojun
4a1ad619af daemon(3) has to be called before opening file descriptors.
noticed by markus@openbsd, sync with kame
2002-01-11 04:20:55 +00:00
itojun
d67d6cd1bb initialize sockaddr_in6 correctly. sync with kame 2001-11-14 01:56:29 +00:00
itojun
a6b4b2d5a5 use strncpy instead of strcpy, just in case. sync with kame 2001-11-14 01:55:38 +00:00
itojun
029bd4843d sync with kame better. snprintf return value audit. 2001-08-22 05:24:37 +00:00
itojun
052c0d9a64 sync with kame.
KAME rtsold.c 1.28
watch routing socket, and check for pcmcia card removal.
if pcmcia card gets removed, bring the interface state into IFS_DOWN.

KAME rtsold.c 1.29
changed the timeout period after sending MAX_RTR_SOLICITATIONS solicitation
from RTR_SOLICITATION_INTERVAL to MAX_RTR_SOLICITATION_DELAY according to
the last paragraph of RFC 2461 Section 6.3.7.
in response to a comment from Pekka Savola <pekkas@netcore.fi>
2001-07-09 06:04:28 +00:00
bjh21
ee64a7181e Minor grammatical touch-ups. 2000-10-15 12:25:17 +00:00
itojun
74b478c63c printf-format audit. from sommrfeld@netbsd.org. sync with kame. 2000-10-06 00:13:01 +00:00
kleink
4918722a89 For commands and utilities, use EXIT STATUS rather than RETURN VALUES or
DIAGNOSTICS as appropriate (and documented in mdoc(7)).
2000-09-04 07:35:15 +00:00
itojun
8702beec4d warn if net.inet6.ip6.forwarding == 1. rtsol{,d} is not supposed to be used
on routers.
update manpage (talk about -a twists more).
2000-08-13 18:19:12 +00:00
itojun
53476128e8 minor manpage fix. 2000-08-13 06:27:00 +00:00
itojun
ba6d02ed0c add -a flag: automatically probe an interface, works only if there's
only single external non-p2p interface.  idea from thopej.
$KAME$.

(sync with kame)
2000-08-13 06:20:02 +00:00
itojun
e8cabc3e27 don't assume CMSG_xx are constant. (sync with latest kame) 2000-02-28 07:17:34 +00:00
itojun
e3d3868ea8 use getifaddrs. do not leave AF_INET6 listening socket left opened for
ioctls.  (sync with latest kame)
2000-02-25 09:19:06 +00:00
tron
1bc6630de6 Remove bogus declaration of "errno". 2000-01-22 10:05:13 +00:00
itojun
758c15425b wording changes. document rtsol(8) behavior earlier in the document.
(sync with kame repo)
2000-01-02 06:30:15 +00:00
itojun
1d4f533c98 avoid use of kvm, mostly for boot floppy's convenience.
(sync with latest kame)
1999-12-31 19:40:19 +00:00
itojun
a650ffbfaf write out dump file into /var/run, not /var/tmp.
(sync with KAME, for possible security reasons)
1999-12-16 05:55:52 +00:00
itojun
e6d250552f s/.Os kAME/.Os/ 1999-12-10 11:05:10 +00:00
itojun
4adaf7b678 oops, forgot to add the file. sorry. 1999-12-10 11:04:08 +00:00
itojun
d81f686e11 typo fixes. 1999-12-10 01:09:06 +00:00
itojun
d9a742bd0d improve debugging functionality.
(sync with latest KAME)
1999-12-09 15:08:33 +00:00
itojun
8ce82eb757 sbin/rtsol now shares source code with usr.sbin/rtsold.
sbin/rtsol is compiled separately for static linkage.
1999-09-03 05:25:43 +00:00
itojun
65da2d8803 fix prototypes decls (already back-ported into KAME).
RCSID police.
1999-09-03 05:14:37 +00:00
itojun
ba92138668 KAME code, 19990903 1999-09-03 04:56:06 +00:00