summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_filter.c
AgeCommit message (Expand)Author
2022-02-06Switch from u_intX_t types to stdint.h uintX_t. Mostly mechanical withClaudio Jeker
2020-12-30Implement IMSG_CTL_SHOW_SET to get information about roa-set, as-sets andClaudio Jeker
2020-12-03rework the overflow checks for the various relative metric adjustments.Claudio Jeker
2020-11-05Refactor the filterset handling of nexthops. Instead of depending onClaudio Jeker
2020-02-14Rename copy_filterset() to filterset_copy() and move it to rde_filter.cClaudio Jeker
2019-08-13Instead of passing a struct prefix pointer to rde_filter() pass the 4 valuesClaudio Jeker
2019-07-01Unify the way object in the RDE are reference counted. The affectedClaudio Jeker
2019-06-22Add a direct pointer from struct prefix to struct pt_entry.Claudio Jeker
2019-06-17Completley rewrite the community matching and handling code. All communityClaudio Jeker
2019-05-09Neither rde_apply_set() nor rde_filter() are called with a NULL state soClaudio Jeker
2019-02-04Implement as-override, a feature where the neighbor AS is replaced by theClaudio Jeker
2018-12-19Fold ext-communities into filter_community so that bgpd can matchClaudio Jeker
2018-12-11Refactor aspath code a bit. Move cached source_as (for origin validation)Claudio Jeker
2018-11-28Start reworking community handling. Merge standard communities and largeClaudio Jeker
2018-11-14Remove an unneeded union wrapping the skipsteps pointer.Claudio Jeker
2018-09-29Implement origin validation in bgpd. This introduces two new tables, theClaudio Jeker
2018-09-26Rename AS_NONE to AS_UNDEF, AS_NONE will be reused for a different purposeClaudio Jeker
2018-09-26Switching bgpd to a default deny policy had one bad side-effect. SomeClaudio Jeker
2018-09-26Indent issue. No functional changeClaudio Jeker
2018-09-20Split up as_set into a set_table and an as_set. The first is what doesClaudio Jeker
2018-09-20whitespace cleanup, ok claudio@Sebastian Benoit
2018-09-09use TAILQ_CONCAT in filterset_move(). ok claudio@Sebastian Benoit
2018-09-08implement or-longer filter op for prefix-sets. Allows one two write rules likeSebastian Benoit
2018-09-07fix badly broken reload of filter rules that use prefix-sets. debuggedSebastian Benoit
2018-09-07Implement a fast presix-set lookup. This magic trie is able to match aClaudio Jeker
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-03Move nexthop and nexthop flags from the rde_aspath to struct prefix.Claudio Jeker
2018-08-02Split out the rule skipping logic into own function and by doing so ensureClaudio Jeker
2018-07-22Move nexthop into struct filterstate (including nexthop flags) and useClaudio Jeker
2018-07-16Use struct filterstate in rde_update_dispatch() and pass it down toClaudio Jeker
2018-07-09Introduce a struct filterstate and pass this to rde_filter instead ofClaudio Jeker
2018-06-29Prepare the ground for allowing temporary aspath object living on the stack.Claudio Jeker
2018-06-28Remove rde_aspath pointer from rde_filter since that argument can be fetchedClaudio Jeker
2018-06-28Instead of passing the rde_aspath to nexthop_modify() pass pointers toClaudio Jeker
2018-06-28Pass a struct prefix to rde_filter and remove some of the arguments whichClaudio Jeker
2018-06-27Move rde_test_prefix() to a place where it makes more sense. No functionalClaudio Jeker
2018-06-25Properly start reference counting struct nexthop. This removes the need forClaudio Jeker
2018-06-21Use correct function name in fatalx()Claudio Jeker
2018-06-13Deprecate announce (all|self|none|default-route)Claudio Jeker
2018-02-10claudio noted that this is an else case because we have either aSebastian Benoit
2018-02-10Add prefix-sets, lists of prefixes which can be used in place of aSebastian Benoit
2018-02-05prefix check must be last because the prefixlen check does an immediate return.Claudio Jeker
2017-08-12allow filter rules to be written that affect ibgp or ebgp neighborsPeter Hessler
2017-05-27Allow OpenBGPD to selectively choose which local ASN to use per-peer.Peter Hessler
2017-05-27allow us to use 'local-as' in the filter languagePeter Hessler
2017-01-24sync log.c from relayd et al to bgpd.Sebastian Benoit
2016-11-10properly check if large-community was set beforePeter Hessler
2016-10-14Add support for draft-ietf-idr-large-communityPeter Hessler