summaryrefslogtreecommitdiff
path: root/sbin/routed
AgeCommit message (Collapse)Author
2008-05-07RIP routed.Claudio Jeker
You were a nice thing in the 4.2BSD times but now it is time for you to go. Superseded by the shiny privseped ripd that does not have the evil habit to use kernel internals in userland. OK everybody in the onsen 'cause it unbreaks the tree
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@
2007-12-30usage messages should have the form "usage: command [arguments]"Igor Sobrado
ok jmc@
2007-12-28printf field widths are always int, so add a cast to removeCharles Longeau
"warning: field width is not type int" "looks good" otto@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-02-20Change hard coded numbers to sizeof(buf). Also change someRay Lai
sizeof(buf) - 1 to sizeof(buf), since fgets takes the whole buffer size. Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago. OK millert@.
2006-11-16only look at routing table 0 (main one)Henning Brauer
2006-10-24Ignore NUL lines returned by fgets(3), so we don'tMoritz Jodeit
access one byte before the lbuf buffer. OK cloder@ henning@
2006-06-16Make routed no longer use kernel API prototypes for own functions -- this isClaudio Jeker
totaly braindead and will break as soon as we change something in radix.h. Instead pull in the needed defines and prototypes into defs.h. OK henning@, hshoexer@
2006-06-16Don't use rmx_hopcount any longer. The kernel ignores it anyway.Claudio Jeker
OK henning@, norby@, hshoexer@
2006-05-10() macro params; jan.niemann@tu-bs.deTheo de Raadt
2006-02-06typo from alexey dobriyan;Jason McIntyre
2005-04-12A little bit of cleanup (missing format string arguments, some signed/Chad Loder
unsigned conversion). OK henning
2005-03-23 - remove non-existent -p optionJason McIntyre
- sort options - sync usage() - various formatting tweaks - -A reworded for clarity - update SEE ALSO much help + ok henning@ claudio@
2005-03-23- remove references to gatedJason McIntyre
- add -t to synopsis - sort options - sync usage() - use Rs/Re for references - fix list placement - make clear that rtquery queries ripv1/2 routing daemons much help + ok henning@ claudio@
2005-03-22don't step on ospfd routes, claudio yayayayaHenning Brauer
2004-12-22some -Wimplicit-function-declaration cleaning; ok millert@David Krause
2004-09-08routed assumes it alone controls the routing table and tinkers withHenning Brauer
routes it is not supposed to touch trying to aggregate them, which has unwanted effects when other routing daemons (bgpd) are running. note that bgpd behaves and only touches its own routes. workaround by ignoring routes with RTF_PROTO1 set, which bgpd sets for its routes. from a discussion with Arvid Grotting <arvidg@netfonds.no>, who tested a diff of same functionality (basically only formatting and comment different). ok deraadt
2004-07-05when running as supplier and asked about a defualt route but we have no,Henning Brauer
do not try to fake one when the query comes from a non-local network, i. e. ifp is NULL, which caused a segfault. PR3841, William J Hulley <jonny@abduction.org>
2004-04-25unifdef -DSMALL_KERNELJun-ichiro itojun Hagino
2004-04-25have a localcopy of radix.c hereJun-ichiro itojun Hagino
2004-04-25unbreak treeMarkus Friedl
2004-04-07Remove those option letters from the getopt string which do not have a caseAaron Campbell
handler below. millert@ ok
2004-03-14fd and mem leak, most of patch from Patrick LatifiTed Unangst
2004-03-11Fix byte ordering problems with network info read from /etc/gatewaysOtto Moerbeek
or -P and -F options. Based on NetBSD. Resolves PR 3704. ok deraadt@
2003-08-08refer to RFCs consistently (RFC XXXX);Jason McIntyre
2003-07-03strncpy->strlcpyAnil Madhavapeddy
krw@ ok
2003-06-11ansificationTheo de Raadt
2003-06-10boring cleanupsTheo de Raadt
2003-06-03- section reorderJason McIntyre
- some mdoc fixes
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-26strcpy -> strlcpy.Kenneth R Westerback
ok dhartmei@ deraadt@ (and tdeval@ with stylistic reservations)
2003-04-21a few string cleanups; ok dhartmeiTheo de Raadt
2003-04-17use asprintf; fix (remove) some incorrectly sized buffers in the processPeter Valchev
help & ok millert, miod, deraadt, tedu
2003-04-06string handling; ok millertTheo de Raadt
2003-04-04knf & one snprintf; tedu okTheo de Raadt
2003-04-03trivial snprintfTheo de Raadt
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2003-03-13zap two sprintf, more to goTheo de Raadt
2003-03-11strcpy -> strlcpy; Hans-Joerg.Hoexer@yerbouti.franken.deTheo de Raadt
2003-02-18copyrights added;Jason McIntyre
these are all Regents of the University of California
2003-02-11typos;Jason McIntyre
raidctl(8) ok millert@ mknetid(8) help maja@
2002-11-20wow, a format string bug in a Makefile. Not surprised we missed thisTheo de Raadt
one; peterw@ifost.org.au
2002-11-09remove references to unexistent manpages; miod ok.Federico G. Schwindt
2002-09-06socklen_tTheo de Raadt
2002-09-06missing arg in a msglog(); silvio@big.net.auTheo de Raadt
2002-08-08Use & to test if bits are set, not &&; art@ ok.Aaron Campbell
2002-05-26pid_t cleanupTheo de Raadt
2002-03-14kill more registers.Mike Pechkin
millert@ ok