Home | History | Annotate | only in /src/usr.sbin/rtsold
History log of /src/usr.sbin/rtsold
RevisionDateAuthorComments
 1.16 11-Sep-2014  roy Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@
 1.15 18-Mar-2014  christos KNF, bump warns, fix warnings to print the program name.
 1.14 22-Apr-2009  lukem branches: 1.14.6; 1.14.12;
Enable WARNS=4 by default, except for:
cpuctl dumplfs hprop ipf iprop-log kadmin kcm kdc kdigest
kimpersonate kstash ktutil makefs ndbootd ntp pppd quot
racoon racoonctl rtadvd sntp sup tcpdchk tcpdmatch tcpdump
traceroute traceroute6 user veriexecgen wsmoused zic
(Mostly third-party applications)
 1.13 11-Apr-2009  lukem fix WARNS=4 issues
 1.12 28-May-2007  tls branches: 1.12.20;
Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
 1.11 03-Jan-2004  itojun rtsol: factor out dump.c if -DSMALL (for boot floppy)
use __func__ not __FUNCTION__
use timeradd() and timersub() from sys/time.h

from kame
 1.10 06-Sep-2003  itojun unifdef HAVE_ARC4RANDOM
 1.9 15-May-2003  itojun assume presense of getifaddrs(3).
 1.8 31-May-2002  itojun avoid fd_set overrun.
 1.7 31-May-2002  itojun KNF, from openbsd via kame
 1.6 09-Jul-2001  itojun 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>
 1.5 25-Feb-2000  itojun use getifaddrs. do not leave AF_INET6 listening socket left opened for
ioctls. (sync with latest kame)
 1.4 31-Dec-1999  itojun avoid use of kvm, mostly for boot floppy's convenience.
(sync with latest kame)
 1.3 09-Dec-1999  itojun improve debugging functionality.
(sync with latest KAME)
 1.2 03-Sep-1999  itojun branches: 1.2.4;
sbin/rtsol now shares source code with usr.sbin/rtsold.
sbin/rtsol is compiled separately for static linkage.
 1.1 03-Sep-1999  itojun fix prototypes decls (already back-ported into KAME).
RCSID police.
 1.2.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.12.20.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.14.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.14.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.11 11-Sep-2014  roy Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@
 1.10 18-Mar-2014  christos KNF, bump warns, fix warnings to print the program name.
 1.9 11-Apr-2009  lukem branches: 1.9.6; 1.9.12;
fix WARNS=4 issues
 1.8 03-Jan-2004  itojun branches: 1.8.40;
rtsol: factor out dump.c if -DSMALL (for boot floppy)
use __func__ not __FUNCTION__
use timeradd() and timersub() from sys/time.h

from kame
 1.7 14-Jul-2002  wiz Finish ANSIfication. Remove ifndef __STDC__.
 1.6 31-May-2002  itojun KNF, from openbsd via kame
 1.5 22-Aug-2001  itojun sync with kame better. snprintf return value audit.
 1.4 06-Oct-2000  itojun printf-format audit. from sommrfeld@netbsd.org. sync with kame.
 1.3 13-Aug-2000  itojun 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)
 1.2 25-Feb-2000  itojun branches: 1.2.4;
use getifaddrs. do not leave AF_INET6 listening socket left opened for
ioctls. (sync with latest kame)
 1.1 10-Dec-1999  itojun branches: 1.1.2;
oops, forgot to add the file. sorry.
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.4.1 18-Oct-2000  tv Pullup 1.4 [itojun]:
printf-format audit. from sommrfeld@netbsd.org. sync with kame.
 1.8.40.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.9.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.17 11-Sep-2014  roy Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@
 1.16 18-Mar-2014  christos KNF, bump warns, fix warnings to print the program name.
 1.15 18-Mar-2006  dan branches: 1.15.42; 1.15.48;
prevent a potential resource leak, not found by coverity (perhaps masked by previous)
 1.14 18-Mar-2006  dan catch another possible error case and exit early; CID 990
 1.13 03-Jan-2004  itojun branches: 1.13.6;
