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