summaryrefslogtreecommitdiff
path: root/usr.sbin/rtsold
AgeCommit message (Collapse)Author
2014-07-11some say it is kinda likely you want autoconf if you run rtsol/rtsold onHenning Brauer
a given interface, so turn AFXF_AUTOCONF6 on on it ok bluhm stsp benno florian
2014-07-04malloc+memset -> callocPhilip Guenther
from Benjamin Baier (programmer (at) netzbasis.de)
2013-11-12ensure there are prototypesTheo de Raadt
2013-10-21we are passing the variable, not using a global any more.Peter Hessler
pointed out by bluhm@
2013-10-21Add rdomain support to IPv6 configuration toolsPeter Hessler
OK claudio@ and bluhm@
2013-08-15Replace the obsolete ioctl(SIOCGDRLST_IN6) interface withAlexander Bluhm
sysctl(net.inet6.icmp6.nd6_drlist) in rtsold. Code taken from ndp. OK henning@ mikeb@
2013-05-27undo previous: apparently "on the order of" is legitimateJason McIntyre
2013-05-24*in* the order of, not *on* the order of;Jason McIntyre
thanks sthen for verifying that it is approx 10s, not exactly
2013-05-24the -a option probes multiple ifs now, not exits with error;Jason McIntyre
based on mark johnston's -r250939 commit to freebsd ok sthen benno
2013-04-21handle exceedingly long uptimesTheo de Raadt
2013-04-21IPv6 might still be around in 2038, replace magic timevalFlorian Obser
{0x7fffffff, 0x7fffffff} with an explicit flag that timers should be stopped. input deraadt@, kettenis@ "Looks like a nice solution." deraadt@ OK benno@
2013-04-19print tv_sec properlyTheo de Raadt
2013-04-17handle large time_tTheo de Raadt
2011-03-23Print a warning when rtsol or rtsold are used to do IPv6 autoconfigurationAlexander Bluhm
but accepting redirects is turned off. If the -F switch is given, set sysctl net.inet6.icmp6.rediraccept to 1 instead. ok claudio@ deraadt@ sthen@
2011-03-22use timerclear macroOkan Demirmen
ok miod@
2010-09-03add an EXIT STATUS section for /usr/sbin;Jason McIntyre
2009-11-11correctly order the range check and use the right limits, pointed out by parfaitTheo de Raadt
ok claudio millert
2009-06-12add missing header needed by warn()Charles Longeau
ok henning@
2009-06-04turn ipvcrap on on the interface in question. sake bottle pushed by theo,Henning Brauer
tested by naddy
2009-02-05fix format stringCharles Longeau
ok naddy@
2009-02-03add missing headers needed by wait()Charles Longeau
ok rainer@
2009-02-02remove unused function and macros, due to the lastest commitCharles Longeau
ok rainer@
2009-01-30Delete code which was never used (rtsock.c is even not there).Rainer Giedat
old commit message from itojun: "rtsock.c is omitted for simplicity, as it is not meaningful on openbsd." Ok grunk@, naddy@
2009-01-30Use if_nametosdl implementation from rtadvd, which is much nicer.Rainer Giedat
From Mischa Diehm. "looks fine to me" pyr@
2008-08-13sync synopsis/usage; fix double "usage:"; KNF.Igor Sobrado
2008-06-12let usage() match SYNOPSIS;Jason McIntyre
2008-06-10clean up the text; ok reykJason McIntyre
2008-06-10add the -O option to run an external script when the "otherReyk Floeter
configuration" flag is found in the RA message. it basically means "here is your IPv6 address, but run something like DHCPv6 to get more information". so the main purpose is to run a dhcpv6 client to get DNS etc. Merged from KAME ok rainer@
2008-06-09also handle wireless interfaces (IFM_IEEE80211 in addition to IFM_ETHER)Reyk Floeter
From kame ok rainer@
2008-04-13Use arc4random_buf() when requesting more than a single word of outputDamien Miller
Use arc4random_uniform() when the desired random number upper bound is not a power of two ok deraadt@ millert@
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forTheo de Raadt
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis
2008-03-18correct CMSG_SPACE and CMSG_LEN handling as done in other places. TheseTheo de Raadt
are the complicated cases where multiple messages are sent. discussed with kettenis, hshoexer, and rtsol tested by jmc - thanks
2008-01-05remove unused functionCharles Longeau
initially from tobias@, removed some unused prototypes too "looks good to me" jaredy@ ok tobias@
2007-09-07unexpeced -> unexpected;Jason McIntyre
from Wouter Schoot, netbsd-bugs #36931
2007-05-31convert to new .Dd format;Jason McIntyre
2006-12-15cleanup RFC2292/3542 #ifdef.Jun-ichiro itojun Hagino
2006-11-07Don't check buf[strlen(buf) - 1] for zero length strings.Ray Lai
OK jaredy@.
2006-03-24Plug leak in error path; from Alexey Dobriyan; ok ray@Otto Moerbeek
2005-10-28sync usage() with man page synopsis;Jason McIntyre
2005-10-27describe the relevant sysctls, and what exactly -F does;Jason McIntyre
ok todd@
2005-10-26better description of -F and FILES;Jason McIntyre
2005-10-26document interaction with hostname.if(5);Jason McIntyre
help/ok todd@
2005-10-25some small improvements;Jason McIntyre
2005-10-25sort options;Jason McIntyre
2005-06-09spellingTheo de Raadt
2004-01-05add -F to usage()Jun-ichiro itojun Hagino
2004-01-05add -F option, which sets sysctl(8) variables rather than warn(3) about theJun-ichiro itojun Hagino
current setting. basically for boot floppy. req'ed by fries@. deraadt@ ok.
2004-01-03do not create pid file. it was just for debugging and there was no properJun-ichiro itojun Hagino
cleanup code. from kame
2004-01-02factor out dump.c from rtsol by -DSMALLJun-ichiro itojun Hagino
2004-01-02unifdef for readability. req'ed by deraadtJun-ichiro itojun Hagino