summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
AgeCommit message (Expand)Author
2019-08-13Do not use the SE global conf struct for the bgpd_config but actuallyClaudio Jeker
2019-08-12Change the way IdleHoldTime is reset once the session is up and stable.Claudio Jeker
2019-07-24mrt.h only needs to be included by mrt.cSebastian Benoit
2019-06-28Reset rpending (read pending) indicator for a peer when the peer goes downClaudio Jeker
2019-06-22Adjust peer id allocation a bit. Use defines for the various specialClaudio Jeker
2019-06-17A bit more KNF no binary changeClaudio Jeker
2019-06-17Cleanup, remove some unneded spaces add some other where needed.Claudio Jeker
2019-06-17Completley rewrite the community matching and handling code. All communityClaudio Jeker
2019-05-27Switch the peer TAILQ to a RB tree indexed by the peer id. This wayClaudio Jeker
2019-05-24Change timer_nextisdue() and timer_nextduein() to take the current timeClaudio Jeker
2019-05-08Rework the TCP md5sig and IKE handling. Move the pfkey socket to the parentClaudio Jeker
2019-04-25Extend maximum message size of the shutdown communication to 255 bytes.Claudio Jeker
2019-04-07Be more careful when setting timeout to 0 because there is pending workClaudio Jeker
2019-03-31Move the struct peer into bgpd_config and switch it to a TAILQ instead ofClaudio Jeker
2019-03-15Set all default values in init_config in parse.y and remove the specialClaudio Jeker
2019-03-07Do a better job at cleaning up the config on shutdown. Remove bits thatClaudio Jeker
2019-02-27Convert the remote and local addresses in struct peer to be bgpd_addrsClaudio Jeker
2019-02-18Do not depend on the length field of struct sockaddr instead pass theClaudio Jeker
2019-02-15Move the depend on state calculation from session.c to kroute.c. ThisClaudio Jeker
2019-01-20Support group descriptions in control messages that accept a neighborClaudio Jeker
2018-10-22Properly throttle dumping of prefixes to peers. Eventhough we got the XON/XOFFClaudio Jeker
2018-09-29With the introduction of sets the config that is shipped to the RDE gotClaudio Jeker
2018-09-20whitespace cleanup, ok claudio@Sebastian Benoit
2018-09-19Wrap sending imsg to the RDE in a function and make sure that the ibufClaudio Jeker
2018-09-04Introduce inet4applymask() which does the same as inet6applymask() andClaudio Jeker
2018-07-11On IMSG_CTL_SHOW_RIB_MEM also send back information of some of theClaudio Jeker
2017-05-29fix "depend on" when carp interface goes from MASTER into state INITSebastian Benoit
2017-05-28Close imsg pipes later in the process. The shutdown code still tires toClaudio Jeker
2017-05-28Implement an XON/XOFF protocol between the RDE and the SE to throttleClaudio Jeker
2017-05-27Allow OpenBGPD to selectively choose which local ASN to use per-peer.Peter Hessler
2017-05-26AS 0 is special and should be considered an error.Peter Hessler
2017-02-13draft-ietf-idr-shutdown extends to support a message on either ofPeter Hessler
2017-01-24sync log.c from relayd et al to bgpd.Sebastian Benoit
2017-01-13Add support for draft-ietf-idr-shutdownPeter Hessler
2016-12-19In parse_header() not all of the bgp message may be in the buffer yet soClaudio Jeker
2016-12-18Correct logic, make it the same as in the other mrt_dump_bgp_msg case.Claudio Jeker
2016-09-03Simplify shutdown process.Renato Westphal
2016-09-02work on making log.c similar in all daemons:Sebastian Benoit
2016-08-08Use exit(3) instead of _exit(2) in the child processes.Renato Westphal
2016-07-25Initialize the log subsytem in the SE like it is done in the RDE. WithoutClaudio Jeker
2016-07-21Remove a fatal() in peer_up when the local addrs of a peer can't be figured out.Claudio Jeker
2016-06-28Use IPV6_MINHOPCOUNT to finish implementing ttl-security for IPv6.Jeremie Courreges-Anglas
2016-06-06Add format attributes to the proper functions and then fix the warning inSebastian Benoit
2015-11-20bgpd has been naughty. It tries to play with AF_UNIX sockets withoutFlorian Obser
2015-11-17in the SE, loosing the pipe to the main process can be handled with aSebastian Benoit
2015-10-25Rename imsg_compose_parent and imsg_compose_rde to imsg_ctl_parent andClaudio Jeker
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-07use fatal() instead of err(); from bennoTheo de Raadt
2015-10-06Move from tame "cmsg" to tame "sendfd" or "recvfd", depending on whichTheo de Raadt
2015-10-05tame "stdio inet cmsg" should work well in the session engine.Theo de Raadt