| Branch: | Revision:

iof-bird-daemon / conf / confbase.Y @ c8cafc8e

History | View | Annotate | Download (3.71 KB)

# Date Author Comment
c8cafc8e 11/08/2016 04:46 PM Ondrej Zajicek (work)

Minor code cleanups

768d5e10 09/21/2016 11:35 AM Pavel Tvrdik

Add !~ operator to filter grammar

a1beb8f3 02/22/2015 12:50 PM Ondrej Zajicek

Relax BGP neighbor parameter

Permit specifying neighbor address, AS number and port independently.
Add 'interface' parameter for specifying interface for link-local
sessions independently.

Thanks to Alexander V. Chernikov for the original patch.

88a183c6 10/24/2014 09:11 AM Ondrej Zajicek

Integrated IP functions.

dcde7ae5 10/02/2014 10:52 AM Ondrej Zajicek

Allows to configure different remote port for BGP sessions.

Thanks to João Taveira Araújo for the original patch.

9eceab33 05/29/2014 09:05 PM Ondrej Zajicek

String constants could be used for string option values.

Thanks to Frederik Kriewitz for the patch.

0e175f9f 10/05/2013 06:12 PM Ondrej Zajicek

Fixes some BFD bugs and makes logging thread-safe.

6a8d3f1c 09/16/2013 09:57 PM Ondrej Zajicek

BFD work in progress.

Now it compiles and mostly works.

1103b32e 07/25/2013 08:33 PM Ondrej Zajicek

Allows to define constants of all filter types.

af582c48 03/18/2012 04:32 PM Ondrej Zajicek

Route Origin Authorization basics.

- 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.
0f808c06 03/16/2012 11:47 AM Ondrej Zajicek

Adds filtering to 'show symbols' command.

Thanks Alexander V. Chernikov for the original patch.

20ab192b 03/16/2012 11:12 AM Ondrej Zajicek

Adds filtering to 'show ospf lsadb' command.

Thanks Alexander V. Chernikov for the original patch.

69a8259c 01/01/2012 11:14 AM Ondrej Zajicek

Allows sticky link-local neighbors.

Allows using NEF_STICKY neighbors with link-local addresses. This is
used for static route nexthops, they can be specified like fe80::1%eth0

b8cc390e 05/06/2011 08:00 PM Ondrej Zajicek

Fixes several problems in filter syntax.

- 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.
26d92bb8 03/23/2011 11:49 AM Ondrej Zajicek

A hack to distinguish if..else from else: in case.

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...

93e868c7 03/13/2011 10:33 AM Ondrej Zajicek

Implements Router Advertisement protocol.

112d71a7 10/08/2010 12:25 PM Ondrej Zajicek

Fixes syntactic priority of '.' .

Dot in expressions like net.len definitely should have the highhest

e304fd4b 02/19/2010 11:08 PM Ondrej Zajicek

Implements pattern match for 'show protocols' command.

And generally consolidates protocol commands.

c37e7851 02/02/2010 11:19 PM Ondrej Zajicek

Makes date/time formats configurable.

1960d203 01/27/2010 10:45 PM Ondrej Filip

Priority for '||' and '&&' fixed.

7515dafc 01/27/2010 09:26 PM Ondrej Filip

Allow multiple || and && statements.

874b8685 05/29/2009 08:49 PM Ondrej Zajicek

Implements primary address selection base on 'primary' option.

b1a597e0 03/31/2009 10:55 AM Ondrej Zajicek

Reimplementation of prefix sets.

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...

cf186034 03/14/2009 11:43 AM Ondrej Zajicek

New syntax for bgp_path

0d3effcf 02/12/2005 10:27 PM Ondrej Filip

Time added in password management.

58f94537 06/04/2000 03:22 PM Martin Mares

Moved parser docs to cf-lex.l, so that the parser compiles.

06607335 06/03/2000 06:23 PM Martin Mares


5f4aee76 06/01/2000 08:43 AM Pavel Machek

Added && and ||.

60de3356 05/16/2000 02:24 PM Pavel Machek

Resolved shift/reduce conflict

cc590a11 05/15/2000 12:15 PM Martin Mares

Changed syntax of expressions. Each `expr' can be now either a numeric literal
or a symbol or parenthesised filter expression.

e3f2d5fc 05/15/2000 11:48 AM Martin Mares

Cleanup of configuration.

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.

d3abfbc6 05/13/2000 11:41 AM Martin Mares

Added prefix_or_ipa.

758458be 05/13/2000 11:17 AM Martin Mares

Unified parsing of prefixes.

Had to rename `prefix' in filters to `fprefix'.

