Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-05-06 | Fixes 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-27 | Avoid using stack. | Ondrej Filip | |
2011-03-26 | This adds (*,x) functionality. | Ondrej Filip | |
2011-03-23 | A 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-04 | Fixes scope of filter symbols. | Ondrej Zajicek | |
2010-08-03 | Even set of number can be made by expressions. | Ondrej Filip | |
2010-08-03 | Syntax of sets improved. | Ondrej Filip | |
2010-07-27 | Minor changes in prefix trie. | Ondrej Zajicek | |
2010-05-22 | Extends 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-03-29 | Filter 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-19 | Clear local variables in filters and functions. | Ondrej Zajicek | |
Fixes crash when used uninitialized variables. This problem was surprisingly tricky to fix. | |||
2010-02-17 | Changes right recursion to left in the grammar of the case expression. | Ondrej Zajicek | |
2010-02-02 | Changes 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. | |||
2009-10-08 | First and last accessors to as_paths. | Ondrej Zajicek | |
2009-06-26 | Merge branch 'master' into dev | Ondrej Zajicek | |
2009-06-01 | Adds support for dynamic pair and bgp mask expressions. | Ondrej Zajicek | |
2009-06-01 | Removes some remnant of '|' bgp path separator. | Ondrej Zajicek | |
2009-05-29 | New type variable 'V' defined in filters. This type is checked | Ondrej Filip | |
only for name, never for value in function filter_same() | |||
2009-04-17 | Rewrite of buggy AS path matching. | Ondrej Zajicek | |
Old AS path maching supposes thath AS number appears only once in AS path, but that is not true. It also contains some bugs related to AS path sets. New code does not use any assumptions about semantic structure of AS path. It is asymptotically slower than the old code, but on real paths it is not significant. It also allows '?' for matching one arbitrary AS number. | |||
2009-03-31 | Reimplementation of prefix sets. | Ondrej Zajicek | |
Prefix sets were broken beyond any repair and have to be reimplemented. They are reimplemented using a trie with bitmasks in nodes. There is also change in the interpretation of minus prefix pattern, but the old interpretation was already inconsistent with the documentation and broken. There is also some bugfixes in filter code related to set variables. | |||
2009-03-14 | New syntax for bgp_path | Ondrej Zajicek | |
2009-01-27 | New syntax for bgp_path | Ondrej Zajicek | |
2008-12-25 | fixes some 64-bit related bugs. | Ondrej Zajicek | |
Filter code used 'aux' integer field of 'symbol' struct to store ptr to next symbol and both 'aux2' and 'def' fields for value. Changed to just 'def' for value and 'aux2' for ptr to next symbol. Also another minor bugfix. | |||
2008-11-14 | New read-only route attribute 'proto' added. It returns a string | Ondrej Zajicek | |
representing a name of the protocol that originated the route. Strings can be compared using = or matched using ~. Routes can be filtered, for example: show route where proto ~ "bgp1*" | |||
2008-10-26 | Implementation of 4B ASN support for BGP | Ondrej Zajicek | |
2004-05-31 | Fix bison input for current build tools, otherwise bison or the compiler | Martin Mares | |
will abort the build. (by Andreas) | |||
2002-11-13 | Added missing semicolons. | Martin Mares | |
2000-06-08 | Fixing error messages. | Pavel Machek | |
2000-06-04 | Use nested scopes properly. Updated according to cf_define_symbol() changes. | Martin Mares | |
The rest of code doesn't need changing since it doesn't use nesting. | |||
2000-06-01 | Added && and ||. | Pavel Machek | |
2000-06-01 | Allow | Pavel Machek | |
case net { 62.0.0.0/8+: 10.0.0.0/8+: else: reject; } | |||
2000-06-01 | Allow matching on enums: | Pavel Machek | |
if !(scope ~ [ SCOPE_HOST, SCOPE_SITE ]) then { print "Failed in test"; quitbird; } | |||
2000-05-30 | Access to all attributes we should be able to access seems to work. | Pavel Machek | |
2000-05-30 | Added read-only access to all required fields in rta. | Pavel Machek | |
2000-05-30 | Cleaning static attributes | Pavel Machek | |
2000-05-30 | Access to few more attributes is needed. | Pavel Machek | |
2000-05-25 | Cleaned up warnings. | Pavel Machek | |
2000-05-25 | Use ? in path matching to avoid /* trap. | Pavel Machek | |
2000-05-25 | Fixed comment not to be misleading. | Pavel Machek | |
2000-05-16 | Resolved shift/reduce conflict | Pavel Machek | |
2000-05-15 | Allow other operations than +. | Pavel Machek | |
2000-05-15 | Allow accessing defined symbols. | Pavel Machek | |
2000-05-15 | Cleanup of configuration. | Martin Mares | |
o Use `expr' instead of `NUM' and `ipa' instead of `IPA', so that defined symbols work everywhere. o `define' now accepts both numbers and IP addresses. o Renamed `ipa' in filters to `fipa'. Pavel, please update filters to accept define'd symbols as well. | |||
2000-05-15 | Got rid of startup functions and filters_postconfig(). | Martin Mares | |
By the way, how do you expect pointers to fit in an int? | |||
2000-05-15 | Added f_eval_int() and EVAL configuration command. | Martin Mares | |
2000-05-13 | Unified parsing of prefixes. | Martin Mares | |
Had to rename `prefix' in filters to `fprefix'. | |||
2000-04-28 | Split CF_HDR section to CF_HDR (only includes) and CF_DEFINES (defines, | Martin Mares | |
C declarations etc.). | |||
2000-04-26 | Small cleanup. | Pavel Machek | |
2000-04-26 | Bugfix in i_same (comparing of paths still does not work). | Pavel Machek | |
2000-04-26 | Added code for testing filters. | Pavel Machek | |