summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2004-01-07fix a check that catched too much... now connected routes that appearHenning Brauer
after startup (due to addition of an ip to an interface) are handled correctly.
2004-01-07Modified version of hennings last patch. OK henning@Claudio Jeker
2004-01-07Duh. Fixing stupid braino. OK henning@Claudio Jeker
2004-01-07Document mrt dump comands. Help by jmc@ OK henning@Claudio Jeker
2004-01-07KNFHenning Brauer
2004-01-07don't ever send kroute change (that includes add) requests to the parentHenning Brauer
where the nexthop is not in state NEXTHOP_REACH. previously routes in state NEXTHOP_LOOKUP, i. e. not yet verified, were send to the parent process causing unnecessary and of course failing route add attempts, cluttering logs, etc. nexthops in state NEXTHOP_UNREACH were handled correctly.
2004-01-07handle global vs peer-specific holdtime in a nicer and reload-friendlierHenning Brauer
way
2004-01-07don't try to be smart after config reloads and try to detect wetherHenning Brauer
a session needs a reinit for the new conf to kick in. the logic is condemned to fail, and implicitly taking sessions down is BAD. after discussion with mickey@, ok claudio@
2004-01-07Make sure that kroute updates for the FIB are only sent if there is aClaudio Jeker
change. Until now rde_send_kroute tried to send a IMSG_KROUTE_DELETE if old and new prefix where ineligible. OK henning@
2004-01-06small bug that was not so easy to fix: we did not allow empty lines (orHenning Brauer
comment-only lines) in the middle of neighbor/group blocks. as first or last line in thise blocks they were accepted, but not in between. ok deraadt@
2004-01-06neighbor 1.2.3.4 up/downHenning Brauer
ok claudio@
2004-01-06two new imsg types, IMSG_CTL_NEIGHBOR_UP and _DOWN, on their receival on theHenning Brauer
control socket the given neighbor session is sent a START / STOP signal. ok claudio@
2004-01-06initialize new peers inline instead of looping through 'em initing eachHenning Brauer
before the mainloop started, and a speerate init for those coming in on reloads. much easier this way. ok claudio@
2004-01-06Free buf on error and correct of by one in strlcpy.Claudio Jeker
From Patrick Latifi <pat at eyeo.org> OK henning@
2004-01-06in session_dispatch_msg, in the loop where we suck the messages out of theHenning Brauer
buffers, we need to check wether the buffers are still there before trying to get the next message. the previous one might have caused the session to drop back to the IDLE state, which implies that those buffers have been deallocated. ok claudio@
2004-01-06allow holdtime and holdtime min to be configuered per peerHenning Brauer
ok claudio@
2004-01-06Fix signal handling when there is an error in inetd.conf. Found byTodd C. Miller
mpech@. OK mpech@ and deraadt@
2004-01-06print intervals with the timersHenning Brauer
2004-01-06lower the initial value for the IdleHold timer from 90 to 30 seconds.Henning Brauer
90 is too much, and now that the punishment works as intended oscillating peers get slowed down by that
2004-01-06properly punish oscillating neighbors.Henning Brauer
previously we were to forgiving so the punishment didn't kick in as intended
2004-01-06StartTimer -> IdleHoldTimerHenning Brauer
2004-01-06rename our StartTimer to IdleHoldTimer as per draft-ietf-idr-bgp4-23Henning Brauer
2004-01-06simplify a list;Jason McIntyre
ok henning@
2004-01-062004 OK henning@Claudio Jeker
2004-01-06Fix reopening of dump files.Claudio Jeker
OK henning@
2004-01-062004Henning Brauer
2004-01-05Big overhaul of the mrt code.Claudio Jeker
Dumping of incomming bgp messages is now possible and dumping the (not yet) filtered updates works too. Per neighbor dumps are still missing. OK henning@
2004-01-05fix commentsClaudio Jeker
OK henning@
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-05missing fclose()Henning Brauer
fd leak pointed out by Patrick Latifi, but it was not so easy to fix before I just killed the support for config from stdin and his fix didn't work. however, this is the 16 bytes memory leak on config reload i was hunting for some time, big thanks to Patrick!
2004-01-05correctly handle SIGCHLD.Henning Brauer
SIGCHLD does _not_ translate to "a child process went kaboom". waitpid() and check status; if the child exited or terminated log & quit ok claudio@
2004-01-05remove support for reading configuration from stdin.Henning Brauer
that really does not make sense with a daemon and probably breaks horribly on config reload
2004-01-05fix off by ones with strlcpy()Henning Brauer
memleak fixes in error paths From: Patrick Latifi <pat@eyeo.org>
2004-01-05waitpid's return is a pid_tHenning Brauer
2004-01-05add support for couple/decoupleHenning Brauer
2004-01-05allow fib couple/decouple based on an imsg received on the control socketHenning Brauer
by the SE and passed on to the main process
2004-01-05protect against trying to couple when we're already coupled to the fib,Henning Brauer
and log the coupling. same for decouple.
2004-01-05.Xr bgpctlHenning Brauer
2004-01-05fix SYNOPSIS;Jason McIntyre
SEE ALSO after FILES; add arg to .Xr;
2004-01-05sort options and SYNOPSIS;Jason McIntyre
sync usage();
2004-01-05clarify description of colon `action';Jason McIntyre
ok djm@
2004-01-05include path fixes for gcc3.Marc Espie
tests otto@, okay millert@
2004-01-05excessively detailed error messages are not unixTheo de Raadt
2004-01-04when imsg_get has no imsg any more for us, do not set the done flag,Henning Brauer
instead, break out of the inner loop so the outer loop gets us a new fix via imsg_read
2004-01-04cope with poll errorHenning Brauer
2004-01-04show da timersHenning Brauer
2004-01-04gcc3 doesn't like varargs, it was found that the varargs.h inclusion isDale Rahn
unnecessary for these files, delete. ok espie@
2004-01-04split the dispatch_imsg function into twom one per pipe.Henning Brauer
with the amount of different msgs the RDE is handling the checks wether a msg was received on the "wrong" pipe make things less clear. also remove some outdated comments
2004-01-04show message statistics in the "show neighbor" viewHenning Brauer