Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-02-01 | put v6 cruft into session_up() while beeing there... claudio ok | Henning Brauer | |
2004-01-31 | rename tcp sockopt TCP_SIGNATURE_ENABLE to TCP_MD5SIG | Henning Brauer | |
requested by theo ok markus@ hshoexer@ | |||
2004-01-30 | -enable md5sig on the listening socket | Henning Brauer | |
-on connections we just accepted, check wether md5sig is configured for that peer, and check wether the connection is md5sig'd too. if not, refuse tested against cisco 7200. | |||
2004-01-29 | enable tcp md5sig om the connecting socket when md5sig is configured for that | Henning Brauer | |
peer. I just successfully established an md5sig'd session against a cisco 7200 with that. | |||
2004-01-28 | improve logging | Henning Brauer | |
2004-01-28 | KNF | Henning Brauer | |
2004-01-28 | catch SIGINT here as well so we can properly shut down if ^C'ed in debug mode | Henning Brauer | |
2004-01-28 | STOP events for all sessions before we exit. | Henning Brauer | |
allows for some cleanup to happen, especially we need this to remove the md5sig flows | |||
2004-01-28 | repair the bind() in session_connect; only used if local-addr was specified | Henning Brauer | |
got broken in the sockaddr_in -> bgpd_addr conversion | |||
2004-01-28 | improve logging | Henning Brauer | |
2004-01-28 | we need a pfkey_init the gets us a PF_KEY socket before we drop privs | Henning Brauer | |
eases other code quite a bit in exchange... | |||
2004-01-28 | call pfkey_auth_establish() on START events | Henning Brauer | |
call pfkey_auth_remove when a session drops back to IDLE state ok markus@ claudio@ | |||
2004-01-27 | use a struct bgpd_addr instead of sockaddr_in for peer_config->local_addr and | Henning Brauer | |
->remote_addr for easier multiprotocol support ok claudio@ | |||
2004-01-23 | make sure to only use the accept()ed connection of there is no other existing | Henning Brauer | |
tcp connection for the peer in question, and shutdown & close it otherwise. add a comment about collision detection. | |||
2004-01-23 | sync comments with reality and properly log accept() errors | Henning Brauer | |
2004-01-22 | make log_peer_* take a struct peer_config instead of the session engine | Henning Brauer | |
specific struct peer, and move their prototypes to bgpd.h to make it available to whole bgpd ok claudio@ | |||
2004-01-22 | use log_warnx and log_info. reclassify a few messages in the process and fix | Henning Brauer | |
a few messages. ok claudio@ | |||
2004-01-22 | log_peer_err -> log_peer_warn | Henning Brauer | |
log_peer_errx -> log_peer_warnx | |||
2004-01-22 | s/log_err/log_warn/ | Henning Brauer | |
it is like warn(3), nor err(3). so use a less confusing name. | |||
2004-01-17 | allow the interfaces as bgpd sees 'em to be queried via imsgs | Henning Brauer | |
2004-01-13 | Better update error handling. Ensure that the session goes down and | Claudio Jeker | |
ignore all queued updates after an error. Looks good henning@ | |||
2004-01-11 | Add to the IMSG_SESSION_UP message the local and remote address of the | Claudio Jeker | |
peer session. This is needed to set the correct nexthop address in outgoing bgp UPDATES. OK henning@ | |||
2004-01-11 | clean up setting the poll events a bit. no functional changes. | Henning Brauer | |
2004-01-11 | new message IMSG_CTL_SHOW_NEXTHOP: request/send lost of BGP nexthops and | Henning Brauer | |
the result of their validity check | |||
2004-01-11 | once the tcp session is established use gettsockname/getpeername to get | Henning Brauer | |
local/remote sockaddr and store it in the peer struct ok claudio@ | |||
2004-01-10 | re-enable sending outgoing updates | Henning Brauer | |
ok claudio@ | |||
2004-01-10 | we are only interested in POLLOUT for a session socket when we either | Henning Brauer | |
have queued writes or the connection is not yet established - but certainly not if we ever had a queued write, forever... ok claudio@ | |||
2004-01-10 | disable sending UPDATEs for now; it triggers som blocking bug... | Henning Brauer | |
ok & debugging band-aid claudio@ | |||
2004-01-10 | i buy a break; | Henning Brauer | |
2004-01-10 | send out UPDATE messages to the peer(s) that we receive from the RDE | 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 | 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-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-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 | 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 | properly punish oscillating neighbors. | Henning Brauer | |
previously we were to forgiving so the punishment didn't kick in as intended | |||
2004-01-06 | rename our StartTimer to IdleHoldTimer as per draft-ietf-idr-bgp4-23 | Henning Brauer | |
2004-01-06 | 2004 | Henning Brauer | |
2004-01-05 | Big 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-04 | cope with poll error | Henning Brauer | |
2004-01-04 | err, on receival of keepalives increase the keepalive counter, not the update | Henning Brauer | |
counter... | |||
2004-01-04 | keep seperate message counters for open/update/keepalive/notification | Henning Brauer | |
2004-01-04 | -new imsg CTL_RELOAD | Henning Brauer | |
-upong receival in the SE forward to parent -make sending messages from SE to parent work for that (was not required before) -parent reacts to that just like a SIGHUP, reread config file | |||
2004-01-04 | allow "show neighbor" to be limited to one specific neighbor | Henning Brauer | |
2004-01-04 | in the SE, keep the remote router-id in network byte order, just like | Henning Brauer | |
every other IP address in the RDE, transform in into host byte order upon receival | |||
2004-01-03 | keep track of last session up/down and last successfull read | Henning Brauer | |