summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.c
AgeCommit message (Expand)Author
2021-02-16Add RTR support to OpenBGPD. Add basic support for the protocol.Claudio Jeker
2021-01-04Rename PFD_PIPE_ROUTE to PFD_PIPE_RDE which is a more obvious name.Claudio Jeker
2020-12-30RB_REMOVE from the correct tree. Dumb copy paste bug introduced by last commit.Claudio Jeker
2020-12-29In preparation for RTR support change the representation of the roa-setClaudio Jeker
2020-11-05Kill bgpd_process, nothing uses it anymore. Instead pass the processClaudio Jeker
2020-05-11There is no reason to limit the string length of log_reason() to REASON_LENClaudio Jeker
2020-05-10In bgpctl argument parser, re-arrange 'reason' parsing ('nei action [reason]')Theo de Raadt
2019-10-02In IMSG_PFKEY_RELOAD do not warn about unknown peers. When a peer isClaudio Jeker
2019-10-01For portable kr_init() returns an fd of -1 which now would end up in anClaudio Jeker
2019-08-08Parse the config file early on startup before bgpd is daemonized.Claudio Jeker
2019-08-05Cleanup config reload in the RDE. Use the bgpd_conf struct to store setsClaudio Jeker
2019-08-05Change the order how filtersets are passed during config reloads. InsteadClaudio Jeker
2019-07-24mrt.h only needs to be included by mrt.cSebastian Benoit
2019-07-23Clean up RIB related kroute code. Introduce a way to flush a FIB tableClaudio Jeker
2019-07-19When allocating socketpair() increase their send and receive buffers toClaudio Jeker
2019-05-29Rework pfkey handling a bit. The old remove then add way of inserting md5sigClaudio Jeker
2019-05-27Switch the peer TAILQ to a RB tree indexed by the peer id. This wayClaudio Jeker
2019-05-08when passing objects to imsg use the for 'obj, sizeof(*obj)' instead ofClaudio Jeker
2019-05-08Rework the TCP md5sig and IKE handling. Move the pfkey socket to the parentClaudio Jeker
2019-03-31Move the struct peer into bgpd_config and switch it to a TAILQ instead ofClaudio Jeker
2019-03-31Avoid calling dup2(oldd, newd) when oldd == newd. In that case theYASUOKA Masahiko
2019-03-07Do a better job at cleaning up the config on shutdown. Remove bits thatClaudio Jeker
2019-02-14mrt_timeout() can send out imsgs so better call it before doing the set_pollfdClaudio Jeker
2019-02-14mrt_timeout should just return -1 when there is no timeout set insteadClaudio Jeker
2019-02-14Revert part of last commit, this stuff is unrelated.Claudio Jeker
2019-02-14Use -1 instead of the less portable INFTIM for the poll timeout.Claudio Jeker
2019-02-11The definition of VPNs in bgpd was never super elegant. The 'depend onClaudio Jeker
2019-01-20explicitly check if the session engine exited by comparing the pidBrent Cook
2019-01-18Don't store the mpe information in struct ktable but instead pass theClaudio Jeker
2018-12-27Check if a control socket or address is already in use befor using it.remi
2018-09-29Implement origin validation in bgpd. This introduces two new tables, theClaudio Jeker
2018-09-29With the introduction of sets the config that is shipped to the RDE gotClaudio Jeker
2018-09-25When sending set_tables in the imsg use the right size. Currently theClaudio Jeker
2018-09-21Implement code to parse, print and reload roa-set tables.Claudio Jeker
2018-09-20Split up as_set into a set_table and an as_set. The first is what doesClaudio Jeker
2018-09-20Switch prefixset to an RB_TREE instead of a SIMPLEQ. This allows to triggerClaudio Jeker
2018-09-09Add network prefix-set <name> syntax to announce networks in a prefix-set.Sebastian Benoit
2018-09-07Some space fixes mentioned by benno@Claudio Jeker
2018-09-07Implement a fast presix-set lookup. This magic trie is able to match aClaudio Jeker
2018-09-07Implement as-set a fast lookup table to be used instead of long list ofClaudio Jeker
2018-07-14get rid of two more implicit ktable_get with rdomain 0.Sebastian Benoit
2018-07-10You can run multiple copies of bgpd in seperate rdomains.Sebastian Benoit
2018-02-10Add prefix-sets, lists of prefixes which can be used in place of aSebastian Benoit
2017-08-12Make not yet implemented pledges more visible in grep output.Florian Obser
2017-06-27move a global into local context; from rob pierceTheo de Raadt
2017-05-28so far, bgpd was hardcoded to use rtable 0 for nexthop verification.Henning Brauer
2017-01-24sync log.c from relayd et al to bgpd.Sebastian Benoit
2016-09-03Simplify shutdown process.Renato Westphal
2016-09-02work on making log.c similar in all daemons:Sebastian Benoit
2016-06-20change the "nexthop 1.2.3.4 now valid: via 192.168.0.1" message to log_debug()Sebastian Benoit