summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
AgeCommit message (Expand)Author
2010-05-26Rename some imsg bits to make namespace collisions less likely buf toNicholas Marriott
2010-05-03Make it possible to load multiple routing tables at the same time and useClaudio Jeker
2010-04-16Memory allocated with calloc() is initialized to zero, no need to do thatClaudio Jeker
2010-04-13Instead of passing AF specific struct kroutes over imsgs use a structClaudio Jeker
2010-02-11Not knowing a AFI/SAFI pair in the MP capability is no reason to failClaudio Jeker
2010-01-05Make sure that all important config variables are synced on a reload inClaudio Jeker
2009-12-31Instead of passing the config via arguments to the childs on bootup issueClaudio Jeker
2009-12-08Big AID change part two. This changes the mp capability into an array ofClaudio Jeker
2009-12-03Stop the IdleHold timer when going to idle state. This makes it a bitClaudio Jeker
2009-12-01Use an artificial address family id in struct bgpd_addr and almost everywhereClaudio Jeker
2009-10-26Better error handling when doing mrt dumps (e.g. when there is no more spaceClaudio Jeker
2009-09-22Update capability code to follow RFC 5492. Unlike before multipleClaudio Jeker
2009-09-03Use correct destination in memcpy(). Fixes PR6218, OK henningClaudio Jeker
2009-09-02Implement all of RFC 4486 BGP Cease Notification Message Subcodes.Claudio Jeker
2009-08-21Fix for PR6213, peers with 4-byte AS numbers were unable to connect to aClaudio Jeker
2009-07-24RECONF_REINIT is a bad initial reconf_action state for templates.Claudio Jeker
2009-06-07Change the way fds passed over a socket are retreived on the receiving side.Eric Faurot
2009-06-06sync bgpd/bgpctl with the common imsg code, making it lib ready as well.Eric Faurot
2009-06-04Add "rde rib <name>" to the config and allow the rde to use these other RIBs.Claudio Jeker
2009-05-27add an option to change the "connect-retry" timer which defaults to 120s.Reyk Floeter
2009-03-19First big chunk of mrt rewrite. Simplifies code hopefully and fixes tableClaudio Jeker
2009-03-18Correctly check the peer group for mrt dumps. Without this all non-groupedClaudio Jeker
2009-03-18short_as is always initialised to the 16bit AS that is used. So no needClaudio Jeker
2009-03-13Move mrt code over to use the msgbuf way of queuing buffers instead of rollingClaudio Jeker
2009-03-13Sync buffer API with the one from ospfd. The dynamic buffers will make otherClaudio Jeker
2008-09-11remove hackery to un-demote after the session has been established forHenning Brauer
2008-09-05ignore unknown SAFIs in the MP capabilities. used by some to distributeHenning Brauer
2008-06-26fatalx instead of fatal because errno is not set of pipe is closed. OK henningClaudio Jeker
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