summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2021-04-27Add IMSG_CTL_SHOW_RTR to the list of restriced control messages.Claudio Jeker
2021-04-27Add RFC 6286 to the list of RFC bgpd supports.Claudio Jeker
2021-04-27Check for possible bgpid collision on open. RFC 6286 defines that thisClaudio Jeker
2021-04-27Fix notification sub-error code for syntactically incorrect nexthops.Claudio Jeker
2021-04-26The time_t now is only set but never used. Noticed by gcc.Claudio Jeker
2021-04-24remove bgpd warning message exposed by "bgpctl show rib peer out" forTheo de Raadt
2021-04-20Update comment to be less confusing (I hope)Claudio Jeker
2021-04-20prefix_insert() and prefix_remove() emulate a tail queue by keeping theClaudio Jeker
2021-04-16Add back IMSG_RECONF_ROA_ITEM in the parent imsg handler. It is neededClaudio Jeker
2021-04-15On powerpc64 regress/usr.sbin/bgpd/config failed. It parses aAlexander Bluhm
2021-04-08The path with the *highest* local weight is selectedDaniel Jakots
2021-03-08When introducing prefix_eligible() I botched up one if statement.Claudio Jeker
2021-03-02Introduce 'rde evaluate all' a mode to work around path hiding in IXPClaudio Jeker
2021-02-16Add RTR support to OpenBGPD. Add basic support for the protocol.Claudio Jeker
2021-02-02Properly implement 'rde med compare strict' and make sure that the orderClaudio Jeker
2021-02-01update the pathname for the control socket path; from daniel jakotsJason McIntyre
2021-01-27spelling fixes;Jason McIntyre
2021-01-25RFC6472 discourages the use of AS_SET segements in ASPATH attributes.Claudio Jeker
2021-01-18Change struct bgpd_addr VPN encoding. Instead of including two almostClaudio Jeker
2021-01-16aspath_neighbor() needs to return the local system AS for empty AS pathsClaudio Jeker
2021-01-14Cleanup prefix_cmp() a bit. Make sure that the return value can not overflowClaudio Jeker
2021-01-13Extend prefix_evaluate() to also be used when withdrawing a prefix.Claudio Jeker
2021-01-09Move peer related checks from up_test_update() to rde_generate_updates()Claudio Jeker
2021-01-05It is safe to call addr2sa with a bgpd_addr NULL pointerClaudio Jeker
2021-01-05Revert part of the last addr2sa change. When addr is NULL or AID_UNSPECClaudio Jeker
2021-01-05Add AID_VPN_IPv[46] support to addr2sa. It only converts the address partClaudio Jeker
2021-01-04Rename PFD_PIPE_ROUTE to PFD_PIPE_RDE which is a more obvious name.Claudio Jeker
2021-01-04Rework roa_cmp() so that the result does not depend on the endianess ofClaudio Jeker
2021-01-04Use log_sockaddr() in log_addr() to print a struct bgpd_addr. This wayClaudio Jeker
2020-12-30Implement IMSG_CTL_SHOW_SET to get information about roa-set, as-sets andClaudio Jeker
2020-12-30Use correct IMSG type in fatal message. Also reformat some not so long lines.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-12-29getifaddrs() can return entries where ifa_addr is NULL. Check for thisClaudio Jeker
2020-12-29Only skip routes with a loopback gateway for network static and connected.Claudio 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-12-04Reference count prefixes added to a pftable. This allows to exportClaudio Jeker
2020-12-03rework the overflow checks for the various relative metric adjustments.Claudio 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 filterset handling of nexthops. Instead of depending onClaudio Jeker
2020-11-05Refactor the control code to be more like a module.Claudio Jeker
2020-11-05Fix comment to better reflect realityClaudio Jeker
2020-10-27Do not allow configuration of the same neighbor multiple times. For thisClaudio Jeker
2020-10-26Fix a memory leak when parsing roa-set lists. If the prefixset_item isClaudio Jeker
2020-10-21rde_update_dispatch() was switched to void some time ago. There is noClaudio Jeker
2020-10-21Move tmp16 declaration into the #ifdef __KAME__ block to remove a compilerClaudio Jeker
2020-10-21For portability include sys/types.h instead of sys/cdefs.h.Claudio Jeker
2020-06-27Replace TAILQ concatenation loop with TAILQ_CONCATbket