summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2003-12-26let imsg_get and imsg_compose not fatal() but return errors upstream.Henning Brauer
2003-12-26when this project started and i added the fatal() function, I made it takeHenning Brauer
2003-12-26by making kroute_dispatch_msg() and kroute_nexthop_add() return int insteadHenning Brauer
2003-12-26report as many errors upstream as possible instead of fatal() so theyHenning Brauer
2003-12-26overhaul error handlingHenning Brauer
2003-12-26need to clean errno before returning error in the custom caseHenning Brauer
2003-12-26handle kroute_init failures nicerHenning Brauer
2003-12-26provide a real log_errHenning Brauer
2003-12-26log_err -> log_peer_errHenning Brauer
2003-12-26127/8 is special, and thus needs special protection.Henning Brauer
2003-12-26o improve logging dramaticallyHenning Brauer
2003-12-26improve log messageHenning Brauer
2003-12-26log nexthop status changesHenning Brauer
2003-12-26+ log_ntoa, a simple helper funtion that doesn't require a struct in_addr...Henning Brauer
2003-12-26remove he pathetic log_kroute()Henning Brauer
2003-12-26handle IMSG_NEXTHOP_DELETE as wellHenning Brauer
2003-12-26In the mrt state machine one state was forgotten. This caused the parentClaudio Jeker
2003-12-26kroute_nexthop_check -> kroute_nexthop_addHenning Brauer
2003-12-26kroute_validate_nexthop is a private functionHenning Brauer
2003-12-26finally marry rde and kroute parts of the nexthop verification:Henning Brauer
2003-12-26o in struct nexthop_node, we don't need the full kroute_nexthop struct,Henning Brauer
2003-12-25Turn the nexthop verification on. At least in the RDE.Claudio Jeker
2003-12-25styleHenning Brauer
2003-12-25RDE part of the nexthop verification puzzle.Claudio Jeker
2003-12-25nothing uses the special return value kroute_msg used to set for EEXIST anyHenning Brauer
2003-12-25bring us closer to a complete nexthop verification that does NOT needHenning Brauer
2003-12-25detect connected routes and flag them as suchHenning Brauer
2003-12-25must not remove macros vis cmdline after parsinf is done, we will need themHenning Brauer
2003-12-25don't leak in yyerror()Henning Brauer
2003-12-25o can't TAILQ_FOREACH when we TAILQ_REMOVE in the loopHenning Brauer
2003-12-25free where it was allocated; much easier to verifyHenning Brauer
2003-12-25don't leak memory THAT obvious on reconfigureHenning Brauer
2003-12-25track routing table changes that are _not_ caused by bgpd itselfHenning Brauer
2003-12-25factor out prefixlen_classful() and mask2prefixlen()Henning Brauer
2003-12-25implement "passive": do not attempt to open a tcp connection to theHenning Brauer
2003-12-25make the listening socket nonblocking as well.Henning Brauer
2003-12-25small gotcha in the FSM:Henning Brauer
2003-12-25we need nonblocking connectHenning Brauer
2003-12-25kill an inappropriate XXXHenning Brauer
2003-12-25remove a useless check & commentHenning Brauer
2003-12-25(more or less) handle ESRCH for RTM_ADDHenning Brauer
2003-12-25kill IMSG_KROUTE_ADD as well. just send KROUTE_CHANGE requests.Henning Brauer
2003-12-25it actually makes more sense to call the merged function kroute_changeHenning Brauer
2003-12-25kroute_change is obsolete, long live kroute_addHenning Brauer
2003-12-25check with our local view wether there is already an entry for the to beHenning Brauer
2003-12-25oups, remove debugging cruftHenning Brauer
2003-12-25skip over routing table entires with flag LLINFO (that's arp cache)Henning Brauer
2003-12-25dump a copy of the kernel routing table into our own view on startupHenning Brauer
2003-12-24syscalls return -1 on err so test for == -1 instead of the < 0 found in veryHenning Brauer
2003-12-24following up on a discussion with theo, read(2) as much as possible at onceHenning Brauer