summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
AgeCommit message (Expand)Author
2022-08-31Remove IMSG_CTL_SHOW_RIB_HASH and struct rde_hashstats which are noClaudio Jeker
2022-08-26Handle IMSG_SESSION_* messages immediatly when received and do not putClaudio 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-18Remove warning messages that add nothing in the situation they occure.Claudio Jeker
2022-06-27Add support for RFC 9234 - Route Leak Prevention and Detection Using RolesClaudio Jeker
2022-06-23Move struct kif from bgpd.h to kroute.cClaudio Jeker
2022-06-19Implement a applymask() function that works on bgpd_addr structs.Claudio Jeker
2022-02-23Make it possible to bind and connect to non-default ports. This is mainlyClaudio Jeker
2022-02-06Switch from u_intX_t types to stdint.h uintX_t. Mostly mechanical withClaudio Jeker
2022-01-20Make sure that all poll loops properly restart the poll loop on EINTR.Claudio Jeker
2021-09-03Add add-path support in MRT dumps (RFC8050).Claudio Jeker
2021-07-27Implement RFC9072: Extended Optional Parameters Length for BGP OPEN MessageClaudio Jeker
2021-06-24Fix add-path capability encoding, the length was not correctly calculatedClaudio Jeker
2021-06-17Implement RFC 7313 enhanced route refresh. It is off by default andClaudio Jeker
2021-05-27Use negotiated capabilities to decide if a ROUTE-REFRESH message can beClaudio Jeker
2021-05-27Use correct RFC number in commentClaudio Jeker
2021-05-27bgpd(8) will soon support ADD-PATH (RFC7911) and enhanced route refreshClaudio Jeker
2021-05-27Fix bad logic in last commit. If graceful restart is on and the forwardingClaudio Jeker
2021-05-27Improve graceful restart capability handling.Claudio Jeker
2021-05-16Capabilities are only supported on a session when both sides announceClaudio Jeker
2021-05-06Improve reload behaviour of RDE peer flags and export_type.Claudio Jeker
2021-05-03When negotiating multiprotocol capabilities only fall ack to AID_INET whenClaudio Jeker
2021-04-27Check for possible bgpid collision on open. RFC 6286 defines that thisClaudio Jeker
2021-02-16Add RTR support to OpenBGPD. Add basic support for the protocol.Claudio Jeker
2021-01-05It is safe to call addr2sa with a bgpd_addr NULL pointerClaudio Jeker
2020-12-30Implement IMSG_CTL_SHOW_SET to get information about roa-set, as-sets andClaudio Jeker
2020-12-29getifaddrs() can return entries where ifa_addr is NULL. Check for thisClaudio Jeker
2020-12-23BGP uses KEEPALIVE packets and the HOLD timer to detect stalled sessions.Claudio Jeker
2020-12-11Make the timer code independent of struct peer this way it can be usedClaudio Jeker
2020-11-05Mark some common symbols of RDE and SE as static so that linkingClaudio Jeker
2020-11-05Kill bgpd_process, nothing uses it anymore. Instead pass the processClaudio Jeker
2020-11-05Refactor the control code to be more like a module.Claudio Jeker
2020-06-27Replace TAILQ concatenation loop with TAILQ_CONCATbket
2020-05-10In bgpctl argument parser, re-arrange 'reason' parsing ('nei action [reason]')Theo de Raadt
2020-04-23Store local-address by address family. This allows to configure bothClaudio Jeker
2020-02-12Move the code to figure out the alternate IP address (IPv6 addr for IPv4Claudio Jeker
2020-01-24Implement 'max-prefix NUM out' to limit the number of announced prefixes.Claudio Jeker
2020-01-21Add last_rcvd_errcode and last_rcvd_suberr to the peer_stats so thatClaudio Jeker
2020-01-09Convert last_updown and last_read from time(3) to use getmonotime()Claudio Jeker
2019-10-02When removing a peer do the RB_REMOVE last and log the removal just beforeClaudio Jeker
2019-10-01Add some TCP MD5SUM specific calls needed by protable. On Linux systemsClaudio Jeker
2019-10-01Use the peer list from the right struct bgpd_config. Don't use the globalClaudio Jeker
2019-10-01Remove leftover pfkey_remove() call in session.c this code was moved toClaudio Jeker
2019-09-30Pass a struct listen_addr pointer to tcp_md5_listen and not just the fd,Claudio Jeker
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