6db8c5a6 05/04/2000 08:02 PM Martin Mares

pxlen works even in IPv6 mode.

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.

c3edb89e 04/12/2000 12:49 PM Pavel Machek

Path masks are needed for filters.

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.

16c07e3d 03/04/2000 09:27 PM Martin Mares

Removed bogus comment.

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

Please think when defining operator priorities.

(: num_of_parser_conflicts -= 42 :)

aee539f2 03/01/2000 11:42 AM Martin Mares

Made `datetime' more user friendly. Now it should be a quoted string
of type "dd-mm-yyyy".

2ca3d9a8 03/01/2000 11:30 AM Martin Mares

Defined INVALID_TOKEN which is a token guaranteed to be never generated.

4ab5331c 12/06/1999 01:50 PM Martin Mares

Added type `g' for void (general) pointer.

f2c6c80a 12/02/1999 02:03 PM Martin Mares

I tried to turn on the YYERROR_VERBOSE switch, but bison is buggy as hell,
so it doesn't even compile. Turned it again off and added a comment on it.

730f2e2c 12/01/1999 03:10 PM Martin Mares

Added dumping of routing tables (`show route'). This includes filtering.

35793769 11/25/1999 03:34 PM Martin Mares

cli_msg() moved to cli.h, so that it can be used outside the parser.

ffb59d24 11/17/1999 12:00 PM Martin Mares

Command line interface now works.

944f008a 11/15/1999 11:35 AM Martin Mares

Defined CF_ENUM.

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

Enumerational types, defined keyword added.

bc2fb680 10/31/1999 05:47 PM Martin Mares

Parse CLI commands. We use the same parser as for configuration files (because
we want to allow filter and similar complex constructs to be used in commands
and we should avoid code duplication), only with CLI_MARKER token prepended
before the whole input....

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

switch() { } done right.

dce26783 08/03/1999 07:36 PM Martin Mares

Basic support for IPv6. The system-dependent part doesn't work yet,
but the core routines are there and seem to be working.

o  lib/ipv6.[ch] written
o Lexical analyser recognizes IPv6 addresses and when in IPv6
mode, treats pure IPv4 addresses as router IDs....
9d79fec8 05/26/1999 02:24 PM Pavel Machek

Added notion of datetime

0e02abfd 05/17/1999 08:14 PM Martin Mares

From now we support multiple tables. The master_table variable is
definitely gone. Both rte_update() and rte_discard() have an additional
argument telling which table should they modify.

Also, rte_update() no longer walks the whole protocol list -- each table...

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.

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.)

7f400d1c 03/29/1999 07:04 PM Martin Mares

After today's lengthy discussions about filter syntax, let's clean up
whitespace/semicolon rules for whole config file:

o  All non-zero amounts of whitespace are equivalent to single space
(aka `all the whitespace has been born equal' ;-)).
o Comments count as whitespace....
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....
1aa5cf1c 03/09/1999 02:44 PM Pavel Machek

Added '=' to operator list

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

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

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

e3a39a9e 01/15/1999 04:59 PM Martin Mares

Killed duplicate %type for expr.

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

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

72380a34 01/15/1999 02:41 PM Pavel Machek

Filters added. They are unable to do anything interesting for now
(with exception of printing integers to screen), but they exist.

89d2355d 12/06/1998 11:10 PM Martin Mares

Added new rule for prefix length / netmask.

166b9c49 12/06/1998 05:38 PM Martin Mares

Added rule "bool" for boolean switches.

50d8424a 11/29/1998 10:03 PM Martin Mares

Added configuration of the device internal protocol. This is primarily
intended to serve as an example of interface pattern list use. As a side
effect, you can disable generating of device routes by disabling
this protocol.

0b62c3a7 11/27/1998 09:32 PM Martin Mares

Trivial 15-line bison excercise: Implemented expressions including
user-defined numeric symbols. Whenever possible, use `expr' instead
of `NUM' to get full express ion power :-)

c74c0e3c 11/27/1998 09:09 PM Martin Mares

First attempt at protocol configuration (now done only for RIP).

f142750d 11/27/1998 07:36 PM Martin Mares

Base of the parser.