summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2018-09-13Noticed that the equal case is a bit wrong while adjusting the regress tests.Claudio Jeker
2018-09-13Similar to as-set factor out the code to create a prefix-set into a function.Claudio Jeker
2018-09-13ROA entires are allowing to define a prefix with a maxlen.Claudio Jeker
2018-09-10fix typosdenis
2018-09-10use filterset_move() like all other network statements. It checks forSebastian Benoit
2018-09-10remove some empty lines from printconf output. ok claudio@Sebastian Benoit
2018-09-09Allow for empty as-set and prefix-set definitions by adding explicit rulesClaudio Jeker
2018-09-09missing Xc;Jason McIntyre
2018-09-09Shut up a gcc warning about uninitialized use of min & max by adding a defaultClaudio Jeker
2018-09-09use rib_valid() to check if a rib is useable. ok claudio@Sebastian Benoit
2018-09-09Can not allow empty as-set and prefix-set blocks right now. This producesClaudio Jeker
2018-09-09use TAILQ_CONCAT in filterset_move(). ok claudio@Sebastian Benoit
2018-09-09Remove another optnl. In general we no longer support a newline betweenClaudio Jeker
2018-09-09Bad merge, change a optnl to comma since that is what we want there.Claudio Jeker
2018-09-09Rework the parser a bit to be more sane when it comes to newline and commaClaudio Jeker
2018-09-09Write asset as as_set since the other word is already used in English.Claudio Jeker
2018-09-09Clean up prefix flag handling. First of all the dynamic networks no longerClaudio Jeker
2018-09-09Add network prefix-set <name> syntax to announce networks in a prefix-set.Sebastian Benoit
2018-09-08missing Ed;Jason McIntyre
2018-09-08implement or-longer filter op for prefix-sets. Allows one two write rules likeSebastian Benoit
2018-09-08More BGPD_OPT_NOACTION checking to make regress happier.Claudio Jeker
2018-09-08If BGPD_OPT_NOACTION is set don't check that the rdomain exists.Claudio Jeker
2018-09-08Change the way we parse prefix-sets so that newlines are allowed in moreClaudio Jeker
2018-09-08Fix print_as_sets() a bit.Claudio Jeker
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