summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_filter.c
AgeCommit message (Expand)Author
2023-05-09Properly handle references for nexthops and labels in filterset_copy()Claudio Jeker
2023-04-19Implement a way to announce flowspec rules without hitting Adj-RIB-InClaudio Jeker
2023-03-10Compile the output filter rules into per peer filter rules.Claudio Jeker
2023-01-24Implement filter and control message matching for ASAP.Claudio Jeker
2023-01-24Implement ASPA validation and reload logic on ASPA set changes.Claudio Jeker
2023-01-12Split rde_filterstate_prep() into three functions.Claudio Jeker
2023-01-11Add the validation state to the filterstate struct.Claudio Jeker
2022-07-28whitespace found during a read-thru; ok claudioTheo de Raadt
2022-05-31Implement a max communities filter matchClaudio Jeker
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