summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
AgeCommit message (Expand)Author
2004-12-23in getpeerbydesc(), complain if we find more than one match and return NULLHenning Brauer
2004-12-23introduce getpeerbydesc(), find a peer by its descriptionHenning Brauer
2004-12-23lower latency by processing no more than 25 messages at once for each peerHenning Brauer
2004-12-07oups, little FSM error: when we're in CONNECT and get an CON_OPEN eventHenning Brauer
2004-11-23Switch from a single filter_set to a linked list of sets. With this changeClaudio Jeker
2004-11-18embed two struct capabilities, one for the capas announced by the peer andHenning Brauer
2004-11-18add an instance of struct capabilities to peer_conf, and inheritHenning Brauer
2004-11-18inside struct peer, replace the occurance of the older struct peer_capaHenning Brauer
2004-11-18remove the global 'announce' flag from struct peer_capa, clearHenning Brauer
2004-11-18let peer->capa.mp_[v4|v6] contain the SAFI, don't just use it as boolHenning Brauer
2004-11-18introduce session_capa_mp() which adds the multiprotocol announcementsHenning Brauer
2004-11-18add code to announce support for IPv6 Unicast.Henning Brauer
2004-11-18supress logging of subsequent connect() failures as long as:Henning Brauer
2004-11-11Unbreak link local IPv6 sessions by setting the correct scope_id inClaudio Jeker
2004-11-10"not reached" does not help LINT use NOTREACHED instead and use it only inClaudio Jeker
2004-11-02save the previous state in struct peer, claudio okHenning Brauer
2004-10-19allow neighbor definitions to depend on interface state.Henning Brauer
2004-10-07use a static, const and prefilled u_int8_t[16] to check wether the markerHenning Brauer
2004-10-05reject an all zero bgpid, following a similar suggestion fromHenning Brauer
2004-09-22don't bother shrinking the pfd and index2peer arraysHenning Brauer
2004-09-16when a cloned peer goes back to IDLE state, don't remove him immediatelyHenning Brauer
2004-09-16imsg API cleanup:Henning Brauer
2004-09-16malloc the imsg buffers instead of having them staticly, suggested byHenning Brauer
2004-09-09correctly track peer count. fixes a memory corruption.Henning Brauer
2004-08-11mrt dumps for cloned sessions did not work because the wrong address was used.Claudio Jeker
2004-08-11Cleanup on exit. OK henning@Claudio Jeker
2004-08-10Gahhh, why is this still around? It was never necessary to inform the parentClaudio Jeker
2004-08-06Forward IMSG_CTL_SHOW_NEIGHBOR messages to the rde so that we can reportClaudio Jeker
2004-08-04session_main() and rde_main() return... right, a pid. and a pid is a pid_tHenning Brauer
2004-07-13fix some typosJared Yanovich
2004-07-042 more file descriptors for each RDE and SE inherited from the parentHenning Brauer
2004-07-03Switch mrt dumping to fd passing. This gives some speed up when extensiveClaudio Jeker
2004-06-22Precedence fix; ok henning@Alexander Guy
2004-06-22missing bzero in a function for this strange other address familyHenning Brauer
2004-06-22Templates with unknown AS where always configured as ebgp peers even ifClaudio Jeker
2004-06-22so we call realloc() on our pollfd array and the peer_l one when they shrunkHenning Brauer
2004-06-20at least somewhat consistently name the TAILQ_ENTRYs... this confused meHenning Brauer
2004-06-20implement file descriptor passing in the imsg/msgbuf framework, and useHenning Brauer
2004-06-09move to a dynamically allocated struct pollfd array.Henning Brauer
2004-06-06rework bgpd's handling of listening sockets. instead of one for eachHenning Brauer
2004-05-28detect absence of PF_KEY interface and/or the TCP_MD5SIG setsockoptsHenning Brauer
2004-05-28don't want SO_REUSEPORT...Henning Brauer
2004-05-21Add support for dynamic announcements. Usefule to annouce temporaryClaudio Jeker
2004-05-08remove unused argument to control_dispatch_msg(), lintHenning Brauer
2004-05-06oups, spacesHenning Brauer
2004-05-06the Address Family Identifier field in the capability announcement isHenning Brauer
2004-05-06do not punish the peer (by holding him in IDLE for IdleHoldTime seconds) whenHenning Brauer
2004-05-06improve logging in teh capabilities parserHenning Brauer
2004-05-06scale socket buffer sizes (and thus window size) up to up to 64k,Henning Brauer
2004-05-06there's a little race condition: a session is taken down and its associatedHenning Brauer