Statistics
| Branch: | Revision:

iof-bird-daemon / filter / config.Y @ e48dae3e

History | View | Annotate | Download (14.4 KB)

# Date Author Comment
2edb31b0 04/28/2000 03:11 PM Martin Mares

Split CF_HDR section to CF_HDR (only includes) and CF_DEFINES (defines,
C declarations etc.).

b0c9c21c 04/26/2000 09:38 AM Pavel Machek

Small cleanup.

f71bded6 04/26/2000 09:30 AM Pavel Machek

Bugfix in i_same (comparing of paths still does not work).

7a86a8b0 04/26/2000 08:03 AM Pavel Machek

Added code for testing filters.

94d9dfa4 04/26/2000 07:31 AM Pavel Machek

Startup renamed to __startup: it is internal function and mj already
uses word startup in other context.

7d6eebae 04/20/2000 10:25 AM Pavel Machek

Create syntax sugar for add/delete/prepend, so xyzzy.prepend(123) is
possible. That means that milestone 3 was reached.

4444ed2b 04/17/2000 11:42 AM Pavel Machek

It is good idea to separate entries in list somehow. Adding/deleting
to community lists from filters now works.

9c400ec9 04/17/2000 11:34 AM Pavel Machek

Int sets moved to core. It is now possible to have variable of type clist.

684c6f5a 04/17/2000 11:06 AM Pavel Machek

Path_getlen moved to nest and length was made callable from filters.

4b641bab 04/17/2000 10:50 AM Pavel Machek

Path matching now actually works, including / * 1 2 3 * /.

e399b6f6 04/17/2000 10:42 AM Pavel Machek

Path and path matching seem to work, now.

afc54517 04/17/2000 10:16 AM Pavel Machek

Prepend and creation of empty path should work, but it has strange
syntax for now.

a2d15746 04/12/2000 02:05 PM Pavel Machek

One less shift/reduce conflict.

10a53608 04/12/2000 01:31 PM Pavel Machek

Filters now know type path. It is possible to declare variable of type
path, but it is not possible to write constant of type path.

It should be possible to print paths and match them.

dcab7890 04/12/2000 01:07 PM Pavel Machek

Renamed f_path to f_path_mask -- which is what it really is. Use
linklist instead of array of signed integers for path mask.

77de6882 04/12/2000 12:10 PM Pavel Machek

BGP_PATH masks now actually work as data type.

7f77e250 04/10/2000 03:07 PM Pavel Machek

Functions for matching paths added, tested lightly.

Functions for working with community lists added, they compile.

This should not be definitive place for this stuff.

b1573615 04/01/2000 09:15 AM Martin Mares

SOURCE should really refer to rta->source, not rta->gw.

Please check that all rta attributes are available, I guess that at
least rta->dest is missing.

221135d6 03/31/2000 11:30 PM Martin Mares

Include "lib/string.h" instead of <string.h>. It should give us bzero()
and other non-portable functions on all systems.

0a06a9b8 03/29/2000 09:02 AM Pavel Machek

f_run gets one more parameter to distinguish between in and out modes.

995e5894 03/09/2000 02:47 PM Pavel Machek

1 less shift/reduce conflict

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

e4a73dbf 03/09/2000 01:21 PM Pavel Machek

CONST is now gone

9f4929e7 03/04/2000 10:30 PM Martin Mares

Renamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning.

a58dad62 03/04/2000 09:19 PM Martin Mares

Please think when defining operator priorities.

(: num_of_parser_conflicts -= 42 :)

d4d75628 03/02/2000 10:23 PM Pavel Machek

Avoid being exponential, do not allow ! =

31e79264 03/01/2000 02:31 PM Pavel Machek

tmp_attrs fixed.

