summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/parse.y
AgeCommit message (Expand)Author
2018-11-28Start reworking community handling. Merge standard communities and largeClaudio Jeker
2018-11-18Use correct name when printing the error message that a network prefix-setClaudio Jeker
2018-11-01- odd condition/test in PF lexerAlexandr Nedvedicky
2018-09-29Implement origin validation in bgpd. This introduces two new tables, theClaudio Jeker
2018-09-27unbreak "inet" and "inet6" aliases in filters after rev. 1.333Sebastian Benoit
2018-09-21Both AS 23456 and AS 0 are reserved and can nor be used. Extend check forClaudio Jeker
2018-09-21better yyerror messages. "syntax error" is generally not very helpful.Claudio Jeker
2018-09-21Move setting of the PREFIXSET_FLAG_OPS higher up since prefixset_item ruleClaudio Jeker
2018-09-21Implement code to parse, print and reload roa-set tables.Claudio Jeker
2018-09-20Split up as_set into a set_table and an as_set. The first is what doesClaudio Jeker
2018-09-20Switch prefixset to an RB_TREE instead of a SIMPLEQ. This allows to triggerClaudio Jeker
2018-09-14Extend as_set to allow for different sized objects to be added. The onlyClaudio 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-10use filterset_move() like all other network statements. It checks forSebastian Benoit
2018-09-09Allow for empty as-set and prefix-set definitions by adding explicit rulesClaudio Jeker
2018-09-09Shut up a gcc warning about uninitialized use of min & max by adding a defaultClaudio Jeker
2018-09-09Can not allow empty as-set and prefix-set blocks right now. This producesClaudio Jeker
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-09Add network prefix-set <name> syntax to announce networks in a prefix-set.Sebastian Benoit
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-07remove unused function find_prefixsetitem(), ok claudio@Sebastian Benoit
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-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-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-08Merge getcommunity() and getlargecommunity() into one function thatClaudio Jeker
2018-07-11add option "network ... priority number" to announce prefixes from theSebastian Benoit
2018-07-10You can run multiple copies of bgpd in seperate rdomains.Sebastian Benoit
2018-07-10dont let rtable number overflow,Sebastian Benoit
2018-07-09No need to mention which memory allocation entry point failed (malloc,Kenneth R Westerback
2018-07-08Be consistent in warn() and log_warn() usage whenKenneth R Westerback
2018-06-13Provide backwards compatibility for some of the announce directivesjob
2018-06-13Deprecate announce (all|self|none|default-route)Claudio Jeker
2018-06-11Fix an off-by-one line count when using include statements.denis
2018-04-26Plug leak in error case of the common 'varset' implementations.Kenneth R Westerback
2018-02-10Add prefix-sets, lists of prefixes which can be used in place of aSebastian Benoit
2018-02-05Add a comment why it is OK to set the tableid to 0 for Adj-RIB-In/Out.Claudio Jeker
2018-02-04Clenaup RIB handling in the RDE. Introduce some defines for Adj-RIB-In andClaudio Jeker
2017-10-19don't try to print uninitialised memory as a string in error pathsJonathan Gray
2017-08-21When 'enforce neighbor-as no' is set, don't do a config-time check for the ne...Peter Hessler