summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
AgeCommit message (Expand)Author
2006-06-18fix a commentHenning Brauer
2006-06-18make cloned sessions appear with RECONF_REINIT so they are treated likeHenning Brauer
2006-06-17implement carp demotion control for bgpd.Henning Brauer
2006-06-12in session_setup_socket(), to take address family dependent actionHenning Brauer
2006-06-10back in the dark age, carp interfaces were very strange - and we had toHenning Brauer
2006-05-27Pass a IMSG_CTL_RESULT messgae back to bgpctl on reloads to indicate ifClaudio Jeker
2006-05-27Cleanup with lint. Make the poll fd indexes unsigned and because of thatClaudio Jeker
2006-05-23allow bgpd to request a route refresh from a neighbor if that neighborHenning Brauer
2006-03-22Add a new SHOW imsg to send optional attributes to bgpctl. This can be usedClaudio Jeker
2006-03-15Allow the control socket to be changed on the command line. Useful if youClaudio Jeker
2006-02-08fix logic both in the decision when to re-init the capabilities negotiationHenning Brauer
2006-01-24missing space in error message, and make it slightly betterer while thereHenning Brauer
2006-01-24introduce a second control socket, which is restricted to certain messages,Henning Brauer
2006-01-03Track some (memory) statistics in the RDE. Accessible via bgpctl.Claudio Jeker
2006-01-03Plug some mem leaks.Claudio Jeker
2005-12-08When parsing open messages enforce that the optional parameter length isClaudio Jeker
2005-11-01Switch from the per peer filter set list to a filter-only solution.Claudio Jeker
2005-10-19new keyword "down" in neighbor spec, when givenm, the session is notHenning Brauer
2005-10-19only allow connects in IDLE when the ConnectRetryTimer is running, akaHenning Brauer
2005-09-20let "bgpctl network show" print v6 addresses correctlyHenning Brauer
2005-09-19implement fast reconnectsHenning Brauer
2005-09-08fix reloads where capbilities changeHenning Brauer
2005-07-24we must start the ConnectRetry timer before calling session_connect inHenning Brauer
2005-07-18fix a block that was indented too far.David Gwynne
2005-07-18minor nits in session.c, add an additional nconf == NULL check and switchClaudio Jeker
2005-07-01Switch filter_sets form SIMPLEQ to TAILQ, needed for upcomming stuff.Claudio Jeker
2005-06-16use prefixlen2mask() instead of doing the bitshifting by hand; fixes theHenning Brauer
2005-06-09If there is a problem to connect to a remote peer, do the same log dampingClaudio Jeker
2005-06-04when the max-prefix limit was exceeded generate a STOP event; we do notHenning Brauer
2005-06-04call the FSM with a CON_FATAL event after sending notifications in the casesHenning Brauer
2005-06-04do not send out suberrorcodes for cease errors; there are none in theHenning Brauer
2005-06-04use the recorded error code to prevent sending out multiple notificationsHenning Brauer
2005-06-04when sending out a notification record the error code and suberror code inHenning Brauer
2005-06-04relay IMSG_CTL_KROUTE6 as well, from somewhere in BC on the drive to vancouverHenning Brauer
2005-06-02Use the correct pointer when printing out the error message. OK henningChad Loder
2005-05-24KNFClaudio Jeker
2005-05-23no need for endpwent()Henning Brauer
2005-05-03setres[ug]id; ok claudio@Damien Miller
2005-03-30bgpd used to open listeners in advance in the parent and the SE pickedHenning Brauer
2005-03-28ewps, this was not supposed to creep inHenning Brauer
2005-03-28free rules_l if the initial config file parse failsHenning Brauer
2005-03-11shutdown() directly before close() is useless, theoHenning Brauer
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