summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
AgeCommit message (Expand)Author
2008-05-08take advantage of the timewheel: instead of checking each an everyHenning Brauer
2008-05-08change timer internals so that we use a timewheel (tailq, sorted by expiryHenning Brauer
2007-12-23provide timer_nextduein, which provides the number of seconds until theHenning Brauer
2007-12-23use timer_running (with left = NULL, which the last commit made possible)Henning Brauer
2007-12-20rework timers.Henning Brauer
2007-06-19Ignore SIGHUP in bgpd's children to allow the use of pkill -1 bgpd forPierre-Yves Ritschard
2007-05-29Correctly encode the End-of-RIB marker capability. It is just 2 bytes notClaudio Jeker
2007-05-15draft-ietf-idr-restart -> RFC 4724 and bump draft-ietf-idr-as4bytes toClaudio Jeker
2007-04-23Make bgpd 4-byte AS compatible. All internal representations of AS numbersClaudio Jeker
2007-03-28IPv6 ttl setting via IPV6_HOPLIMIT no longer works. Switch toClaudio Jeker
2007-03-16A few more s/2858/4760/ and use RFC <number> everywhere.Claudio Jeker
2007-02-22KNFHenning Brauer
2007-02-22do not try to set IP_TTL on non-INET listening sockets, it's not goingHenning Brauer
2007-01-26Massiv rework of the control imsg flow. Main changes:Claudio Jeker
2007-01-23Typo in fatal() message found by dunceor @ gmail dot comClaudio Jeker
2006-12-05implement the ttl security hack. since the pc slaves fear the word hack,Henning Brauer
2006-11-28add additional link states to report the half duplex / full duplexReyk Floeter
2006-11-06fix pasto; only announce restart capability when announcing the restartHenning Brauer
2006-09-19make buffer_grow always return a valid struct buf; the contained bufferHenning Brauer
2006-08-27in the restart capability (that we do not actually send yet), set theHenning Brauer
2006-08-27fix a small logic botch in session_accept() in the fast reconnect logic,Henning Brauer
2006-08-27add code to announce the restart capability according toHenning Brauer
2006-08-27missing htons() in session_rrefresh()Henning Brauer
2006-08-27change how we advertise capabilities.Henning Brauer
2006-08-04add "restart" to max-prefix, allows sessions suspended due to reachingHenning Brauer
2006-07-30there's a nasty little race condition when the neigbor reached max-prefixHenning Brauer
2006-07-28factor out the code to build bgp messages, ok claudio a long time agoHenning Brauer
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