summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
AgeCommit message (Expand)Author
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
2015-08-04Give more precise errors, to help track when bgpd quitsPeter Hessler
2015-07-20Make bgpd execute the RDE and session engine process instead of just forking.Claudio Jeker
2015-02-09Kill session_socket_blockmode() and replace it with SOCK_CLOEXEC orClaudio Jeker
2014-12-04replace an overlapping memcpy with memmove, ok deraadt teduStuart Henderson
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-10-08Use reallocarray() throughout to spot multiplicative int overflow.Theo de Raadt
2014-01-22Fix a bug where stale routes were not properly flushed on sessions announcingClaudio Jeker