]>
git.ipfire.org Git - thirdparty/bird.git/log
Pavel Machek [Thu, 11 Nov 1999 13:55:39 +0000 (13:55 +0000)]
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...)
Pavel Machek [Thu, 11 Nov 1999 13:27:59 +0000 (13:27 +0000)]
Shift/reduce conflict goes away _and_ if/then/else works.
Ondrej Filip [Wed, 10 Nov 1999 16:06:12 +0000 (16:06 +0000)]
Sending DBDES packet in EXSTART done.
Pavel Machek [Wed, 10 Nov 1999 13:59:13 +0000 (13:59 +0000)]
Enums do not work, this is testcase.
Pavel Machek [Wed, 10 Nov 1999 13:44:29 +0000 (13:44 +0000)]
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.
Pavel Machek [Wed, 10 Nov 1999 13:07:18 +0000 (13:07 +0000)]
No more shift/reduce conflicts.
Martin Mares [Wed, 10 Nov 1999 13:05:57 +0000 (13:05 +0000)]
Shift/reduce conflicts in IF/THEN/ELSE rules solved.
Pavel Machek [Wed, 10 Nov 1999 12:44:07 +0000 (12:44 +0000)]
Enumerational types, defined keyword added.
Martin Mares [Wed, 10 Nov 1999 12:27:01 +0000 (12:27 +0000)]
Added LSA hashing table (parts of code stolen from rt-fib.c, but
heavily simplified since we don't need asynchronous walking).
Pavel Machek [Wed, 10 Nov 1999 11:52:36 +0000 (11:52 +0000)]
Added timeout for routes (which means proper expiring of routes) added
few fixmes.
Martin Mares [Wed, 10 Nov 1999 10:48:19 +0000 (10:48 +0000)]
Added project status report for KSVI.
Pavel Machek [Thu, 4 Nov 1999 14:39:51 +0000 (14:39 +0000)]
FIXME's updated. One fixme is remaining for correct RIPv4. Wow.
Pavel Machek [Thu, 4 Nov 1999 14:26:18 +0000 (14:26 +0000)]
Reject packets which are not authenticated.
Set correct nexthop on outgoing packets.
Pavel Machek [Thu, 4 Nov 1999 14:05:40 +0000 (14:05 +0000)]
Fixed comments about shift/reduce conflicts.
Pavel Machek [Thu, 4 Nov 1999 14:03:45 +0000 (14:03 +0000)]
Add possibility of local variables.
Pavel Machek [Thu, 4 Nov 1999 14:03:36 +0000 (14:03 +0000)]
Use local variables to test that functionality.
Martin Mares [Thu, 4 Nov 1999 13:53:47 +0000 (13:53 +0000)]
Silly bug.
Martin Mares [Thu, 4 Nov 1999 13:51:52 +0000 (13:51 +0000)]
Symbols are not scoped.
Pavel Machek [Thu, 4 Nov 1999 13:33:30 +0000 (13:33 +0000)]
Possibility to access first extended attributes.
Martin Mares [Thu, 4 Nov 1999 13:29:43 +0000 (13:29 +0000)]
Renamed attr->attrs to attr->eattrs.
Pavel Machek [Wed, 3 Nov 1999 22:23:01 +0000 (22:23 +0000)]
Filters now do not allow function (int arg; int arg2; ).
Pavel Machek [Wed, 3 Nov 1999 22:21:26 +0000 (22:21 +0000)]
You should not follow next two times.
Ondrej Filip [Wed, 3 Nov 1999 12:59:38 +0000 (12:59 +0000)]
Working on db des receiving.
Preparing for building LDA database.
Martin Mares [Sun, 31 Oct 1999 17:48:21 +0000 (17:48 +0000)]
Started a list of CLI reply codes.
Martin Mares [Sun, 31 Oct 1999 17:47:47 +0000 (17:47 +0000)]
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.
Defined macro CF_CLI(cmd, args, help) for defining CLI commands in .Y files.
The first argument specifies the command itself, the remaining two arguments
are copied to the help file (er, will be copied after the help file starts
to exist). This macro automatically creates a skeleton rule for the command,
you only need to append arguments as in:
CF_CLI(STEAL MONEY, <$>, [[Steal <$> US dollars or equivalent in any other currency]]): NUM {
cli_msg(0, "%d$ stolen", $3);
} ;
Also don't forget to reset lexer state between inputs.
Martin Mares [Sun, 31 Oct 1999 15:43:44 +0000 (15:43 +0000)]
The CLI I/O functions work as desired.
Martin Mares [Fri, 29 Oct 1999 12:10:10 +0000 (12:10 +0000)]
First steps of the Command Line Interface: I/O routines.
Martin Mares [Fri, 29 Oct 1999 12:09:29 +0000 (12:09 +0000)]
Implemented unix-domain sockets.
Martin Mares [Fri, 29 Oct 1999 12:08:49 +0000 (12:08 +0000)]
Events now return a value. If it's non-zero, the event is re-queued
for processing in next event cycle. This can be used to prevent background
actions (hint: user commands) from hogging the CPU for too long time.
Martin Mares [Fri, 29 Oct 1999 10:08:27 +0000 (10:08 +0000)]
Simplify handling of free chunks.
Martin Mares [Fri, 29 Oct 1999 10:08:09 +0000 (10:08 +0000)]
Configure PATH_CONTROL_SOCKET.
autoconf.h is now written to obj/sysdep, the source tree is hopefully
completely read-only now.
Martin Mares [Fri, 29 Oct 1999 09:44:44 +0000 (09:44 +0000)]
Added skeleton of the client. Does nothing, but at least compiles.
Pavel Machek [Thu, 28 Oct 1999 21:03:36 +0000 (21:03 +0000)]
switch() { } done right.
Ondrej Filip [Tue, 19 Oct 1999 16:13:06 +0000 (16:13 +0000)]
Minor changes and bug fixes. Preparing for Exchange and higher states.
Ondrej Filip [Mon, 18 Oct 1999 21:48:51 +0000 (21:48 +0000)]
Huge changes. Neighbor and interface state machines rewritten.
It should be cleaner now, I'm preparing for file splitting.
Maybe I added some minor bugs. :-(
Pavel Machek [Tue, 12 Oct 1999 13:04:50 +0000 (13:04 +0000)]
FIXME's for rip added.
Will we ever able to generate packets saying "route 1.2.3.4 using someone else"?
Martin Mares [Tue, 12 Oct 1999 07:46:08 +0000 (07:46 +0000)]
Changed syntax of ip_class_mask, the old one was stupid.
Pavel Machek [Tue, 12 Oct 1999 06:27:42 +0000 (06:27 +0000)]
Filters: permit variables of prefix types, cleanup around
variables. TODO list added, hopefully complete. Use new features of
filters in bird.conf
Pavel Machek [Mon, 11 Oct 1999 14:19:29 +0000 (14:19 +0000)]
Untested IPv6 support added. I do not know if it compiles in IPV6 mode.
Pavel Machek [Thu, 7 Oct 1999 14:10:08 +0000 (14:10 +0000)]
Added constants of type prefix and pair, added their printing
Pavel Machek [Thu, 7 Oct 1999 14:09:50 +0000 (14:09 +0000)]
Added examples of pairs and prefixes
Pavel Machek [Thu, 7 Oct 1999 13:38:26 +0000 (13:38 +0000)]
FIXME's added. Hopefully fixme list is now complete for filters.
Martin Mares [Sat, 2 Oct 1999 11:06:44 +0000 (11:06 +0000)]
Failure to set socket TOS is not a fatal error.
Martin Mares [Sat, 2 Oct 1999 10:55:19 +0000 (10:55 +0000)]
Don't forget to free large blocks.
Pavel Machek [Sat, 2 Oct 1999 10:44:48 +0000 (10:44 +0000)]
Obvious bugs in authentication fixed.
Pavel Machek [Wed, 29 Sep 1999 14:24:58 +0000 (14:24 +0000)]
Case arg { 1: printf "one"; } works. You can not use two commands
after one label, yet.
Pavel Machek [Wed, 29 Sep 1999 14:23:11 +0000 (14:23 +0000)]
Make configuration use new case statement.
Ondrej Filip [Wed, 25 Aug 1999 18:44:50 +0000 (18:44 +0000)]
DD packet receiving in ExStart.
Ondrej Filip [Tue, 24 Aug 1999 18:32:26 +0000 (18:32 +0000)]
A structure for receiving DD seq packets added.
Ondrej Filip [Tue, 24 Aug 1999 14:42:51 +0000 (14:42 +0000)]
Preparing to send DD packets.
Pavel Machek [Fri, 20 Aug 1999 09:59:39 +0000 (09:59 +0000)]
Few FIXME's removed from auth, few FIXME's added to filter.
Pavel Machek [Wed, 18 Aug 1999 13:19:33 +0000 (13:19 +0000)]
Few fixme's fixed in rip (will not crash any more on request for
sending routing table - hopefully).
Next few steps in md5 authentication (not yet complete).
Martin Mares [Tue, 17 Aug 1999 20:47:40 +0000 (20:47 +0000)]
Added a function for generating 32-bit random numbers.
Ondrej Filip [Mon, 16 Aug 1999 10:32:05 +0000 (10:32 +0000)]
Better dumping.
Ondrej Filip [Tue, 10 Aug 1999 12:06:45 +0000 (12:06 +0000)]
Small bux fixes. A neigh_chstate added.
Ondrej Filip [Mon, 9 Aug 1999 18:59:37 +0000 (18:59 +0000)]
Multiple "hton problems" fixed. Now we're in EXSTART state.
Ondrej Filip [Mon, 9 Aug 1999 18:49:50 +0000 (18:49 +0000)]
"My own IP problem" fixed.
Ondrej Filip [Mon, 9 Aug 1999 18:34:08 +0000 (18:34 +0000)]
Bug fix in checksum calculation.
Ondrej Filip [Mon, 9 Aug 1999 18:11:51 +0000 (18:11 +0000)]
Bug in election fixed.
Ondrej Filip [Mon, 9 Aug 1999 17:58:01 +0000 (17:58 +0000)]
(Backup) Designated Router election added.
Ondrej Filip [Mon, 9 Aug 1999 13:03:28 +0000 (13:03 +0000)]
Some interface state machine changes. I found some problem in RFC,
trying to conntact authors.
Martin Mares [Tue, 3 Aug 1999 19:57:43 +0000 (19:57 +0000)]
Forgot to do a `cvs add', grr.
Martin Mares [Tue, 3 Aug 1999 19:38:48 +0000 (19:38 +0000)]
Ouch, how could I write this?
Martin Mares [Tue, 3 Aug 1999 19:37:37 +0000 (19:37 +0000)]
Taught Netlink how to behave in IPv6 world.
Martin Mares [Tue, 3 Aug 1999 19:36:51 +0000 (19:36 +0000)]
Support for IPv6 sockets. How nice one doesn't have to ifdef around
ten years of API evolution :-)
Martin Mares [Tue, 3 Aug 1999 19:36:06 +0000 (19:36 +0000)]
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.
o Router ID must be configured manually on IPv6 systems.
o Added SCOPE_ORGANIZATION for org-scoped IPv6 multicasts.
o Fixed few places where ipa_(hton|ntoh) was called as a function
returning converted address.
Martin Mares [Tue, 3 Aug 1999 19:35:01 +0000 (19:35 +0000)]
Pruned the TODO list.
Martin Mares [Tue, 3 Aug 1999 19:34:26 +0000 (19:34 +0000)]
Implemented a Table-to-Table protocol a.k.a The Pipe.
Martin Mares [Tue, 3 Aug 1999 19:33:45 +0000 (19:33 +0000)]
Allow announces of rte's to protocols in FS_FEEDING state.
Else, we would get chicken-egg problems in the table-to-table protocol.
Martin Mares [Tue, 3 Aug 1999 19:33:22 +0000 (19:33 +0000)]
Kernel route syncer supports multiple tables.
The changes are just too extensive for lazy me to list them
there, but see the comment at the top of sysdep/unix/krt.c.
The code got a bit more ifdeffy than I'd like, though.
Also fixed a bunch of FIXME's and added a couple of others. :)
Martin Mares [Tue, 3 Aug 1999 19:31:54 +0000 (19:31 +0000)]
Protocol engine bug fixes:
o Make proto_config->table always point to the right
table even if it should be the default one.
o When shutting down, kill protocol in reverse order
of their priority.
o When stopping a protocol down, disconnect it from
routing tables immediately instead of waiting
for the delayed protocol flush event.
Also added a protocol instance counter (used by KRT code
in very magic ways).
Martin Mares [Tue, 3 Aug 1999 19:31:30 +0000 (19:31 +0000)]
Added macros for walking lists backwards.
Martin Mares [Tue, 3 Aug 1999 19:31:11 +0000 (19:31 +0000)]
Added missing structure declarations.
Martin Mares [Tue, 3 Aug 1999 19:30:49 +0000 (19:30 +0000)]
Cleaned up handling of interface patterns:
o Parsing of interface patterns moved to generic code,
introduced this_ipatt which works similarly to this_iface.
o Interface patterns now support selection by both interface
names and primary IP addresses.
o Proto `direct' updated.
o RIP updated as well, it also seems the memory corruption
bug there is gone.
Martin Mares [Tue, 3 Aug 1999 19:30:20 +0000 (19:30 +0000)]
Changes to interface handling on traditional Unices:
o Aliases are interpreted as secondary addresses.
o When the system doesn't supply interface indices, generate
our ones.
Martin Mares [Tue, 3 Aug 1999 19:29:57 +0000 (19:29 +0000)]
Faster checksum function.
Martin Mares [Tue, 3 Aug 1999 19:29:27 +0000 (19:29 +0000)]
Added functions for parsing and formatting of dates.
Pavel Machek [Thu, 1 Jul 1999 09:11:21 +0000 (09:11 +0000)]
Function calling in filters works - somehow. Calling syntax is
currently very ugly, beware. Variables are not really local - that
needs to be fixed.
Ondrej Filip [Wed, 2 Jun 1999 16:31:13 +0000 (16:31 +0000)]
Fixed stupid bug with hello vs inactim timers.
Ondrej Filip [Tue, 1 Jun 1999 17:29:56 +0000 (17:29 +0000)]
Neigbor deleting done. (I have some problems with timers, so it does not
send hello.)
Ondrej Filip [Tue, 1 Jun 1999 16:35:18 +0000 (16:35 +0000)]
Detecting of new neighbor added. It starts inactivity timer.
Martin Mares [Tue, 1 Jun 1999 15:31:43 +0000 (15:31 +0000)]
Grrr, the "obvious fix" to multicasting code from yesterday was
fundamentally wrong. Reversed.
Martin Mares [Tue, 1 Jun 1999 13:57:24 +0000 (13:57 +0000)]
Defined IP_PREC_INTERNET_CONTROL and made all (well, both :)) protocols
use it when creating sockets.
Pavel Machek [Mon, 31 May 1999 20:34:48 +0000 (20:34 +0000)]
Set corectly destination address for RIP multicast. Broadcasting &
multicasting rip actually works [broadcasting is kind of hard to turn
it on, through].
Pavel Machek [Mon, 31 May 1999 20:30:16 +0000 (20:30 +0000)]
Added FIXME: mode broadcast randombly corrupts memory.
Small cleaning and bugfixes.
Martin Mares [Mon, 31 May 1999 20:28:46 +0000 (20:28 +0000)]
Fix potential multicasting bug.
Pavel Machek [Mon, 31 May 1999 19:43:08 +0000 (19:43 +0000)]
Kill duplicity between rif and rif_patt.
Pavel Machek [Mon, 31 May 1999 19:37:16 +0000 (19:37 +0000)]
Small fixes to rip.
Pavel Machek [Mon, 31 May 1999 19:22:40 +0000 (19:22 +0000)]
Cleanup of warnings
Pavel Machek [Mon, 31 May 1999 19:16:22 +0000 (19:16 +0000)]
Incoming side of authentication done but untested. Right handling of
filters in rip.
Pavel Machek [Mon, 31 May 1999 19:15:52 +0000 (19:15 +0000)]
Added password_strncpy() which pads destination with zeros.
Pavel Machek [Mon, 31 May 1999 19:15:32 +0000 (19:15 +0000)]
Added extended attributes for rip.
Ondrej Filip [Mon, 31 May 1999 19:07:31 +0000 (19:07 +0000)]
IP socket priority (sock->tos) added. Constant taken from tcpdump of CISCO
and gated.
Ondrej Filip [Mon, 31 May 1999 18:56:20 +0000 (18:56 +0000)]
Some RX_Hello checks added.
Martin Mares [Mon, 31 May 1999 18:55:35 +0000 (18:55 +0000)]
Added extra argument to rt_update hook which contains a pointer to the
temporary attribute list.
Ondrej Filip [Mon, 31 May 1999 18:24:54 +0000 (18:24 +0000)]
Sending and receving of hello pkts works. No I will start building neighbor
database.
Martin Mares [Mon, 31 May 1999 17:39:44 +0000 (17:39 +0000)]
Added missing quotes.
Pavel Machek [Mon, 31 May 1999 17:12:38 +0000 (17:12 +0000)]
Modified rip to new password handling in nest. Now it at least compiles.
Pavel Machek [Mon, 31 May 1999 17:12:00 +0000 (17:12 +0000)]
Added PASSIVE option to paswwords.
Martin Mares [Mon, 31 May 1999 13:21:07 +0000 (13:21 +0000)]
Added sk_send_buffer_empty().