summaryrefslogtreecommitdiffstats
path: root/filter/filter.c
AgeCommit message (Collapse)Author
2009-02-26Rate limit for most abundant log messagesOndrej Zajicek
2009-02-21Fixes crash during some expressionsOndrej Zajicek
Bird crashed when 'bgp_path.len' was used for routes that does not came from BGP.
2009-02-21Add format for BGP_AGGREGATOR attributeOndrej Zajicek
2008-12-25Bugfix in interpretOndrej Zajicek
Missing cases in filter code interpret leads to crash when bgp_next_hop attr was queried.
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-16Fix some bugs in filter interpret.Ondrej Zajicek
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-11-08Proper format functions for ORIGINATOR_ID, CLUSTER_LISTOndrej Zajicek
2008-10-26Implementation of 4B ASN support for BGPOndrej Zajicek
2004-06-05Staticized lots of local functions.Martin Mares
2004-05-31Killed a couple of unused variables.Martin Mares
We really should compile with warnings enabled.
2003-02-27Prefix comparison bug (hopefully) fixed.Martin Mares
2000-06-08Fix i_same for 'c' instruction.Pavel Machek
2000-06-08Fixes for the programmer's manual.Martin Mares
2000-06-08Better messagesPavel Machek
2000-06-07Progdocs updatesPavel Machek
2000-06-07Even better documentation of filters.Pavel Machek
2000-06-07Better progdocs for filtersPavel Machek
2000-06-07Spelling fixes to progdoc.Martin Mares
2000-06-05Better documentation. There are functions whose description is good whenPavel Machek
reading source but whose documentation does not belong to progdocs.
2000-06-05Better error messagesPavel Machek
2000-06-05Bug in comment. It didn't compile.Ondrej Filip
2000-06-05Updates to both programmers and users docPavel Machek
2000-06-04When cloning a rte and replacing its rta, remember to free the old oneMartin Mares
so that we don't leak memory. Thanks go to the resource tracking system for quickly discovering the source of leakages.
2000-06-02Do not try to divide by zero.Pavel Machek
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-31Complain when filter does not end in accept nor reject.Pavel Machek
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-30Access to few more attributes is needed.Pavel Machek
2000-05-25Cleaned up warnings.Pavel Machek
2000-05-19If community list is not defined, act as it is empty.Pavel Machek
2000-05-17Finished cleanng up mess: multiplication reinstalled.Pavel Machek
2000-05-17Fixed the horrible mess Pavel has created with his last commit.Martin Mares
2000-05-16Line numbers for runtime errors (what's wrong with cvs? I could notPavel Machek
commit this from home)
2000-05-15Allow other operations than +.Pavel Machek
2000-05-15Use new eval mechanism for testing filters.Pavel Machek
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-04#ifdef out lots of debugging information.Martin Mares
The long resource/routing table dump printed upon startup is gone now and if you wish to see it, just send bird SIGUSR1 or use the `debug' commands.
2000-04-30Moved documentation to top of file, where it belongs.Pavel Machek
2000-04-29Minor documentation update.Pavel Machek
2000-04-28Cleanup of dead code + example documentation for two functions.Pavel Machek
2000-04-26Small cleanup.Pavel Machek
2000-04-26filter_same should now work with path masks.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-17Cleaned up mess with types in e,a and e,S. Dynamic attributes shouldPavel Machek
now work.