summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
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@
2009-06-28Remove useless blank space in output.Antoine Jacoutot
2009-06-28Teach sysmerge to deal with links (found the hard way when I realised IAntoine Jacoutot
missed some very much needed symlinks under /etc/fonts/conf.d/). The behaviour is the following, if a link does not exist: * in '-a' mode, it is created automatically * in normal mode, sysmerge will ask what you want to do If one wants to use '-a' mode while still being in control of what links are created, sysmerge.ignore can be used. "sounds good to" phessler@, ok sthen@
2009-06-26use standard safe CTheo de Raadt
2009-06-26locally define nitems() macro, #ifndef'd.Okan Demirmen
"please commit" gilles@ jacekm@
2009-06-26There is no need to log routing socket version mismatches.Claudio Jeker
OK henning@, sthen@
2009-06-26More consistent RTM_VERSION checking. A few missing one was in the wrongClaudio Jeker
spot. OK henning@, sthen@
2009-06-26Another daemon needing RTM_VERSION checks. Why rwhod is doing all the hardClaudio Jeker
work instead of using getifaddrs() and working on this much simpler structure is beyond my immagination. Looked over by henning@ and sthen@
2009-06-26If two or more children exit before hotplugd is scheduled only one SIGCHLDKurt Miller
will be delivered, so deal with this case in the SIGCHLD handler. Also retry if waitpid() fails with EINTR. looks good deraadt@ millert@
2009-06-25sasyncd isn't interested in messages on the routing socket other thanStuart Henderson
RTM_IFINFO to monitor the state of carp(4) interfaces; programme the filter on the socket accordingly so it doesn't have to handle other message types. ok henning@
2009-06-25fix the function name in log_warn() text, it was borrowed from someStuart Henderson
previous test code of mine.
2009-06-25Another kroute.c needing RTM_VERSION checks. Looked over by sthen@ and henning@Claudio Jeker
2009-06-25At least try to check for the RTM_VERSION here even so part of this codeClaudio Jeker
escaped from a horror story and robs you're sanity. This needs major cleanup. OK sthen@, OK henning@
2009-06-25Another kroute.c code with missing RTM_VERSION checks.Claudio Jeker
OK sthen@, henning@
2009-06-25Add missing RTM_VERSION checks. Bad me, no cockies.Claudio Jeker
Tested and OK sthen@, OK henning@
2009-06-25Another copy another missing RTM_VERSION check.Claudio Jeker
Tested and OK sthen@, OK henning@
2009-06-25Another copy of the strange while loop seen in route(8). Add missingClaudio Jeker
RTM_VERSION check. Tested and OK sthen@, OK henning@
2009-06-25Same code as in route(8) same RTM_VERSION check missing.Claudio Jeker
Tested and OK sthen@, OK henning@
2009-06-25typo;Jason McIntyre
2009-06-25incorrect .PATH setting, discovered with nicmTheo de Raadt
2009-06-25Teach ifstated to use ROUTE_FILTER. Requested by claudio@.Stuart Henderson
ok claudio@ henning@
2009-06-25pkgpath are only used for updates, so matching should only be pkgpath vsMarc Espie
default info, and not maximal matching, otherwise too many things will match. problem noticed by marco@ With input from sthen@ and tests from kili@
2009-06-24recvmsg ENOENT noncritical tooHenning Brauer
2009-06-24Lower stack size before mlockall(). With login.conf defaults for i386,Stuart Henderson
this avoids wiring (8MB-256KB). From AerieBSD. ok deraadt@
2009-06-22Log a warning when "enforce remote-as" is triggered. ok claudio@Stuart Henderson
2009-06-21Support mouses with lots of buttons. Also, fix a crash when pressingJacek Masiulaniec
a button that's outside of the hardcoded range; miod@ ok