summaryrefslogtreecommitdiffstats
path: root/filter/config.Y
AgeCommit message (Collapse)Author
2009-03-14New syntax for bgp_pathOndrej Zajicek
2009-01-27New syntax for bgp_pathOndrej Zajicek
2008-12-25fixes 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-14New read-only route attribute 'proto' added. It returns a stringOndrej 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-26Implementation of 4B ASN support for BGPOndrej Zajicek
2004-05-31Fix bison input for current build tools, otherwise bison or the compilerMartin Mares
will abort the build. (by Andreas)
2002-11-13Added missing semicolons.Martin Mares
2000-06-08Fixing error messages.Pavel Machek
2000-06-04Use 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-01Added && and ||.Pavel Machek
2000-06-01AllowPavel Machek
case net { 62.0.0.0/8+: 10.0.0.0/8+: else: reject; }
2000-06-01Allow matching on enums:Pavel Machek
if !(scope ~ [ SCOPE_HOST, SCOPE_SITE ]) then { print "Failed in test"; quitbird; }
2000-05-30Access to all attributes we should be able to access seems to work.Pavel Machek
2000-05-30Added read-only access to all required fields in rta.Pavel Machek
2000-05-30Cleaning static attributesPavel Machek
2000-05-30Access to few more attributes is needed.Pavel Machek
2000-05-25Cleaned up warnings.Pavel Machek
2000-05-25Use ? in path matching to avoid /* trap.Pavel Machek
2000-05-25Fixed comment not to be misleading.Pavel Machek
2000-05-16Resolved shift/reduce conflictPavel Machek
2000-05-15Allow other operations than +.Pavel Machek
2000-05-15Allow accessing defined symbols.Pavel Machek
2000-05-15Cleanup 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-15Got rid of startup functions and filters_postconfig().Martin Mares
By the way, how do you expect pointers to fit in an int?
2000-05-15Added f_eval_int() and EVAL configuration command.Martin Mares
2000-05-13Unified parsing of prefixes.Martin Mares
Had to rename `prefix' in filters to `fprefix'.
2000-04-28Split CF_HDR section to CF_HDR (only includes) and CF_DEFINES (defines,Martin Mares
C declarations etc.).
2000-04-26Small cleanup.Pavel Machek
2000-04-26Bugfix in i_same (comparing of paths still does not work).Pavel Machek
2000-04-26Added code for testing filters.Pavel Machek
2000-04-26Startup renamed to __startup: it is internal function and mj alreadyPavel Machek
uses word startup in other context.
2000-04-20Create syntax sugar for add/delete/prepend, so xyzzy.prepend(123) isPavel Machek
possible. That means that milestone 3 was reached.
2000-04-17It is good idea to separate entries in list _somehow_. Adding/deletingPavel Machek
to community lists from filters now works.
2000-04-17Int sets moved to core. It is now possible to have variable of type clist.Pavel Machek
2000-04-17Path_getlen moved to nest and length was made callable from filters.Pavel Machek
2000-04-17Path matching now actually works, including / * 1 2 3 * /.Pavel Machek
2000-04-17Path and path matching seem to work, now.Pavel Machek
2000-04-17Prepend and creation of empty path should work, but it has strangePavel Machek
syntax for now.
2000-04-12One less shift/reduce conflict.Pavel Machek
2000-04-12Filters now know type path. It is possible to declare variable of typePavel Machek
path, but it is not possible to write constant of type path. It should be possible to print paths and match them.
2000-04-12Renamed f_path to f_path_mask -- which is what it really is. UsePavel Machek
linklist instead of array of signed integers for path mask.
2000-04-12BGP_PATH masks now actually work as data type.Pavel Machek
2000-04-10Functions for matching paths added, tested lightly.Pavel Machek
Functions for working with community lists added, they compile. This should not be definitive place for this stuff.
2000-04-01SOURCE should really refer to rta->source, not rta->gw.Martin Mares
Please check that all rta attributes are available, I guess that at least rta->dest is missing.
2000-04-01Include "lib/string.h" instead of <string.h>. It should give us bzero()Martin Mares
and other non-portable functions on all systems.
2000-03-29f_run gets one more parameter to distinguish between in and out modes.Pavel Machek
2000-03-091 less shift/reduce conflictPavel Machek
print now takes arguments separated by , [ 1.2.3.0/24 .. 3.4.5.0/8 ] is now forbidden [ 1.2.3.0/8 ] now actually works
2000-03-09CONST() is now gonePavel Machek
2000-03-04Renamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning.Martin Mares
2000-03-04Please *think* when defining operator priorities.Martin Mares
(-: num_of_parser_conflicts -= 42 :-)