summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_filter.c
AgeCommit message (Expand)Author
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
2005-03-14Allow to modify the metrics in a relative way by prepending the number withClaudio Jeker
2005-03-11Finally commit the transparent-as and nexthop no-modify stuff I wrote on theClaudio Jeker
2005-02-24Add two missing breaks and suddenly using filter has no strange side effects.Claudio Jeker
2004-12-23KNFHenning Brauer
2004-11-23Switch from a single filter_set to a linked list of sets. With this changeClaudio Jeker
2004-10-08Don't access pointers blindly. asp is NULL for withdraws. This fixes a rdeClaudio Jeker
2004-09-28one m is enough in incoming, really ;)Henning Brauer
2004-09-28Add prepend-neighbor feature. Prepend the remote-as n times similar toClaudio Jeker
2004-08-10switch nexthop in struct filter_set form struct in_addr to struct bgpd_addrClaudio Jeker
2004-08-10Correctly set the MED in outgoing UPDATEs. OK henning@Claudio Jeker
2004-08-06Monster diff to get one step closer to IPv6 support.Claudio Jeker
2004-08-05Cleanup aspath specific functions and api. Mainly switch to a refcnt basedClaudio Jeker
2004-08-05rename and move prefix_equal() to prefix_compare() which returns -1, 0, 1Claudio Jeker
2004-07-10Fix reverse logic bug in the prefix filter.Claudio Jeker
2004-07-05implement "set nexthop blackhole" and "set nexthop reject"Henning Brauer