summaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvd
AgeCommit message (Collapse)Author
2009-07-11fix the RTM_VERSION check in the evil loop to really getRainer Giedat
all the interfaces ok sthen@
2009-07-10Advance the pointer past the message on the routing socket whereStuart Henderson
ifm_version is not RTM_VERSION - the for() loop doesn't do this itself. Fixes endless loop introduced by preceding commit, noticed by marc@. ok claudio.
2009-07-07Forgot to commit this while adding all the RTM_VERSION checks. Reminded byClaudio Jeker
sthen@ who also tested it. OK henning@ sthen@
2009-06-05rtm->rtm_hdrlen conversionChris Cappuccio
ok claudio@, henning@
2008-11-21closefrom the fds that we aren't interested in. pr5994Ted Unangst
2008-11-03be more clear about what getpwnam failed; ok claudioTheo de Raadt
2008-07-21fix ugly debug dump output. found with bluhm@Rainer Giedat
ok thib@, bluhm@
2008-07-19Use the IPv6 documentation prefix 2001:db8::/32 from RFC 3849 insteadReyk Floeter
of the deprecated 3ffe::/16 6bone test address space. Deprecated or public IPv6 allocations should not be used for documentation; we have the same approach for IPv4 by using RFC 1918 private addresses. ok jmc@ todd@
2008-06-09drop root privileges in rtadvd to _rtadvdRainer Giedat
ok deraadt@, reyk@, pyr@
2008-06-09some syslog Xr;Jason McIntyre
2008-06-08Send debug output to syslog instead of a file when receiving SIGUSR1.Rainer Giedat
This is a preparation for dropping privileges. ok henning@, pyr@
2008-05-02do not always delay log initialization, when no configuration file isPierre-Yves Ritschard
present, which is the most common use of rtadvd, it would otherwise always print messages to the console though the situation is valid. this fixes a regression introduced with the new logging code. ok rainer@, todd@, fgsch@
2008-04-23Replace handrolled lists with SLISTs or TAILQs.Pierre-Yves Ritschard
Timers remain and will be handled later.
2008-04-22tweak previous;Jason McIntyre
2008-04-21Clean up logging by introducing the logging API used inRainer Giedat
other daemons and clean up the command line options. For details, see rtadvd(8). ok bluhm@, pyr@
2008-04-20Take failed system calls more serious than LOG_INFO.Rainer Giedat
This is mainly in preparation for more changes to logging. Ok bluhm@, pyr@
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
2007-05-31convert to new .Dd format;Jason McIntyre
2007-01-10remove ancient code. sync w/ kameJun-ichiro itojun Hagino
2006-12-19no need for -DINET6Jun-ichiro itojun Hagino
2006-12-15reduce RFC2292/3542 #ifdef.Jun-ichiro itojun Hagino
2006-11-16ignore messages for routing tables other than the main oneHenning Brauer
2006-03-22Add additional limit check to ensure that we do not overflow pp->prefixClaudio Jeker
while masking the prefix. Fix from itojun@. OK dhartmei@
2005-12-20some wording improvements;Jason McIntyre
2005-10-27sort options and sync usage();Jason McIntyre
2005-04-11use STDERR_FILENO; ok cloderTheo de Raadt
2004-09-15some grammar fixes, and a consistency fix i forgot to commit;Jason McIntyre
2003-10-23typos from Jared Yanovich, plus a few more independant -> independent;Jason McIntyre
2003-09-23simplify by using getifaddrs. cedric@ okJun-ichiro itojun Hagino
2003-09-21plug memory leak. from kame. fgsch okJun-ichiro itojun Hagino
2003-08-08refer to RFCs consistently (RFC XXXX);Jason McIntyre
2003-06-25"addrs" is not needed any moreJun-ichiro itojun Hagino
2003-06-18need "a". from jmcJun-ichiro itojun Hagino
2003-06-18relax config syntax; addrs#x is not needed any more. millert okJun-ichiro itojun Hagino
2003-06-12- section reorderJason McIntyre
- macro fixes - kill whitespace at EOL - new sentence, new line
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-09No longer need -lcompatTodd C. Miller
2003-04-27string cleaning; from tdeval and teduTheo de Raadt
2003-03-18xon/xoff -> Xon/Xoff;Jason McIntyre
IETF ipng -> IETF IPng; NSFNet -> NSFNET; courtesy NetBSD (Igor Sobrado) ok miod@
2003-03-18ip address -> IP address;Jason McIntyre
rtadvd.conf(5): positve -> positive; ok miod@
2003-03-14correct use of sizeof.Jun-ichiro itojun Hagino
2003-03-14add missing ND option length validation. from kameJun-ichiro itojun Hagino
2002-09-10signo and ansiTheo de Raadt
2002-07-10sync w/kame (style)Jun-ichiro itojun Hagino
2002-07-10check malloc return; from Chad Loder <cloder@acm.org>Todd T. Fries
ok me, henning@
2002-06-15remove redundant arg to syslog() netbsd-current via kameJun-ichiro itojun Hagino
2002-06-10Kill __FUNCTION__.Marc Espie
ok itojun@
2002-06-09strchr() instead of index()Theo de Raadt