summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_filter.c
AgeCommit message (Expand)Author
2015-11-06Radically improve the performance of bgpd filters. Based on PF's skipPeter Hessler
2015-10-24In all other cases of rde_filter_match() we ensure that asp is valid soClaudio Jeker
2015-07-16Next round of config cleanup. Move various lists into the bgpd_config struct.Claudio Jeker
2015-04-25allow us to write rules that match directly on the peer ASPeter Hessler
2015-03-14rename rde_free_filter() to filterlist_free() and start using it outsideClaudio Jeker
2014-01-24fix the matching for filter rules of 'prefixlen = XX'Peter Hessler
2013-10-19Merge the prefix and prefixlen filter bits into one filter. Change theClaudio Jeker
2013-08-14Rewrite the internals of the RDE reload logic.Claudio Jeker
2012-11-13Allow filtering based on the NEXTHOP attribute. This allows to build rulesClaudio Jeker
2011-09-20Move a few functions into util.c because bgpctl will need them soon.Claudio Jeker
2011-05-01On reload the filtersets attached to a network need to be moved to theClaudio Jeker
2010-11-29Deny prefixes that have F_ATTR_PARSE_ERR set by default. Now theyClaudio Jeker
2010-05-17Implement two new filters, max-as-len and max-as-seq. The first is limitingClaudio Jeker
2010-04-28Allow neighbor-as in AS filter statements like:Claudio Jeker
2010-03-05Allow to filter for ext-community attributes. Currently only perfect matchesClaudio Jeker
2009-12-18Merge rde_filter_community() with community_match() and kill a uselessClaudio Jeker
2009-12-16Implement "set ext-community [delete] subtype key:value" to set and deleteClaudio Jeker
2009-12-01Use an artificial address family id in struct bgpd_addr and almost everywhereClaudio Jeker
2009-11-26support for set origin; based on an initial diff fromHenning Brauer
2009-08-06Implement the error handling as proposed in draft-ietf-idr-optional-transitiveClaudio Jeker
2009-06-06Some preliminary filter magic to support multiple RIBs on the filters.Claudio Jeker
2008-09-29Correct the logic when matching prefixes. This solves issues where IPv6Claudio Jeker
2008-06-15Allow bgpd to delete more then one community per filter rule. Fixes PR5807Claudio Jeker
2007-05-28allow matching on communities using 0 in the AS part, that is in use.Henning Brauer
2007-05-11Various spelling fixes from Stuart Henderson.Claudio Jeker
2007-04-23Make bgpd 4-byte AS compatible. All internal representations of AS numbersClaudio Jeker
2006-05-28Even better nexthop delete behaviour. Do not delete nexthop if they are usedClaudio Jeker
2006-05-28Preload and pin nexthop used in filtersets so the are validiated when used.Claudio Jeker
2006-04-26Remove filterset_names from bgpd.h and replace it with a function becauseClaudio Jeker
2006-04-04add "set nexthop self", force nexthop to be set to own address even with IBGPHenning Brauer
2006-02-09Implement "set community delete 65001:*" and friends. This will removeClaudio Jeker
2006-02-03If the aspath gets copied because it is modified use the copy for filterClaudio Jeker
2006-02-03Doh! Fix stupid copy paste error. Setting the community type to the AS insteadClaudio Jeker
2006-02-02Implement new special community "neighbor-as". neighbor-as is expanded onClaudio Jeker
2006-01-24Check if filter changed on a per peer basis. This should speed up theClaudio Jeker
2006-01-12Copy AS path in rde_filter() on demand instead of doing it before callingClaudio Jeker
2006-01-10The attributes cache broke the set community filterset because community_set()Claudio Jeker
2005-12-08Missing #include <limits.h>Claudio Jeker
2005-11-29even more spaces and tabs.Claudio Jeker
2005-11-02Implement filterset_equal() and rde_filter_equal(). Both return 1 ifClaudio Jeker
2005-11-01Softreconfig out support. On config reload filter changes of outgoing rulesClaudio Jeker
2005-11-01Switch from the per peer filter set list to a filter-only solution.Claudio Jeker
2005-08-10Pass the correct peer to rde_apply_set(). rde_apply_set() needs to knowClaudio Jeker
2005-07-04New function filterset_cmp() used two compare two struct filter_set forClaudio Jeker
2005-07-01More spacesClaudio Jeker
2005-07-01Switch filter_sets form SIMPLEQ to TAILQ, needed for upcomming stuff.Claudio Jeker
2005-07-01The newly introduced function filterset_free() existed already asClaudio Jeker
2005-07-01Make the pftable filter set use the name2id "cache" like the route labels.Claudio Jeker
2005-06-29rtlabel support via filter sets. Just use "set rtlabel foobar" in filtersClaudio Jeker
2005-04-12Introduce a per prefix weight. The weight is used to tip prefixes with equalClaudio Jeker