rtsol: factor out dump.c if -DSMALL (for boot floppy)
use __func__ not __FUNCTION__
use timeradd() and timersub() from sys/time.h

from kame
 1.12 15-May-2003  itojun assume presense of getifaddrs(3).
 1.11 02-Apr-2003  itojun fix typo. from jason@openbsd
 1.10 14-Jul-2002  wiz Finish ANSIfication. Remove ifndef __STDC__.
 1.9 31-May-2002  itojun KNF, from openbsd via kame
 1.8 14-Nov-2001  itojun use strncpy instead of strcpy, just in case. sync with kame
 1.7 09-Jul-2001  itojun 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>
 1.6 13-Aug-2000  itojun 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)
 1.5 25-Feb-2000  itojun use getifaddrs. do not leave AF_INET6 listening socket left opened for
ioctls. (sync with latest kame)
 1.4 31-Dec-1999  itojun avoid use of kvm, mostly for boot floppy's convenience.
(sync with latest kame)
 1.3 09-Dec-1999  itojun improve debugging functionality.
(sync with latest KAME)
 1.2 03-Sep-1999  itojun branches: 1.2.4;
fix prototypes decls (already back-ported into KAME).
RCSID police.
 1.1 03-Sep-1999  itojun branches: 1.1.1;
Initial revision
 1.1.1.1 03-Sep-1999  itojun KAME code, 19990903
 1.2.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.13.6.2 23-Apr-2009  snj Pull up following revision(s) (requested by msaitoh in ticket #2008):
usr.sbin/rtsold/if.c: revision 1.15
prevent a potential resource leak, not found by coverity (perhaps masked by previous)
 1.13.6.1 23-Apr-2009  snj Pull up following revision(s) (requested by msaitoh in ticket #2008):
usr.sbin/rtsold/if.c: revision 1.14
catch another possible error case and exit early; CID 990
 1.15.48.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15.42.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.13 11-Sep-2014  roy Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@
 1.12 18-Mar-2014  christos KNF, bump warns, fix warnings to print the program name.
 1.11 18-Jan-2010  christos branches: 1.11.6; 1.11.12;
check if i is in range before using it.
 1.10 11-May-2006  mrg inet_ntop() wants char[] not u_char[].
 1.9 03-Jan-2004  itojun rtsol: factor out dump.c if -DSMALL (for boot floppy)
use __func__ not __FUNCTION__
use timeradd() and timersub() from sys/time.h

from kame
 1.8 14-Jul-2002  wiz Finish ANSIfication. Remove ifndef __STDC__.
 1.7 31-May-2002  itojun strlcpy
 1.6 31-May-2002  itojun KNF, from openbsd via kame
 1.5 13-Aug-2000  itojun 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)
 1.4 28-Feb-2000  itojun don't assume CMSG_xx are constant. (sync with latest kame)
 1.3 09-Dec-1999  itojun improve debugging functionality.
(sync with latest KAME)
 1.2 03-Sep-1999  itojun branches: 1.2.4;
fix prototypes decls (already back-ported into KAME).
RCSID police.
 1.1 03-Sep-1999  itojun branches: 1.1.1;
Initial revision
 1.1.1.1 03-Sep-1999  itojun KAME code, 19990903
 1.2.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.11.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.11.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.8 11-Sep-2014  roy Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@
 1.7 18-Mar-2014  christos KNF, bump warns, fix warnings to print the program name.
 1.6 11-Apr-2009  lukem branches: 1.6.6; 1.6.12;
fix WARNS=4 issues
 1.5 03-Jan-2004  itojun branches: 1.5.40;
rtsol: factor out dump.c if -DSMALL (for boot floppy)
use __func__ not __FUNCTION__
use timeradd() and timersub() from sys/time.h

from kame
 1.4 21-Oct-2003  fvdl Add missing initializer field.
 1.3 14-Jul-2002  wiz Finish ANSIfication. Remove ifndef __STDC__.
 1.2 31-May-2002  itojun KNF, from openbsd via kame
 1.1 09-Jul-2001  itojun 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>
 1.5.40.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.6.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.17 11-Sep-2014  roy Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@
 1.16 18-Mar-2014  christos KNF, bump warns, fix warnings to print the program name.
 1.15 11-Apr-2009  lukem branches: 1.15.6; 1.15.12;
fix WARNS=4 issues
 1.14 06-Sep-2007  jnemeth branches: 1.14.14;
PR/36931 - Wouter Schoot -- typo
 1.13 16-Oct-2006  christos branches: 1.13.2; 1.13.4; 1.13.8;
c99 initializer
 1.12 11-May-2006  mrg inet_ntop() wants char[] not u_char[].
 1.11 03-Jan-2004  itojun rtsol: factor out dump.c if -DSMALL (for boot floppy)
use __func__ not __FUNCTION__
use timeradd() and timersub() from sys/time.h

from kame
 1.10 14-Jul-2002  wiz Finish ANSIfication. Remove ifndef __STDC__.
 1.9 31-May-2002  itojun KNF, from openbsd via kame
 1.8 14-Nov-2001  itojun initialize sockaddr_in6 correctly. sync with kame
 1.7 13-Aug-2000  itojun 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)
 1.6 28-Feb-2000  itojun branches: 1.6.4;
