summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_filter.c
AgeCommit message (Expand)Author
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
2004-06-24First step at multiprotocol support, only partially done.Claudio Jeker
2004-06-20at least somewhat consistently name the TAILQ_ENTRYs... this confused meHenning Brauer
2004-05-17extend filter language to allow basic setting of COMMUNITIES attribute.Damien Miller
2004-05-07add a filter option to dump prefixes learned in UPDATEs into a PF table,Damien Miller