summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2018-09-07The debug function trie_dump() should use stderr since that does not caseClaudio Jeker
2018-09-07fix badly broken reload of filter rules that use prefix-sets. debuggedSebastian Benoit
2018-09-07Add missing htonl() else matching does not really work.Claudio Jeker
2018-09-07remove unused function find_prefixsetitem(), ok claudio@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-07allow as4number_any in as-sets. Otherwise you cant filter bogon as'es.Sebastian Benoit
2018-09-07replace malloc()+strlcpy() with strndup() in cmdline_symset().miko
2018-09-07tweak previous;Jason McIntyre
2018-09-07Implement as-set a fast lookup table to be used instead of long list ofClaudio Jeker
2018-09-05Implement most prefixlen operations as OP_RANGE (prefixlen A - B).Claudio Jeker
2018-09-05Change the way as_compare() and aspath_match() handle 'neighbor-as'. InsteadClaudio Jeker
2018-09-05Change verification of communities a bit. Move the flag checking first sinceClaudio Jeker
2018-09-04Introduce inet4applymask() which does the same as inet6applymask() andClaudio Jeker
2018-09-04Instead of bzero() use an assinment to zero struct in_addr.Claudio Jeker
2018-08-29Make it possible to filter the RIB for invalid path which resulted in withdrawnClaudio Jeker
2018-08-29When 'log updates' is enabled make sure that the case of an invalid pathClaudio Jeker
2018-08-29When checking for AS 0 make sure the full ASPATH is validated and don'tClaudio Jeker
2018-08-29Adjust comment to make it clear that a NULL nexthop is actually eligableClaudio Jeker
2018-08-27If the maximum for a community is defined via the large flag thenClaudio Jeker
2018-08-27merge_filterset() needs to produce a stable sorted filterset to make sureClaudio Jeker
2018-08-10Another place where we should handle AS_SET better. aspath_lenmatch()Claudio Jeker
2018-08-10Make the AS_SET handling for source-as even simpler. It is enough to onlyClaudio Jeker
2018-08-09Improve handling of source-as when an AS_SET is rightmost. In that caseClaudio Jeker
2018-08-09While softreconfig is running set the poll timeout to 0 so that theClaudio Jeker
2018-08-09Make two very internal functions static. They are used to merge anClaudio Jeker
2018-08-08Move struct wire_largecommunity to rde_attr.c since it is only used internallyClaudio Jeker
2018-08-08Merge getcommunity() and getlargecommunity() into one function thatClaudio Jeker
2018-08-08Make the (non-)transitive handling of ext communities a bit more obvious.Claudio Jeker
2018-08-08One ; too muchClaudio Jeker
2018-08-08Update the RIB after a config reload in the background. This moves theClaudio Jeker
2018-08-08hide rib[] internals in new rib_valid() functionSebastian Benoit
2018-08-06Validate the prefix sent in a network delete call before trying to deleteClaudio Jeker
2018-08-06Pass the stale timestamp to path_remove_stale() removes a asp->peer dereferenceClaudio Jeker
2018-08-06Replace two asp->peer with prefix_peer(p) which is the same.Claudio Jeker
2018-08-06Assign peer1 and peer2 early on and use them everywhere instead of aspX->peer.Claudio Jeker
2018-08-03Move nexthop and nexthop flags from the rde_aspath to struct prefix.Claudio Jeker
2018-08-03Reshuffle the way bgpd does the softreload after filter changes.Claudio Jeker
2018-08-02Split out the rule skipping logic into own function and by doing so ensureClaudio Jeker
2018-08-02Make a few more rde specific functions static.Claudio Jeker
2018-08-02Make free_prefixsets() accept a NULL pointer. Makes it behave more likeClaudio Jeker
2018-08-02This brings the network code more in line with what regular updateClaudio Jeker
2018-07-31Reshuffle order in struct rde_peer a bit. No functional change.Claudio Jeker
2018-07-31There is no longer the need to be careful in rde_softreconfig_in() whenClaudio Jeker
2018-07-27log_info -> log_debug since this is debug noise.Claudio Jeker
2018-07-24Add some debug log messages telling which RIBs and peers get sofreconfiguredClaudio Jeker
2018-07-24Use prefix_nexthop() to access the nexthop instead of dereferencing theClaudio Jeker
2018-07-22Move nexthop into struct filterstate (including nexthop flags) and useClaudio Jeker
2018-07-22Add more information to if_change() debug log using the new interface helperClaudio Jeker
2018-07-22Move functions to print link status etc. to util.c so that bgpd can use themClaudio Jeker