summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/parse.y
AgeCommit message (Expand)Author
2021-10-15Don't declare variables as "unsigned char *" that are passed toChristian Weisgerber
2021-09-01Implement roa-set data expiry. Every prefix in a roa-set can specify anClaudio Jeker
2021-08-09Implement reception of multiple paths per BGP session. This is oneClaudio Jeker
2021-06-17Implement RFC 7313 enhanced route refresh. It is off by default andClaudio Jeker
2021-05-20Properly initalize the MRT config so that mrt_reconfigure() is doing theClaudio Jeker
2021-04-15On powerpc64 regress/usr.sbin/bgpd/config failed. It parses aAlexander Bluhm
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-01-25RFC6472 discourages the use of AS_SET segements in ASPATH attributes.Claudio Jeker
2020-12-29In preparation for RTR support change the representation of the roa-setClaudio 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-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-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-14Rename copy_filterset() to filterset_copy() and move it to rde_filter.cClaudio Jeker
2020-01-24Implement 'max-prefix NUM out' to limit the number of announced prefixes.Claudio Jeker
2019-09-27Move the code to initialize the cluster-id from merge_config() toClaudio Jeker
2019-08-13When allocating a new peer set the reconf_action to RECONF_REINIT.Claudio Jeker
2019-08-08Set the reconf state of listening addrs to RECONF_REINIT. This is whatClaudio Jeker
2019-08-07Improve RIB reload behaviour. Especially when the rtable changes or theClaudio Jeker
2019-08-07Only templates can have a remote-as of 0 (as in uninitalised, trust the ASClaudio Jeker
2019-08-05Cleanup config reload in the RDE. Use the bgpd_conf struct to store setsClaudio Jeker
2019-07-24mrt.h only needs to be included by mrt.cSebastian Benoit
2019-07-24Refactor the way RIBs are parsed a bit. No functional change but shouldClaudio Jeker
2019-07-23Clean up RIB related kroute code. Introduce a way to flush a FIB tableClaudio Jeker
2019-07-17Change the Adj-RIB-Out to a per peer set of RB trees. The way RIB dataClaudio Jeker
2019-06-22Adjust peer id allocation a bit. Use defines for the various specialClaudio Jeker
2019-06-17Cleanup, remove some unneded spaces add some other where needed.Claudio Jeker
2019-06-17Completley rewrite the community matching and handling code. All communityClaudio Jeker
2019-05-31Also check the type of a network statement when looking for duplicates.Claudio Jeker
2019-05-27Switch the peer TAILQ to a RB tree indexed by the peer id. This wayClaudio Jeker
2019-05-03Make sure that the as-set name is not too long when parsing the config file.Claudio Jeker
2019-04-10Include endian.h since htobe* or be*toh is used. Helps with protable.Claudio Jeker
2019-03-31Move the struct peer into bgpd_config and switch it to a TAILQ instead ofClaudio Jeker
2019-03-15Set all default values in init_config in parse.y and remove the specialClaudio Jeker
2019-03-09Unbreak 'announce inet none' which was actually clearing way too much.Claudio Jeker
2019-03-07Do a better job at cleaning up the config on shutdown. Remove bits thatClaudio Jeker
2019-02-27Fix export none. none became a keyword some time ago and so this broke.Claudio Jeker
2019-02-26Add support for '*', local-as and neighbor-as for ext-community matchingClaudio Jeker
2019-02-18Add stdlib.h since bsearch and strtoul need it.Claudio Jeker
2019-02-18Initialize type and subtype because modern gcc complains about it.Claudio Jeker
2019-02-18Drop netmpls/mpls.h include, not needed here.Claudio Jeker
2019-02-18Use (unsigned) long long instead of (u_)int64_t since that drops theClaudio Jeker
2019-02-18Do not depend on the length field of struct sockaddr instead pass theClaudio Jeker
2019-02-15Remove stray ',' at end of a yacc rule. Noticed by bison.Claudio Jeker
2019-02-15Use the posix version of betoh64() which is spelled be64toh() this is moreClaudio Jeker
2019-02-13(unsigned) means (unsigned int) which on ptrdiff_t or size_t or otherTheo de Raadt
2019-02-12Move the yyerror in case get_mpe_config fails. If bgpd -n is used justClaudio Jeker