summaryrefslogtreecommitdiff
path: root/filter
AgeCommit message (Collapse)Author
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-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
2012-03-18Route Origin Authorization basics.Ondrej Zajicek
- ROA tables, which are used as a basic part for RPKI. - Commands for examining and modifying ROA tables. - Filter operators based on ROA tables consistent with RFC 6483.
2012-03-15Extends set operations in filters.Ondrej Zajicek
Allows add/filter/delete clist on clist (set algebra on clists). Allows number ~ bgppath match.
2012-03-15Fixes name for unnamed filters.Ondrej Zajicek
Thanks to Alexander V. Chernikov for the suggestion.
2012-03-15Fixes a bug in pair set intervals.Ondrej Zajicek
Pair intervals in form (a,b)..(c,d) were mishanded. Thanks to Alexander Shikoff for the bugreport.
2012-01-03Fixes a tricky bug in route filtering.Ondrej Zajicek
Route attributes was used after rta was freed during copy-on-write in filter code. This causes some random crashes, esp. with multipath routes.
2011-10-26Some minor fixes in parser.Ondrej Zajicek
2011-09-27Fixes a bug with multiple function arguments.Ondrej Zajicek
2011-09-18Fixed problem during 'configure' with ECOndrej Filip
2011-09-11Configuration can include other files.Ondrej Filip
2011-08-14BGP Extended communities.Ondrej Zajicek
2011-07-03Prints full community lists during 'show route all'.Ondrej Zajicek
2011-06-26Adds filter clist operation.Ondrej Zajicek
2011-05-06Fixes several problems in filter syntax.Ondrej Zajicek
- Fixes several conflicts in the grammar. - Fixes a bug in (a..b, c) pair patterns. - Makes pair patterns orthogonal. - Allows term expressions in pair patterns without additional ( ). - Allows several comma separated values in switch cases.
2011-03-27Avoid using stack.Ondrej Filip
2011-03-26This adds (*,x) functionality.Ondrej Filip
2011-03-23Convert && and || to shortcut boolean operators.Ondrej Zajicek
2011-03-23A hack to distinguish if..else from else: in case.Ondrej Zajicek
The old BIRD grammar needs two lookaheads to distinguish if..else from else: in case, which caused the parser to fail on some combinations of both expressions. This patch replaces two tokens 'else' ':' by one token 'else:' to fix that.
2010-10-09Fixes error handling in ASN expressions.Ondrej Zajicek
2010-10-04Fixes scope of filter symbols.Ondrej Zajicek
2010-09-20Changes print-like filter commands to use a log instead of a stderr.Ondrej Zajicek
And extends the log subsystem to better handle that.
2010-09-15Fixes a bug in pair sets.Ondrej Zajicek
2010-09-11Fixes a bug in community set delete.Ondrej Zajicek
2010-08-03Documentation update and improvement of tests related to expressions in sets.Ondrej Filip
2010-08-03Even set of number can be made by expressions.Ondrej Filip
2010-08-03Syntax of sets improved.Ondrej Filip
2010-07-27Hostcache should use trie to filter relevant route changes.Ondrej Zajicek
2010-07-27Minor changes in prefix trie.Ondrej Zajicek
2010-05-22Extends pair set syntax, matching and deleting against clist.Ondrej Zajicek
Expressions like (123,*) can be used in pair set literals, clists can be matched against pair sets (community ~ pairset) and pair sets can be used to specify items to delete from clists (community.delete(pairset)).
2010-04-09NEWS and version update.v1.2.2Ondrej Zajicek
2010-04-08Revert "Fixes behavior of defined() on bgp_community attribute."Ondrej Zajicek
This reverts commit 74e9331fe0892c4c96b4c4d7db3f14bb7e9d928e.
2010-03-29Filter language updates; new route attributes and datatype.Ondrej Zajicek
- Adds bgp_originator_id and bgp_cluster_list route attributes. - Adds dotted quad filter datatype (for router IDs, used by bgp_originator_id and ospf_router_id route attributes). - Fixes pair ~ pair set matching. - Documentation updates.
2010-03-19Clear local variables in filters and functions.Ondrej Zajicek
Fixes crash when used uninitialized variables. This problem was surprisingly tricky to fix.
2010-03-18Fixes behavior of defined() on bgp_community attribute.Ondrej Zajicek
2010-03-15Fixes missing cases in filters.Ondrej Zajicek
2010-02-17Replaces the algorithm for building balanced trees.Ondrej Zajicek
Changes the time complexity of the algorithm from O(n^2) to O(n*log(n)). This speeds up loading of huge DEC-IX config from 128 s to 15 s. It also makes the code significantly simpler.
2010-02-17Changes right recursion to left in the grammar of the case expression.Ondrej Zajicek
2010-02-10Define symbols as text between ''.Ondrej Filip
2010-02-02Changes right-recursion to left-recursion in a filter grammar.Ondrej Zajicek
Because we don't want to have a limit on a function/filter length.
2010-01-27Priority for '||' and '&&' fixed.Ondrej Filip
2010-01-27Allow multiple || and && statements.Ondrej Filip
2009-12-14Merge branch 'dev' into ospf3Ondrej Zajicek
Conflicts: proto/ospf/lsreq.c proto/ospf/lsupd.c proto/ospf/rt.c