Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-01-10 | RDE update generation. First we queue all updates and withdraws on a per | Claudio Jeker | |
peer basis. A queue runner will dequeue and package those messages to valid bgp UPDATE messages and send them to the SE. Not yet done is per peer type attribute handling (like aspath prepends and nexthop modifications) and the queue runner could be a tad smarter. All in all this gives us a good starting point for the missing parts. OK henning@ | |||
2004-01-10 | Avoid duplication of code; handle truncated packets properly; use | Otto Moerbeek | |
fn_print to print strings. Joint work with & ok canacar@. | |||
2004-01-09 | Avoid messing up the screen by non-printable chars in hostname + | Otto Moerbeek | |
sync with tcpdump.org. ok canacar@ | |||
2004-01-09 | show fib connected|static|bgp|nexthop|[address] | Henning Brauer | |
ok claudio@ | |||
2004-01-09 | for IMSG_CTL_KROUTEs allow matching based on flags, | Henning Brauer | |
add IMGS_CTL_KROUTE_ADDR to match the route for a given address ok claudio@ | |||
2004-01-09 | flag kernel routes whch are not conencted routes as static routes. | Henning Brauer | |
that's what they are, and it makes matching on them easier. | |||
2004-01-09 | a sample "show fib" implementation | Henning Brauer | |
ok claudio@ | |||
2004-01-09 | get us a stateful imsg relaying framework, and the first receiver, | Henning Brauer | |
IMSG_CTL_KROUTE, to have the kroute structs forming the fib sent to a control socket. ok claudio@ | |||
2004-01-09 | we must ignore SIGPIPE. | Henning Brauer | |
we do notice closed pipes just fine, tho there was at least one case where we tried a write without POLLOUT and that got us a SIGPIPE before our pipe closed detection catched it. ok claudio@ | |||
2004-01-09 | you must not try to read(2) without checking (pfd->revents & POLLIN) | Henning Brauer | |
you must not try to read(2) without checking (pfd->revents & POLLIN) you must not try to read(2) without checking (pfd->revents & POLLIN) [...] you must not try to read(2) without checking (pfd->revents & POLLIN) | |||
2004-01-09 | Delete default route before attempting to add the new one, or the old one | Theo de Raadt | |
stays; itojun ok | |||
2004-01-09 | for RTM_IFINFO messages showing up on the routing socket do not ever | Henning Brauer | |
look into the first sockaddr structure after the msg header; does not contain what we expect there and caused messages to get missed in some cases | |||
2004-01-08 | in kroute_insert, use knexthop_validate instead of hand-baking a slightly | Henning Brauer | |
optimized version of it | |||
2004-01-08 | in knexthop_validate, always call kroute_detach_nexthop, not | Henning Brauer | |
only in the no-match-found case. if we fina a match we are calling kroute_attach_nexthop anyway; and the match might be (in the common cases: will be, if existant at all) different for the existing attachment. | |||
2004-01-08 | fix kroute_detach_nexthop | Henning Brauer | |
2004-01-08 | our own internal route flags should have been an u_int8_t from the beginning | Henning Brauer | |
on, not an int. | |||
2004-01-08 | rename a few functions to further clarify things | Henning Brauer | |
2004-01-08 | big reorganization. | Henning Brauer | |
much nicer now. ok claudio@ | |||
2004-01-08 | .Xr bgpd.conf 5 | Henning Brauer | |
From: Xavier Santolaria <xavier@santolaria.net> | |||
2004-01-08 | KNF | Henning Brauer | |
2004-01-08 | keep track of interface status. if an interface goes down mark all connected | Henning Brauer | |
routes that belong to it as invalid, and invalidate all nexthops belonging to it, and vice versa when it goes up "looks good" claudio@ on the version from yesterday night '-) | |||
2004-01-08 | sync with sysctl/drivers + 0K == -273.15C; report grange; ok henning | Markus Friedl | |
2004-01-08 | typo fix (must be rtm_addrs). from fujitsu | Jun-ichiro itojun Hagino | |
2004-01-07 | missing Ic; from Andrey Matveev; | Jason McIntyre | |
2004-01-07 | deal with messages on the AF_ROUTE socket in a multiprotocol friendlier way. | Henning Brauer | |
this is also some preparation for v6 support. "looks good" claudio@ | |||
2004-01-07 | fix a check that catched too much... now connected routes that appear | Henning Brauer | |
after startup (due to addition of an ip to an interface) are handled correctly. | |||
2004-01-07 | Modified version of hennings last patch. OK henning@ | Claudio Jeker | |
2004-01-07 | Duh. Fixing stupid braino. OK henning@ | Claudio Jeker | |
2004-01-07 | Document mrt dump comands. Help by jmc@ OK henning@ | Claudio Jeker | |
2004-01-07 | KNF | Henning Brauer | |
2004-01-07 | don't ever send kroute change (that includes add) requests to the parent | Henning 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-07 | handle global vs peer-specific holdtime in a nicer and reload-friendlier | Henning Brauer | |
way | |||
2004-01-07 | don't try to be smart after config reloads and try to detect wether | Henning 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-07 | Make sure that kroute updates for the FIB are only sent if there is a | Claudio 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-06 | small bug that was not so easy to fix: we did not allow empty lines (or | Henning 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-06 | neighbor 1.2.3.4 up/down | Henning Brauer | |
ok claudio@ | |||
2004-01-06 | two new imsg types, IMSG_CTL_NEIGHBOR_UP and _DOWN, on their receival on the | Henning Brauer | |
control socket the given neighbor session is sent a START / STOP signal. ok claudio@ | |||
2004-01-06 | initialize new peers inline instead of looping through 'em initing each | Henning Brauer | |
before the mainloop started, and a speerate init for those coming in on reloads. much easier this way. ok claudio@ | |||
2004-01-06 | Free buf on error and correct of by one in strlcpy. | Claudio Jeker | |
From Patrick Latifi <pat at eyeo.org> OK henning@ | |||
2004-01-06 | in session_dispatch_msg, in the loop where we suck the messages out of the | Henning 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-06 | allow holdtime and holdtime min to be configuered per peer | Henning Brauer | |
ok claudio@ | |||
2004-01-06 | Fix signal handling when there is an error in inetd.conf. Found by | Todd C. Miller | |
mpech@. OK mpech@ and deraadt@ | |||
2004-01-06 | print intervals with the timers | Henning Brauer | |
2004-01-06 | lower 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-06 | properly punish oscillating neighbors. | Henning Brauer | |
previously we were to forgiving so the punishment didn't kick in as intended | |||
2004-01-06 | StartTimer -> IdleHoldTimer | Henning Brauer | |
2004-01-06 | rename our StartTimer to IdleHoldTimer as per draft-ietf-idr-bgp4-23 | Henning Brauer | |
2004-01-06 | simplify a list; | Jason McIntyre | |
ok henning@ | |||
2004-01-06 | 2004 OK henning@ | Claudio Jeker | |
2004-01-06 | Fix reopening of dump files. | Claudio Jeker | |
OK henning@ |