summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
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
2020-06-05Remove redundant codedenis
2020-05-16list example files in FILES with a short description: generally, "ExampleJason McIntyre
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
2020-05-08Do not use string litterals in the grammar ("{") it is not POSIX compliantClaudio Jeker
2020-05-02The warning "bad AGGREGATOR, AS 0 not allowed ..." is not very helpful.Claudio Jeker
2020-04-23 ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread;Jason McIntyre
2020-04-23replace examples of "Ic arg Ic arg" with "Ic arg arg" and stop the spread;Jason McIntyre
2020-04-23Try to document 'no local-address'Claudio Jeker
2020-04-23Store local-address by address family. This allows to configure bothClaudio Jeker
2020-03-16The assumption that in roa tables a prefix / source-as combo only appearsClaudio Jeker
2020-02-16Tag "neighbor" and "group" keywords at their definitionskn
2020-02-14Rename copy_filterset() to filterset_copy() and move it to rde_filter.cClaudio Jeker
2020-02-12Move the code to figure out the alternate IP address (IPv6 addr for IPv4Claudio Jeker
2020-02-09mention /etc/examples/bgpd.conf; tweak and OK jmc@, OK benno@Ingo Schwarze
2020-01-28usr.sbin/bgpd: replace TAILQ concatenation loop with TAILQ_CONCATbket