summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
AgeCommit message (Expand)Author
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
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