I do not know if it is right since mj ingores talk once started :-(.

db1326aa 03/01/2000 11:32 AM Martin Mares

Dynamic attributes are now declared in per-protocol grammar files instead
of filter/config.Y. Bird now compiles even if you disable RIP.

Removed RTA and IMPOSSIBLE tokens (unused).

Removed superfluous comment in filter.h.

I've tried to do my best, but Pavel, please check these changes.

2d496d20 02/25/2000 11:15 AM Pavel Machek

Get rid of 'ab'-s, added return to functions.

70844a6a 01/26/2000 09:28 PM Pavel Machek

Updated docs about filters, and added fixme.

60d7d10e 12/18/1999 08:39 PM Pavel Machek

Added fixme.

2e18b87d 12/08/1999 12:51 PM Pavel Machek

Disallow rta.net syntax.

6c14255d 12/08/1999 10:15 AM Pavel Machek

Make rta. syntax optional.

430da60f 12/02/1999 02:04 PM Martin Mares

Implemented `show route where <condition>' command.

Pavel, please check my addition to filter/config.Y.

6781e521 12/01/1999 11:39 AM Pavel Machek

FIXME's cleaned up: I have actually fixed things without killing
comments.

There are no urgent FIXME's in filters. Perhaps we should start with
documentation?

4aa885a5 11/25/1999 01:42 PM Pavel Machek

Filters: fix rta access to use ->aux field.

455ca441 11/24/1999 12:16 PM Pavel Machek

Check that prefixes are really prefixes + fix config file to
comply. (:-( 1.2.3.4/8 looks nicer than 1.0.0.0/8).

8f013d9c 11/24/1999 12:09 PM Pavel Machek

Sorry, previous commit did not even compile.

48f9e019 11/24/1999 12:04 PM Pavel Machek

Filters: write access to dynamic attributes should actually work. It
would be nice to find method of testing such beasts.

f31156ca 11/18/1999 02:29 PM Pavel Machek

Filters: first parts of extended attributes being read-write. It can
not actually work since I do not do rta/rte cow, yet.

c7b43f33 11/18/1999 02:01 PM Pavel Machek

Split inst->code into inst->code and inst->aux. Both are only 16 bit,
so aux is suitable for storing type but not much more.

346a12c2 11/18/1999 01:21 PM Pavel Machek

You can now print enum.

fd54b602 11/15/1999 11:36 AM Martin Mares

ENUM's are now recognized as constants.

4515bdba 11/11/1999 01:55 PM Pavel Machek

Fixed order of arguments for function call.

Enumeration types should work once CF_ENUM() is ready.

Created test.conf for testing of filters. (I'm currently thinking
about ./tests in root directory which will just fire all available
tests...)

4ed8718a 11/11/1999 01:27 PM Pavel Machek

Shift/reduce conflict goes away and if/then/else works.

1183b6b2 11/10/1999 01:59 PM Pavel Machek

Enums do not work, this is testcase.

cb8034f4 11/10/1999 01:44 PM Pavel Machek

First try on enumerational types.

Mj's noassoc removed: this brings back shift/reduce conflict but
it makes parser actually work. Mj please check it. IF/THEN/ELSE still
will not work.

2f702671 11/10/1999 01:07 PM Pavel Machek

No more shift/reduce conflicts.

49955645 11/10/1999 01:05 PM Martin Mares

Shift/reduce conflicts in IF/THEN/ELSE rules solved.

f4536657 11/10/1999 12:44 PM Pavel Machek

Enumerational types, defined keyword added.

3c989eb4 11/04/1999 02:05 PM Pavel Machek

Fixed comments about shift/reduce conflicts.

ae3e1af2 11/04/1999 02:03 PM Pavel Machek

Add possibility of local variables.

91447965 11/04/1999 01:33 PM Pavel Machek

Possibility to access first extended attributes.

6dc7a0cb 11/03/1999 10:23 PM Pavel Machek

Filters now do not allow function (int arg; int arg2; ).

41be4444 10/28/1999 09:03 PM Pavel Machek

switch() { } done right.

d3dd620b 10/12/1999 06:27 AM Pavel Machek

Filters: permit variables of prefix types, cleanup around
variables. TODO list added, hopefully complete. Use new features of
filters in bird.conf

720d911d 10/07/1999 02:10 PM Pavel Machek

Added constants of type prefix and pair, added their printing

c9f8c1a8 10/07/1999 01:38 PM Pavel Machek

FIXME's added. Hopefully fixme list is now complete for filters.

7db7b7db 09/29/1999 02:24 PM Pavel Machek

Case arg { 1: printf "one"; } works. You can not use two commands
after one label, yet.

6542ece9 07/01/1999 09:11 AM Pavel Machek

Function calling in filters works - somehow. Calling syntax is
currently very ugly, beware. Variables are not really local - that
needs to be fixed.

4107df1d 05/17/1999 08:06 PM Martin Mares

Implemented two new symbol handling functions:

o  cf_define_symbol() -- it assigns a meaning to a symbol, bailing
out if it already has one.
o cf_find_symbol() -- finds symbol by name and creates it if not found.

Also modified filter/config.Y to make use of the first function.

36bbfc70 04/19/1999 06:41 PM Pavel Machek

Updated filters: they now actually see IP/pxlen of net being filtered,
gateway, and who told us, so they can do usefull jobs from now on.

38506f71 04/12/1999 07:58 PM Pavel Machek

Sets of integers now actually work. Sets of IP will work as soon as
compare function is ready.

2db3b288 04/10/1999 09:45 AM Pavel Machek

Decrease number of warnings.

23b1539b 04/07/1999 12:11 PM Pavel Machek

Filters upgraded - a bit. Moved code to filter.c because it is where
it belongs. (f-util.c stays there for auxiliary and non-important things.)

ba921648 03/29/1999 08:21 PM Pavel Machek

Update of filters towards new interface.

e0f2e42f 03/17/1999 02:29 PM Martin Mares

A couple of filter tweaks:

o  Introduced struct filter which serves as an external reference
to filter. Using struct symbol for this is unwise since it doesn't
allow extra information attached to the filter and it also forces
all filters to be named....
d36d838d 03/17/1999 10:19 AM Pavel Machek

accept & reject should now work

2575593e 03/09/1999 02:45 PM Pavel Machek

Resolved conflicts, you no longer need to wrap constants in const()

b7005824 03/08/1999 08:30 PM Pavel Machek

Filters are now a tiny bit stronger (if is actually working ;-)

84c7e194 03/02/1999 07:49 PM Pavel Machek

Add interface for running filters (please comment!), avoid bison warnings

292099d5 02/03/1999 12:28 PM Pavel Machek

Few fixes in parsing of filters

c9b66706 01/15/1999 06:04 PM Martin Mares

Original `expr' is back, filter expressions renamed to `term'.

In the future, we'll allow any filter term in place of `expr' and we'll
just evaluate it immediately, but not now as we have no evaluation
routines.

b9d70dc8 01/15/1999 04:49 PM Pavel Machek

Filters, second try. This time they have their own directory.