1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

228 Commits

Author SHA1 Message Date
93e868c730 Implements Router Advertisement protocol. 2011-03-13 11:33:50 +01:00
112d71a73f Fixes syntactic priority of '.' .
Dot in expressions like net.len definitely should have the highhest
priority.
2010-10-08 14:25:53 +02:00
506fa1a73e Merge several fixes suggested by Joakim Tjernlund. 2010-05-02 22:41:40 +02:00
44d4ab7a96 Configurable syslog name.
Also fixes a bug in syslog initialization.
2010-04-07 15:34:45 +02:00
97e46d28ff Adds check for no protocol and some minor CLI fixes.
- Adds check to deny config file with no specified protocol to prevent
  loading of empty config file.
- Moves CLI init before config parse to receive immediate error message
  when cannot open control socket.
- Fixes socket name path check and other error handling in CLI init.
2010-03-17 12:19:22 +01:00
e81b440f68 Fix configure to enable warnings and fix most of them. 2010-02-21 14:34:53 +01:00
e304fd4bcf Implements pattern match for 'show protocols' command.
And generally consolidates protocol commands.
2010-02-20 00:08:07 +01:00
0efd646278 Define symbols as text between ''. 2010-02-10 12:30:14 +01:00
76b53a4e20 Adds some log messages related to configure.
Also fixes a bug in the previous patch.
2010-02-06 22:57:51 +01:00
c37e78510f Makes date/time formats configurable. 2010-02-03 00:19:24 +01:00
1960d20350 Priority for '||' and '&&' fixed. 2010-01-27 23:45:36 +01:00
7515dafc00 Allow multiple || and && statements. 2010-01-27 22:26:45 +01:00
cf31112f0d Implements MRTdump feature. 2010-01-03 12:17:52 +01:00
e75d3c74a8 Flex does not need the output of Bison. 2009-08-10 14:36:30 +02:00
ea9097eaad Fixes parallel runs of Bison.
Previous version of Makefile executed Bison two times (in parallel),
because of two specified targets. I am not sure wheter this is the best
fix.

Previon
2009-08-10 14:13:28 +02:00
5b1f877e6e Fixes typo in Makefile 2009-08-10 12:04:25 +02:00
0ac39033c7 Missing dependency added. 2009-08-09 19:43:15 +02:00
d72cdff411 Replace 'bind' option with 'listen' option.
To be consistent with other daemons.
2009-06-23 11:08:30 +02:00
bf1aec970e Adds support for soft reconfiguration. 2009-06-19 23:49:34 +02:00
789772ed45 Implements option that changes BGP listening socket parametres. 2009-06-18 19:20:07 +02:00
874b868544 Implements primary address selection base on 'primary' option. 2009-05-29 22:49:30 +02:00
b1a597e0c3 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
the documentation and broken.

There is also some bugfixes in filter code related to set variables.
2009-03-31 12:55:57 +02:00
cf18603491 New syntax for bgp_path 2009-03-14 12:43:10 +01:00
f949163039 New syntax for bgp_path 2009-01-27 17:35:00 +01:00
083c43e22e fixes some 64-bit related bugs.
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-12-25 11:55:27 +01:00
1567edea8d Bugfix for routing table breaking bug.
Here is a patch fixing a bug that causes breakage of a local routing
table during shutdown of Bird. The problem was caused by shutdown
of 'device' protocol before shutdown of 'kernel' protocol.  When
'device' protocol went down, the route (with local network prefix)
From different protocol (BGP or OSPF) became preferred and installed
to the kernel routing table. Such routes were broken (like
192.168.1.0/24 via 192.168.1.2). I think it is also the cause
of problem reported by Martin Kraus.

The patch disables updating of kernel routing table during shutdown of
Bird. I am not sure whether this is the best way to fix it, I would
prefer to forbid 'kernel' protocol to overwrite routes with
'proto kernel'.

The patch also fixes a problem that during shutdown sometimes routes
created by Bird remained in the kernel routing table.
2008-10-26 23:09:46 +01:00
a456788bce New version of flex needs argument separated. 2007-06-20 12:32:39 +00:00
0d3effcf8c Time added in password management. 2005-02-12 22:27:55 +00:00
7c103b1ee1 Marked unused parameters in core code as such. 2004-06-05 09:10:56 +00:00
725270cb1d Fixes for the programmer's manual. 2000-06-08 12:37:21 +00:00
58f7d004fd Fixes to the progdoc. 2000-06-07 13:25:53 +00:00
2e9b24211a Spelling fixes to progdoc. 2000-06-07 12:29:08 +00:00
04dc62a011 Nested scopes could never have worked. My fault I wrote such a buggy code,
Pavel's fault that he's never tested shadowing of declarations in the filters.

cf_define_symbol() has been modified to check the scope of the symbol it's
given and it if it's an already defined symbol, but in a different scope,
a copy is created in the current scope and redefined to the new meaning,
the consequence being that it cf_define_symbol() now returns the new symbol
you need to use when assigning aux and aux2.
2000-06-04 19:30:13 +00:00
58f9453776 Moved parser docs to cf-lex.l, so that the parser compiles. 2000-06-04 15:22:20 +00:00
06607335ef Documentation. 2000-06-03 18:23:00 +00:00
c0b2f6463f cf_symbol_class_name now recognizes SYM_IPA. 2000-06-03 16:56:00 +00:00
5f4aee76a2 Added && and ||. 2000-06-01 08:43:29 +00:00
fcb5f4a725 Updated all the Doc files to new format. 2000-05-31 11:30:18 +00:00
69a20d2eff Recognize `!'. 2000-05-30 21:46:21 +00:00
4761efdb43 Tracing of CLI connections/commands can be now controlled
by `debug commands <level>' in the configuration. Level 0 means
no tracing, 1 means connections only, 2 includes all commands.
2000-05-29 22:10:18 +00:00
9a09a64bb4 Use ? in path matching to avoid /* trap. 2000-05-25 14:58:38 +00:00
60de3356ab Resolved shift/reduce conflict 2000-05-16 14:24:33 +00:00
cc590a11a7 Changed syntax of expressions. Each `expr' can be now either a numeric literal
or a symbol or parenthesised filter expression.
2000-05-15 12:15:18 +00:00
e3f2d5fce3 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.
2000-05-15 11:48:23 +00:00
3b1c523d79 Got rid of startup functions and filters_postconfig().
By the way, how do you expect pointers to fit in an int?
2000-05-15 10:53:56 +00:00
d3abfbc68d Added prefix_or_ipa. 2000-05-13 11:41:26 +00:00
758458be05 Unified parsing of prefixes.
Had to rename `prefix' in filters to `fprefix'.
2000-05-13 11:17:49 +00:00
ab1129c1bd Added skeleton Doc files for the whole developer's documentation. 2000-05-05 17:17:42 +00:00
6db8c5a63b pxlen works even in IPv6 mode. 2000-05-04 20:02:19 +00:00
a412f01ea8 Include CF_HDR section in keywords.h as well, so that protocol symbols
can be used in definition of ENUM's.
2000-04-28 15:12:03 +00:00