summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
AgeCommit message (Expand)Author
2004-01-11Add to the IMSG_SESSION_UP message the local and remote address of theClaudio Jeker
2004-01-11clean up setting the poll events a bit. no functional changes.Henning Brauer
2004-01-11new message IMSG_CTL_SHOW_NEXTHOP: request/send lost of BGP nexthops andHenning Brauer
2004-01-11once the tcp session is established use gettsockname/getpeername to getHenning Brauer
2004-01-10re-enable sending outgoing updatesHenning Brauer
2004-01-10we are only interested in POLLOUT for a session socket when we eitherHenning Brauer
2004-01-10disable sending UPDATEs for now; it triggers som blocking bug...Henning Brauer
2004-01-10i buy a break;Henning Brauer
2004-01-10send out UPDATE messages to the peer(s) that we receive from the RDEHenning Brauer
2004-01-09for IMSG_CTL_KROUTEs allow matching based on flags,Henning Brauer
2004-01-09get us a stateful imsg relaying framework, and the first receiver,Henning Brauer
2004-01-09we must ignore SIGPIPE.Henning Brauer
2004-01-07handle global vs peer-specific holdtime in a nicer and reload-friendlierHenning Brauer
2004-01-07don't try to be smart after config reloads and try to detect wetherHenning Brauer
2004-01-06two new imsg types, IMSG_CTL_NEIGHBOR_UP and _DOWN, on their receival on theHenning Brauer
2004-01-06initialize new peers inline instead of looping through 'em initing eachHenning Brauer
2004-01-06in session_dispatch_msg, in the loop where we suck the messages out of theHenning Brauer
2004-01-06allow holdtime and holdtime min to be configuered per peerHenning Brauer
2004-01-06properly punish oscillating neighbors.Henning Brauer
2004-01-06rename our StartTimer to IdleHoldTimer as per draft-ietf-idr-bgp4-23Henning Brauer
2004-01-062004Henning Brauer
2004-01-05Big overhaul of the mrt code.Claudio Jeker
2004-01-04cope with poll errorHenning Brauer
2004-01-04err, on receival of keepalives increase the keepalive counter, not the updateHenning Brauer
2004-01-04keep seperate message counters for open/update/keepalive/notificationHenning Brauer
2004-01-04-new imsg CTL_RELOADHenning Brauer
2004-01-04allow "show neighbor" to be limited to one specific neighborHenning Brauer
2004-01-04in the SE, keep the remote router-id in network byte order, just likeHenning Brauer
2004-01-03keep track of last session up/down and last successfull readHenning Brauer
2004-01-03add message countersHenning Brauer
2004-01-03decouple the peer list from bgpd_config.Henning Brauer
2004-01-03change imsg_read semantics so that the number of bytes read is returned.Henning Brauer
2004-01-01listen on a AF_LOCAL socket for imsgs too.Henning Brauer
2004-01-01now that imsg_get uses bigger buffers, one read call can put more than oneHenning Brauer
2003-12-30small logic error in session_open/_keepalive/_notification (yes, the same inHenning Brauer
2003-12-30we should not access ressources in a peer strcut 2 lines after weHenning Brauer
2003-12-30no empty default: cases in switch, gcc3 complaints via espie@Henning Brauer
2003-12-30typos from davidHenning Brauer
2003-12-28redo the imsg readers to use bigger buffers and less read(2)s. should increaseHenning Brauer
2003-12-27few fatal()s should really be fatalx()Henning Brauer
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-26log_err -> log_peer_errHenning 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-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
2003-12-24EAGAIN can't happen here anymoreHenning Brauer