summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2009-07-30add missing " when printing an error string. ok henning@Stuart Henderson
2009-07-29apply patch for https://www.isc.org/node/474 since jakob does notTheo de Raadt
appear to be around.
2009-07-28introduce daemon_record_message() and needed glue in queue_shared.c toGilles Chehade
atomically create a mailer daemon out of a message. it is unreferenced for now, this commit makes no functional change.
2009-07-28Use strcmp() for string comparison not ==Jonathan Gray
ok jacekm@
2009-07-28slightly change how makemap parses its lines so that we consider #Gilles Chehade
as a comment only when it starts a line or is preceded by whitespaces. fixes a bug that was reported to me twice and which i ran into, ok jacekm@
2009-07-28Install interface addresses of other routers (LA bit set or 128 prefixlen)Claudio Jeker
as router type and not as a network. From stsp@
2009-07-28More fallout from the r1.31 commit. This time PID and the fd got swapped.Claudio Jeker
Again from stsp@
2009-07-28Running 'ospf6ctl show' twice caused ospf6d to fatal. Cause was a missing -Claudio Jeker
when passing -1 as fd to the imsg call. No frogs for eric@ and pyr@ From stsp@
2009-07-28Track renamed struct member (r1.15 of ospf6d/ospf6.h) to fix compilation.Claudio Jeker
From stsp@
2009-07-28indentGilles Chehade
2009-07-28add missing bit to correctly spot loops in all cases.Gilles Chehade
at the moment we only break out of the loop, but do not generate mailer daemon, this will come soon. ok pyr@, tested by me with help from gui at iroqwa dot org
2009-07-27seperation -> separation; from Amarendra GodboleJason McIntyre
2009-07-24RECONF_REINIT is a bad initial reconf_action state for templates.Claudio Jeker
getpeerbyip() initializes the full peer and so there is no need to do the work a second time -- especially since there it was already in the wrong state resulting in strange behaviour. OK henning@
2009-07-23no need for Xo/Xc when we have very simple list items;Jason McIntyre
2009-07-23Silence some lint warnings about an unreachable return by consolidatingBret Lambert
actual returns (which were returning the same value anyway). ok pyr@
2009-07-23make buf_write() behave like msgbuf_write(): send out only theEric Faurot
bytes that were filled, not the whole buffer. ok pyr@ gilles@
2009-07-23Document rdomain keyword, again from stsp@Claudio Jeker
2009-07-23Spelling and comment fixes by stsp@Claudio Jeker
2009-07-23Update bgpctl show next to show all necessary info. This time OK henning@Claudio Jeker
2009-07-23Send the used kroute along with the nexthop information. This allows usClaudio Jeker
to show all necessary information in bgpctl show next. OK henning@
2009-07-23knexthop_compare() failed to compare correctly and because of this it wasClaudio Jeker
possible to corrupt the nexthop RB tree. Use the same compare logic used in the kroute compare functions. Nice side effect is a nicely sorted list in bgpctl show next. OK sthen@ henning@
2009-07-21stop gcc from whiningTheo de Raadt
2009-07-21sorry, but showing a diff, getting an explicit "not ok" and then committingHenning Brauer
anyway without oks is not our process
2009-07-20Try to show a more usable nexthop output. It may still change but at leastClaudio Jeker
it is better than what we had till now and syncs up with the last bgpd change.
2009-07-20Include more info in the bgpctl show nexthop ctl message. Mainly add theClaudio Jeker
gateway used for non-connected routes. This info was missing all the time and often resulted in massive confusion when the nexthop selection choosed a bad nexthop.
2009-07-20On config reload errors free the list of ribs so that following reloadsClaudio Jeker
don't fail because of redefinition conflicts. This problem was reported by some people.
2009-07-20Flag added RIBs as F_RIB_NOFIB | F_RIB_NOEVALUATE in the no-eval case evenClaudio Jeker
though F_RIB_NOEVALUATE implicitly includes F_RIB_NOFIB.
2009-07-19fix fwrite return code checking.Jacek Masiulaniec
bug exposed by recent change to fwrite, and reported by oga. ok gilles
2009-07-19missing va_end in pppd; ok millert@Martynas Venckus
2009-07-17Correcly mark as 'R' ripd(8) inserted routes evenMichele Marchetto
if they have been modified by ldpd(8). Spotted by Rolf Sommerhalder
2009-07-16ServerTokens default is ProductOnly;Jason McIntyre
from Tim van der Molen ok henning
2009-07-13Get rid of the multipath code, as it is not needed.Michele Marchetto
ok claudio@ laurent@
2009-07-13If there are no downstream members for a particular prefix, send a pruneMichele Marchetto
upstream. ok claudio@
2009-07-12don't cast lvalue, no binary change.Jonathan Gray
2009-07-12Remove a semicolon at the end of an if statement so theJonathan Gray
test if a buffer isn't NULL before freeing has effect. This was harmless as it is in a failure case and free(NULL) is valid in userland.
2009-07-11synchronize the synopsis and usage of mopa.out(1); mopchk(1) can handleIgor Sobrado
more than one filename at a time; add a description for -3 and -4 in mopd(8), and document -v; remove a duplicate flag in mopprobe(1); use a better style for synopses; sort flags and arguments. written with help by jmc@ ok jmc@
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-08Detect nexthop change.Michele Marchetto
React installing the label associated with the new nexthop in the kernel routing table. ok claudio@
2009-07-08Fix memory leak in sarch filter parsing code.Bret Lambert
ok pyr@
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-07-07Make ripd(8) aware of MPLS routes.Michele Marchetto
ok claudio@
2009-07-06default waittime is 5, not 3;Jason McIntyre
from Paul Stoeber
2009-07-03allow pkg_mklocatedb -p to work again; from espie@Christian Weisgerber
2009-07-02Rewrite the sysctl handlers to use libc functions (getifaddrs andClaudio Jeker
if_indextoname) instead of looking at the sysctl data directly. This makes the code a lot simpler and actually work. Tested by many (todd@, sthen@, and a few people on tech@). OK sthen@, deraadt@
2009-06-29Protect the other rde_send_kroute() with a F_RIB_NOFIB check.Claudio Jeker
2009-06-29Doh! Fix logic botch that disconnected the FIB from the Loc-RIB instead ofClaudio Jeker
making sure that other RIBs are not injecting routes into the FIB.
2009-06-29Unfuck mrt table dumps and plug a memory leak while there.Claudio Jeker
2009-06-29since upper-bound is not a power of two here, use arc4random_uniformMartynas Venckus
instead, to avoid modulo bias. ok jacekm@, gilles@
2009-06-28Fix small regression introduced with symlinks handling.Antoine Jacoutot
spotted by jmc@