summaryrefslogtreecommitdiff
path: root/filter
AgeCommit message (Collapse)Author
2017-01-24Filter: Fix missing case for !~ operatorOndrej Zajicek (work)
Thanks to Vincent Bernat for the patch.
2016-11-08Minor code cleanupsOndrej Zajicek (work)
2016-11-01Build: switch on -Wextra, get rid of most of the warningsJan Moskyto Matejka
There are several unresolved -Wmissing-field-initializers on older versions of GCC than 5.1, all of them false positive.
2016-10-18Filter: Minor formatting changes in test.confOndrej Zajicek (work)
2016-10-13Filter: Expand testing of large community setsPavel Tvrdik
2016-10-11Tree/Trie: Check the end of bufferPavel Tvrdik
We set buffer->pos to buffer->end in function buffer_print() when bvsnprintf() failed, so there would be uninitialized memory between the old buffer->pos and the current buffer->pos.
2016-10-04Filter: fix missing separatorOndrej Zajicek (work)
2016-10-03Filter: large community setsOndrej Zajicek (work)
Add support for lc sets to filter code. Grammar of (small) community sets has to be updated to avoid parser collisions.
2016-10-03BGP: Support for large communitiesOndrej Zajicek (work)
Add support for large communities (draft-ietf-idr-large-community), 96bit alternative to RFC 1997 communities. Thanks to Matt Griswold for the original patch.
2016-09-21Add !~ operator to filter grammarPavel Tvrdik
2016-09-15Filter: Prefer xmalloc/xfree to malloc/freePavel Tvrdik
2016-08-16whitespace fixesOndřej Surý
2016-07-01Filter: Fixes reconfiguration with last_nonaggregated operatorOndrej Zajicek (work)
2016-06-09Filters: Fixes pm_same() w.r.t. ASN ranges and ASN expressionsOndrej Zajicek (work)
This is necessary for proper detection of filter changes during reconfigurations.
2016-06-08Add AS# ranges to bgpmask.Ondrej Filip
2016-02-16Filter: Implement last_nonaggregated operator on bgp_pathOndrej Zajicek (work)
2015-07-20Static: Allows to specify attributes for static routesOndrej Zajicek
The patch adds suport for specifying route attributes together with static routes, e.g.: route 10.1.1.0/24 via 10.0.0.1 { krt_advmss = 1200; ospf_metric1 = 100; };
2015-06-08BGP multipath supportOndrej Zajicek
Kernel option 'merge paths' allows to merge routes exported to kernel protocol (currently BGP and static routes) to multipath routes.
2015-05-10Add bitfield route attribute typeOndrej Zajicek
2015-02-21Remove a comparison of unsigned expression < 0Pavel Tvrdik
2015-02-21Allows user data attached to f_trie_node structure.Ondrej Zajicek
Thanks to Alexander Chernikov for the patch.
2014-10-02Implements token bucket filter for rate limiting.Ondrej Zajicek
2014-10-02Allows more constants in set literals.Ondrej Zajicek
Thanks to Michael Fincham for the bugreport.
2014-07-07Replaces function name in test.conf as it collided with new keyword.Ondrej Zajicek
2013-11-25Merge branch 'master' into add-pathOndrej Zajicek
2013-11-24Converts filters to unsigned integers.Ondrej Zajicek
2013-11-23Merge branch 'master' into add-pathOndrej Zajicek
Conflicts: filter/filter.c nest/proto.c nest/rt-table.c proto/bgp/bgp.h proto/bgp/config.Y
2013-11-22Minor fix in log_commit() w.r.t. changes in BFD branch.Ondrej Zajicek
2013-11-22Merge commit 'origin/bfd'Ondrej Zajicek
2013-11-20Additional filter test case.Ondrej Zajicek
2013-10-21Implements 'allow local as' option.Ondrej Zajicek
Similar to allowas-in option on other routers.
2013-10-05Fixes some BFD bugs and makes logging thread-safe.Ondrej Zajicek
2013-10-02Implements C.len operator for clist and eclist types.Ondrej Zajicek
Thanks to Sergey Popovich for the original patch.
2013-10-02Some fixes in filter code.Ondrej Zajicek
Thanks to Sergey Popovich for original patches.
2013-10-02Minor code cleanups.Ondrej Zajicek
Thanks to Sergey Popovich for the patch.
2013-10-02Simplifies val_in_range().Ondrej Zajicek
Also fixes missing type check for element ~ set.
2013-09-26Rewrites static attribute filter code and adds ifname/ifindex attributes.Ondrej Zajicek
Thanks to Sergey Popovich for the original ifname/ifindex patch.
2013-09-10Fixes reconfiguration of global set variables.Ondrej Zajicek
When global set variables were used, every reconfiguration restarted protocols that use it in filters. Thanks to Sergey Popovich for a bugreport.
2013-08-15Extends delete/filter operators to work no bgp_paths.Ondrej Zajicek
2013-08-13Implements proper setting of 'gw' route attribute.Ondrej Zajicek
Thanks to Sergey Popovich for the bugreport.
2013-07-26Fixes initial random values for function arguments.Ondrej Zajicek
Thanks to Javor Kliachev for the bugreport.
2013-07-25Allows to define constants of all filter types.Ondrej Zajicek
2013-07-25Implements eval command and minor CLI cleanups.Ondrej Zajicek
Implemented eval command can be used to evaluate expressions. The patch also documents echo command and allows to use log classes instead of integer as a mask for echo.
2013-07-09Implements 'bgppath ~ int set' filter op.Ondrej Zajicek
2013-02-08Implements router advertisements activated by received routes.Ondrej Zajicek
The RAdv protocol could be configured to change its behavior based on availability of routes, e.g., do not announce router lifetime when a default route is not available.
2012-11-27Removes some nonsense.Ondrej Zajicek
2012-11-27Fixes setting of route attributes of type router id.Ondrej Zajicek
2012-08-14Implements ADD-PATH extension for BGP.Ondrej Zajicek
Allows to send and receive multiple routes for one network by one BGP session. Also contains necessary core changes to support this (routing tables accepting several routes for one network from one protocol). It needs some more cleanup before merging to the master branch.
2012-07-18Implements wildcard matching in config file include.Ondrej Zajicek
Also fixes some minor bugs in include. Thanks Kelly Cochran for suggestion and draft patch.
2012-04-29Allows some modifications of dest attribute in filters.Ondrej Zajicek