don't assume CMSG_xx are constant. (sync with latest kame)
 1.5 25-Feb-2000  itojun use getifaddrs. do not leave AF_INET6 listening socket left opened for
ioctls. (sync with latest kame)
 1.4 31-Dec-1999  itojun avoid use of kvm, mostly for boot floppy's convenience.
(sync with latest kame)
 1.3 09-Dec-1999  itojun improve debugging functionality.
(sync with latest KAME)
 1.2 03-Sep-1999  itojun branches: 1.2.4;
fix prototypes decls (already back-ported into KAME).
RCSID police.
 1.1 03-Sep-1999  itojun branches: 1.1.1;
Initial revision
 1.1.1.1 03-Sep-1999  itojun KAME code, 19990903
 1.2.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.4.1 11-Apr-2002  he Pull up revision 1.8 (via patch, requested by itojun):
Initialize sockaddr correctly.
 1.13.8.1 06-Nov-2007  matt sync with HEAD
 1.13.4.1 23-Sep-2007  wrstuden Sync with somewhat-recent netbsd-4.
 1.13.2.1 10-Sep-2007  msaitoh Pull up following revision(s) (requested by jnemeth in ticket #867):
usr.sbin/rtsold/rtsol.c: revision 1.14
PR/36931 - Wouter Schoot -- typo
 1.14.14.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.15.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.42 17-Apr-2020  kim Update date
 1.41 16-Apr-2020  wiz Sort SEE ALSO.
 1.40 15-Apr-2020  kim Add an "rtsol" keyword to ifconfig.if for enabling IPv6 RS/RA
 1.39 13-Apr-2020  wiz Remove trailing dot in SEE ALSO.
 1.38 13-Apr-2020  uwe Use .Dl for one line literal display. Add SEE ALSO.
 1.37 22-Oct-2017  abhinav branches: 1.37.4; 1.37.6;
Add rtsol to the NAME section as well
 1.36 12-Oct-2014  christos branches: 1.36.8;
Give an example how to use dhcpcd instead of rtsol
 1.35 11-Sep-2014  wiz Use Nx.
 1.34 11-Sep-2014  roy Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@
 1.33 26-May-2013  wiz Reword to work around phrasing that caused lots of discussions.
From Robert Elz.
 1.32 24-May-2013  wiz Correct a phrase. From jmc@openbsd.

Already fixed once by mbalmer and unfixed by me. Oops.
 1.31 24-May-2013  wiz Update description for -a:
-a autoprobes multiple ifs, and does not exit with error.

Diff originally from Mark Johnston (markj@freebsd), via jmc@openbsd.

Bump date.
 1.30 11-Jan-2010  wiz branches: 1.30.6; 1.30.12;
Anon tells me it should be "on the order of", not "in the order of".
Hi marc!
 1.29 11-Jan-2010  wiz New sentence, new line.
 1.28 11-Jan-2010  mbalmer some wording fixes
 1.27 13-Oct-2006  wiz Remove trailing whitespace.
 1.26 08-Oct-2006  elad PR/20875: Robert Elz: Incorrect facts in rtsol(8) man page

Patch applied, thanks! (yes, I've read the audit-trail. This is correct.)
 1.25 31-Oct-2005  wiz Begin sentence with upper case letter, and uppercase an acronym.
 1.24 31-Oct-2005  wiz Use .Pp instead of less usual .Lp. From jmc@openbsd.
 1.23 31-Oct-2005  wiz Improve description for /var/run/rtsold.dump. From jmc@openbsd.
 1.22 31-Oct-2005  wiz Small cleanup. From jmc@openbsd.
 1.21 31-Oct-2005  wiz Sort options. From jmc@openbsd.
 1.20 08-Jan-2004  itojun backout previous change (removal of pidfile(3) call). requested by core.
 1.19 03-Jan-2004  wiz Bump date for pid file removal.
 1.18 03-Jan-2004  itojun remove call to pidfile(3), it was just for debugging (and there was no proper
cleanup code). from kame
 1.17 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.16 24-Oct-2002  wiz Whitespace nit. Use .Nm instead of crossreferencing ourselves.
 1.15 24-Oct-2002  jonb Add a better hint about proper kernel configs than just "See Also sysctl(8)"
 1.14 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.13 22-Aug-2001  itojun sync with kame better. snprintf return value audit.
 1.12 15-Oct-2000  bjh21 Minor grammatical touch-ups.
 1.11 04-Sep-2000  kleink For commands and utilities, use EXIT STATUS rather than RETURN VALUES or
DIAGNOSTICS as appropriate (and documented in mdoc(7)).
 1.10 13-Aug-2000  itojun warn if net.inet6.ip6.forwarding == 1. rtsol{,d} is not supposed to be used
on routers.
update manpage (talk about -a twists more).
 1.9 13-Aug-2000  itojun minor manpage fix.
 1.8 13-Aug-2000  itojun 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)
 1.7 02-Jan-2000  itojun branches: 1.7.4;
wording changes. document rtsol(8) behavior earlier in the document.
(sync with kame repo)
 1.6 16-Dec-1999  itojun write out dump file into /var/run, not /var/tmp.
(sync with KAME, for possible security reasons)
 1.5 10-Dec-1999  itojun s/.Os kAME/.Os/
 1.4 10-Dec-1999  itojun typo fixes.
 1.3 09-Dec-1999  itojun improve debugging functionality.
(sync with latest KAME)
 1.2 03-Sep-1999  itojun branches: 1.2.4;
fix prototypes decls (already back-ported into KAME).
RCSID police.
 1.1 03-Sep-1999  itojun branches: 1.1.1;
Initial revision
 1.1.1.1 03-Sep-1999  itojun KAME code, 19990903
 1.2.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.4.1 25-Nov-2001  he Pull up revision 1.8-1.10 (via patch, requested by hubertf):
Add ``-a'' flag to automtically find an interface to use to query
for router solicitations.
 1.30.12.1 23-Jun-2013  tls resync from head
 1.30.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.36.8.1 23-Apr-2020  martin Pull up following revision(s) (requested by kim in ticket #1538):

usr.sbin/rtsold/rtsold.8: revision 1.37
usr.sbin/rtsold/rtsold.8: revision 1.38
usr.sbin/rtsold/rtsold.8: revision 1.39
share/man/man5/ifconfig.if.5: revision 1.20
etc/rc.d/network: revision 1.77
etc/rc.d/network: revision 1.78 (plus patch)
usr.sbin/rtsold/rtsold.8: revision 1.40
usr.sbin/rtsold/rtsold.8: revision 1.41
usr.sbin/rtsold/rtsold.8: revision 1.42
share/man/man5/ifconfig.if.5: revision 1.19

Add rtsol to the NAME section as well

rc.d/network: improve wording of waiting for DAD to finish

Revert unrelated changes to prior

Use .Dl for one line literal display. Add SEE ALSO.

Remove trailing dot in SEE ALSO.

Add an "rtsol" keyword to ifconfig.if for enabling IPv6 RS/RA

Sort SEE ALSO.

Update date
 1.37.6.1 22-Apr-2020  martin Pull up following revision(s) (requested by kim in ticket #838):

share/man/man5/ifconfig.if.5: revision 1.20
etc/rc.d/network: revision 1.78 (plus patch)
usr.sbin/rtsold/rtsold.8: revision 1.42

Add an "rtsol" keyword to ifconfig.if for enabling IPv6 RS/RA

Sort SEE ALSO.
Update date
 1.37.4.1 21-Apr-2020  martin Sync with HEAD
 1.43 11-Sep-2014  roy Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@
 1.42 25-Mar-2014  joerg Don't modify format string, use asprintf to format the original msg and
syslog the result.
 1.41 25-Mar-2014  joerg Don't cast to time_t just to implicitly cast to uint32_t next.
 1.40 18-Mar-2014  dsl Change previous to use uint32_t for 'interval'.
The value is a random interval in usec obtained by reducing a uint32_t
value modulo 1000000 (multiplied by a delay in seconds of 1).
The value is then being split into secs+usec and assigned to a timeval
(and an interval).
With -Wsign-conversion the type has to be either an unsigned 32bit
type, or a signed 64bit one. This is just plain stupid.
Warning about conversions between signed and unsigned types really
only makes sense if the compiler is dynamically tracking the domain
of the value.
 1.39 18-Mar-2014  christos use time_t for time
 1.38 18-Mar-2014  christos KNF, bump warns, fix warnings to print the program name.
 1.37 19-Oct-2013  christos fix unused variable warnings.
 1.36 29-Aug-2011  joerg branches: 1.36.2; 1.36.8;
Use __dead.
 1.35 11-Apr-2009  lukem fix WARNS=4 issues
 1.34 23-Jun-2008  dholland branches: 1.34.6;
Avoid zooming off the end of a malloced region. Makes rtsol{,d} -a work.
From Dave Huang in PR bin/38282.
 1.33 07-Oct-2006  elad branches: 1.33.18;
PR/18906: roskens at elfin dot net: misc. select() to poll() updates.

Adapted to -current by myself, thanks for the patch!
 1.32 11-May-2006  mrg rs_data is u_char *, so assign it from a u_char *.
 1.31 31-Oct-2005  wiz Sync usage with man page. From jmc@openbsd.
 1.30 27-Jun-2005  christos constify.
 1.29 25-Jun-2004  wiz -a cannot be specified with an interface; remove it from that part
of the usage. Closes PR 25917 by Kouichirou Hiratsuka.
 1.28 08-Jan-2004  itojun backout previous change (removal of pidfile(3) call). requested by core.
 1.27 03-Jan-2004  itojun remove call to pidfile(3), it was just for debugging (and there was no proper
cleanup code). from kame
 1.26 03-Jan-2004  itojun rtsol: factor out dump.c if -DSMALL (for boot floppy)
use __func__ not __FUNCTION__
use timeradd() and timersub() from sys/time.h

from kame
 1.25 06-Sep-2003  itojun unifdef HAVE_ARC4RANDOM
 1.24 17-May-2003  itojun strncpy -> strlcpy
 1.23 15-May-2003  itojun assume presense of getifaddrs(3).
 1.22 15-May-2003  itojun simplify by using strdup. from kame
 1.21 23-Sep-2002  mycroft null commit
 1.20 20-Sep-2002  itojun sys/poll.h -> poll.h
reduce diff w/ kame tree.
 1.19 20-Sep-2002  mycroft Set fd of unused pollfd entries to -1.
 1.18 20-Sep-2002  mycroft select() -> poll()
 1.17 08-Sep-2002  itojun signal handler must take "int" arg. from deraadt, sync w/kame
 1.16 14-Jul-2002  wiz Finish ANSIfication. Remove ifndef __STDC__.
 1.15 31-May-2002  itojun avoid fd_set overrun.
 1.14 31-May-2002  itojun KNF, from openbsd via kame
 1.13 25-Mar-2002  wiz Fix typo in warning, reported by Tero Kivinen in bin/16055.
 1.12 11-Jan-2002  itojun daemon(3) has to be called before opening file descriptors.
noticed by markus@openbsd, sync with kame
 1.11 22-Aug-2001  itojun sync with kame better. snprintf return value audit.
 1.10 09-Jul-2001  itojun 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>
 1.9 06-Oct-2000  itojun printf-format audit. from sommrfeld@netbsd.org. sync with kame.
 1.8 13-Aug-2000  itojun warn if net.inet6.ip6.forwarding == 1. rtsol{,d} is not supposed to be used
on routers.
update manpage (talk about -a twists more).
 1.7 13-Aug-2000  itojun 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)
 1.6 25-Feb-2000  itojun branches: 1.6.4;
use getifaddrs. do not leave AF_INET6 listening socket left opened for
ioctls. (sync with latest kame)
 1.5 22-Jan-2000  tron Remove bogus declaration of "errno".
 1.4 16-Dec-1999  itojun write out dump file into /var/run, not /var/tmp.
(sync with KAME, for possible security reasons)
 1.3 09-Dec-1999  itojun improve debugging functionality.
(sync with latest KAME)
 1.2 03-Sep-1999  itojun branches: 1.2.4;
fix prototypes decls (already back-ported into KAME).
RCSID police.
 1.1 03-Sep-1999  itojun branches: 1.1.1;
Initial revision
 1.1.1.1 03-Sep-1999  itojun KAME code, 19990903
 1.2.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.4.2 25-Nov-2001  he Pull up revision 1.7 (requested by hubertf):
Add ``-a'' flag to automtically find an interface to use to query
for router solicitations.
 1.6.4.1 18-Oct-2000  tv Pullup 1.9 [itojun]:
printf-format audit. from sommrfeld@netbsd.org. sync with kame.
 1.33.18.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.34.6.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.36.8.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.36.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.12 11-Sep-2014  roy Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@
 1.11 18-Mar-2014  christos KNF, bump warns, fix warnings to print the program name.
 1.10 17-Oct-2011  mbalmer branches: 1.10.2; 1.10.8;
Fix typo in comment.
 1.9 11-Apr-2009  lukem fix WARNS=4 issues
 1.8 31-May-2002  itojun branches: 1.8.40;
KNF, from openbsd via kame
 1.7 09-Jul-2001  itojun 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>
 1.6 06-Oct-2000  itojun printf-format audit. from sommrfeld@netbsd.org. sync with kame.
 1.5 13-Aug-2000  itojun 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)
 1.4 25-Feb-2000  itojun branches: 1.4.4;
use getifaddrs. do not leave AF_INET6 listening socket left opened for
ioctls. (sync with latest kame)
 1.3 09-Dec-1999  itojun improve debugging functionality.
(sync with latest KAME)
 1.2 03-Sep-1999  itojun branches: 1.2.4;
fix prototypes decls (already back-ported into KAME).
RCSID police.
 1.1 03-Sep-1999  itojun branches: 1.1.1;
Initial revision
 1.1.1.1 03-Sep-1999  itojun KAME code, 19990903
 1.2.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.4.1 18-Oct-2000  tv Pullup 1.6 [itojun]:
printf-format audit. from sommrfeld@netbsd.org. sync with kame.
 1.8.40.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.10.8.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.10.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed