summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.c
AgeCommit message (Expand)Author
2024-01-09Convert the parent process imsg handling over to the new imsg API.Claudio Jeker
2024-01-04Rename argument roa of imsg_send_sockets() to rtr since the imsgbuf isClaudio Jeker
2023-11-07Rename struct imsgbuf *ibuf to *imsgbuf in all places.Claudio Jeker
2023-08-16Remove per-AFI ASPA handling in bgpd internalsClaudio Jeker
2023-04-19Implement code to pass the flowspec config over to the RDE. The parentClaudio Jeker
2023-02-14No longer wait for the RTR process to finish the config reload beforeClaudio Jeker
2023-01-20comma space not space commaClaudio Jeker
2022-11-18Add plumbing for ASPA support. This implements the parser and part of theClaudio Jeker
2022-08-17Convert bzero() to memset(), bcmp() to memcmp() and bcopy() to memcpy().Claudio Jeker
2022-07-28whitespace found during a read-thru; ok claudioTheo de Raadt
2022-07-23Refactor and rename bgpd_filternexthop() to bgpd_oknexthop()Claudio Jeker
2022-07-22Revert previous commit. The RTP_MINE checks on struct kroute_full areClaudio Jeker
2022-07-22Retire the F_KERNEL flag, it got superseded by route priority and RTP_MINE.Claudio Jeker
2022-07-20Cleanup and fix the network code.Claudio Jeker
2022-06-23Move struct kif from bgpd.h to kroute.cClaudio Jeker
2022-06-22Use struct kroute_full in bgpd_filternexthop() so this code becomes a lotClaudio Jeker
2022-06-15Rename F_BGPD_INSERTED to F_BGPD and use F_BGPD_INSERTED as a flag thatClaudio Jeker
2022-06-09Remove the rdomain / rtableid passed to some kroute functions.Claudio Jeker
2022-06-05Rework how fib_priority is handled.Claudio Jeker
2022-06-02Adjust some warning messages to be a bit more accurate. ktable_update()Claudio Jeker
2022-02-06Switch from u_intX_t types to stdint.h uintX_t. Mostly mechanical withClaudio Jeker
2022-01-23On poll() failure we want to skip pollfd related action but the signalClaudio Jeker
2022-01-20Make sure that all poll loops properly restart the poll loop on EINTR.Claudio Jeker
2021-07-20Add -V to usage. Reported by Pier Carlo Chiodi.Claudio Jeker
2021-06-16Add command line option to show the versionjob
2021-05-17Limit the number of concurrent RTR connects to 32.Claudio Jeker
2021-05-11Use non-blocking connect() to setup the RTR socket. connect() can hang forClaudio Jeker
2021-05-03Like in the session engine do not inline the addr2sa call into connect andClaudio Jeker
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