]> git.ipfire.org Git - thirdparty/bird.git/log
thirdparty/bird.git
24 years agoFixed order of arguments for function call.
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...)

24 years agoShift/reduce conflict goes away _and_ if/then/else works.
Pavel Machek [Thu, 11 Nov 1999 13:27:59 +0000 (13:27 +0000)] 
Shift/reduce conflict goes away _and_ if/then/else works.

24 years agoSending DBDES packet in EXSTART done.
Ondrej Filip [Wed, 10 Nov 1999 16:06:12 +0000 (16:06 +0000)] 
Sending DBDES packet in EXSTART done.

24 years agoEnums do not work, this is testcase.
Pavel Machek [Wed, 10 Nov 1999 13:59:13 +0000 (13:59 +0000)] 
Enums do not work, this is testcase.

24 years agoFirst try on enumerational types.
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.

24 years agoNo more shift/reduce conflicts.
Pavel Machek [Wed, 10 Nov 1999 13:07:18 +0000 (13:07 +0000)] 
No more shift/reduce conflicts.

24 years agoShift/reduce conflicts in IF/THEN/ELSE rules solved.
Martin Mares [Wed, 10 Nov 1999 13:05:57 +0000 (13:05 +0000)] 
Shift/reduce conflicts in IF/THEN/ELSE rules solved.

24 years agoEnumerational types, defined keyword added.
Pavel Machek [Wed, 10 Nov 1999 12:44:07 +0000 (12:44 +0000)] 
Enumerational types, defined keyword added.

24 years agoAdded LSA hashing table (parts of code stolen from rt-fib.c, but
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).

24 years agoAdded timeout for routes (which means proper expiring of routes) added
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.

24 years agoAdded project status report for KSVI.
Martin Mares [Wed, 10 Nov 1999 10:48:19 +0000 (10:48 +0000)] 
Added project status report for KSVI.

24 years agoFIXME's updated. One fixme is remaining for correct RIPv4. Wow.
Pavel Machek [Thu, 4 Nov 1999 14:39:51 +0000 (14:39 +0000)] 
FIXME's updated. One fixme is remaining for correct RIPv4. Wow.

24 years agoReject packets which are not authenticated.
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.

24 years agoFixed comments about shift/reduce conflicts.
Pavel Machek [Thu, 4 Nov 1999 14:05:40 +0000 (14:05 +0000)] 
Fixed comments about shift/reduce conflicts.

24 years agoAdd possibility of local variables.
Pavel Machek [Thu, 4 Nov 1999 14:03:45 +0000 (14:03 +0000)] 
Add possibility of local variables.

24 years agoUse local variables to test that functionality.
Pavel Machek [Thu, 4 Nov 1999 14:03:36 +0000 (14:03 +0000)] 
Use local variables to test that functionality.

24 years agoSilly bug.
Martin Mares [Thu, 4 Nov 1999 13:53:47 +0000 (13:53 +0000)] 
Silly bug.

24 years agoSymbols are not scoped.
Martin Mares [Thu, 4 Nov 1999 13:51:52 +0000 (13:51 +0000)] 
Symbols are not scoped.

24 years agoPossibility to access first extended attributes.
Pavel Machek [Thu, 4 Nov 1999 13:33:30 +0000 (13:33 +0000)] 
Possibility to access first extended attributes.

24 years agoRenamed attr->attrs to attr->eattrs.
Martin Mares [Thu, 4 Nov 1999 13:29:43 +0000 (13:29 +0000)] 
Renamed attr->attrs to attr->eattrs.

24 years agoFilters now do not allow function (int arg; int arg2; ).
Pavel Machek [Wed, 3 Nov 1999 22:23:01 +0000 (22:23 +0000)] 
Filters now do not allow function (int arg; int arg2; ).

24 years agoYou should not follow next two times.
Pavel Machek [Wed, 3 Nov 1999 22:21:26 +0000 (22:21 +0000)] 
You should not follow next two times.

24 years agoWorking on db des receiving.
Ondrej Filip [Wed, 3 Nov 1999 12:59:38 +0000 (12:59 +0000)] 
Working on db des receiving.
Preparing for building LDA database.

24 years agoStarted a list of CLI reply codes.
Martin Mares [Sun, 31 Oct 1999 17:48:21 +0000 (17:48 +0000)] 
Started a list of CLI reply codes.

24 years agoParse CLI commands. We use the same parser as for configuration files (because
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.

24 years agoThe CLI I/O functions work as desired.
Martin Mares [Sun, 31 Oct 1999 15:43:44 +0000 (15:43 +0000)] 
The CLI I/O functions work as desired.

24 years agoFirst steps of the Command Line Interface: I/O routines.
Martin Mares [Fri, 29 Oct 1999 12:10:10 +0000 (12:10 +0000)] 
First steps of the Command Line Interface: I/O routines.

24 years agoImplemented unix-domain sockets.
Martin Mares [Fri, 29 Oct 1999 12:09:29 +0000 (12:09 +0000)] 
Implemented unix-domain sockets.

24 years agoEvents now return a value. If it's non-zero, the event is re-queued
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.

24 years agoSimplify handling of free chunks.
Martin Mares [Fri, 29 Oct 1999 10:08:27 +0000 (10:08 +0000)] 
Simplify handling of free chunks.

24 years agoConfigure PATH_CONTROL_SOCKET.
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.

24 years agoAdded skeleton of the client. Does nothing, but at least compiles.
Martin Mares [Fri, 29 Oct 1999 09:44:44 +0000 (09:44 +0000)] 
Added skeleton of the client. Does nothing, but at least compiles.

24 years agoswitch() { } done right.
Pavel Machek [Thu, 28 Oct 1999 21:03:36 +0000 (21:03 +0000)] 
switch() { } done right.

24 years agoMinor changes and bug fixes. Preparing for Exchange and higher states.
Ondrej Filip [Tue, 19 Oct 1999 16:13:06 +0000 (16:13 +0000)] 
Minor changes and bug fixes. Preparing for Exchange and higher states.

24 years agoHuge changes. Neighbor and interface state machines rewritten.
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. :-(

24 years agoFIXME's for rip added.
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"?

24 years agoChanged syntax of ip_class_mask, the old one was stupid.
Martin Mares [Tue, 12 Oct 1999 07:46:08 +0000 (07:46 +0000)] 
Changed syntax of ip_class_mask, the old one was stupid.

24 years agoFilters: permit variables of prefix types, cleanup around
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

24 years agoUntested IPv6 support added. I do not know if it compiles in IPV6 mode.
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.

24 years agoAdded constants of type prefix and pair, added their printing
Pavel Machek [Thu, 7 Oct 1999 14:10:08 +0000 (14:10 +0000)] 
Added constants of type prefix and pair, added their printing

24 years agoAdded examples of pairs and prefixes
Pavel Machek [Thu, 7 Oct 1999 14:09:50 +0000 (14:09 +0000)] 
Added examples of pairs and prefixes

24 years agoFIXME's added. Hopefully fixme list is now complete for filters.
Pavel Machek [Thu, 7 Oct 1999 13:38:26 +0000 (13:38 +0000)] 
FIXME's added. Hopefully fixme list is now complete for filters.

25 years agoFailure to set socket TOS is not a fatal error.
Martin Mares [Sat, 2 Oct 1999 11:06:44 +0000 (11:06 +0000)] 
Failure to set socket TOS is not a fatal error.

25 years agoDon't forget to free large blocks.
Martin Mares [Sat, 2 Oct 1999 10:55:19 +0000 (10:55 +0000)] 
Don't forget to free large blocks.

25 years agoObvious bugs in authentication fixed.
Pavel Machek [Sat, 2 Oct 1999 10:44:48 +0000 (10:44 +0000)] 
Obvious bugs in authentication fixed.

25 years agoCase arg { 1: printf "one"; } works. You can not use two commands
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.

25 years agoMake configuration use new case statement.
Pavel Machek [Wed, 29 Sep 1999 14:23:11 +0000 (14:23 +0000)] 
Make configuration use new case statement.

25 years agoDD packet receiving in ExStart.
Ondrej Filip [Wed, 25 Aug 1999 18:44:50 +0000 (18:44 +0000)] 
DD packet receiving in ExStart.

25 years agoA structure for receiving DD seq packets added.
Ondrej Filip [Tue, 24 Aug 1999 18:32:26 +0000 (18:32 +0000)] 
A structure for receiving DD seq packets added.

25 years agoPreparing to send DD packets.
Ondrej Filip [Tue, 24 Aug 1999 14:42:51 +0000 (14:42 +0000)] 
Preparing to send DD packets.

25 years agoFew FIXME's removed from auth, few FIXME's added to filter.
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.

25 years agoFew fixme's fixed in rip (will not crash any more on request for
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).

25 years agoAdded a function for generating 32-bit random numbers.
Martin Mares [Tue, 17 Aug 1999 20:47:40 +0000 (20:47 +0000)] 
Added a function for generating 32-bit random numbers.

25 years agoBetter dumping.
Ondrej Filip [Mon, 16 Aug 1999 10:32:05 +0000 (10:32 +0000)] 
Better dumping.

25 years agoSmall bux fixes. A neigh_chstate added.
Ondrej Filip [Tue, 10 Aug 1999 12:06:45 +0000 (12:06 +0000)] 
Small bux fixes. A neigh_chstate added.

25 years agoMultiple "hton problems" fixed. Now we're in EXSTART state.
Ondrej Filip [Mon, 9 Aug 1999 18:59:37 +0000 (18:59 +0000)] 
Multiple "hton problems" fixed. Now we're in EXSTART state.

25 years ago"My own IP problem" fixed.
Ondrej Filip [Mon, 9 Aug 1999 18:49:50 +0000 (18:49 +0000)] 
"My own IP problem" fixed.

25 years agoBug fix in checksum calculation.
Ondrej Filip [Mon, 9 Aug 1999 18:34:08 +0000 (18:34 +0000)] 
Bug fix in checksum calculation.

25 years agoBug in election fixed.
Ondrej Filip [Mon, 9 Aug 1999 18:11:51 +0000 (18:11 +0000)] 
Bug in election fixed.

25 years ago(Backup) Designated Router election added.
Ondrej Filip [Mon, 9 Aug 1999 17:58:01 +0000 (17:58 +0000)] 
(Backup) Designated Router election added.

25 years agoSome interface state machine changes. I found some problem in RFC,
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.

25 years agoForgot to do a `cvs add', grr.
Martin Mares [Tue, 3 Aug 1999 19:57:43 +0000 (19:57 +0000)] 
Forgot to do a `cvs add', grr.

25 years agoOuch, how could I write this?
Martin Mares [Tue, 3 Aug 1999 19:38:48 +0000 (19:38 +0000)] 
Ouch, how could I write this?

25 years agoTaught Netlink how to behave in IPv6 world.
Martin Mares [Tue, 3 Aug 1999 19:37:37 +0000 (19:37 +0000)] 
Taught Netlink how to behave in IPv6 world.

25 years agoSupport for IPv6 sockets. How nice one doesn't have to ifdef around
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 :-)

25 years agoBasic support for IPv6. The system-dependent part doesn't work yet,
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.

25 years agoPruned the TODO list.
Martin Mares [Tue, 3 Aug 1999 19:35:01 +0000 (19:35 +0000)] 
Pruned the TODO list.

25 years agoImplemented a Table-to-Table protocol a.k.a The Pipe.
Martin Mares [Tue, 3 Aug 1999 19:34:26 +0000 (19:34 +0000)] 
Implemented a Table-to-Table protocol a.k.a The Pipe.

25 years agoAllow announces of rte's to protocols in FS_FEEDING state.
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.

25 years agoKernel route syncer supports multiple tables.
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. :)

25 years agoProtocol engine bug fixes:
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).

25 years agoAdded macros for walking lists backwards.
Martin Mares [Tue, 3 Aug 1999 19:31:30 +0000 (19:31 +0000)] 
Added macros for walking lists backwards.

25 years agoAdded missing structure declarations.
Martin Mares [Tue, 3 Aug 1999 19:31:11 +0000 (19:31 +0000)] 
Added missing structure declarations.

25 years agoCleaned up handling of interface patterns:
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.

25 years agoChanges to interface handling on traditional Unices:
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.

25 years agoFaster checksum function.
Martin Mares [Tue, 3 Aug 1999 19:29:57 +0000 (19:29 +0000)] 
Faster checksum function.

25 years agoAdded functions for parsing and formatting of dates.
Martin Mares [Tue, 3 Aug 1999 19:29:27 +0000 (19:29 +0000)] 
Added functions for parsing and formatting of dates.

25 years agoFunction calling in filters works - somehow. Calling syntax is
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.

25 years agoFixed stupid bug with hello vs inactim timers.
Ondrej Filip [Wed, 2 Jun 1999 16:31:13 +0000 (16:31 +0000)] 
Fixed stupid bug with hello vs inactim timers.

25 years agoNeigbor deleting done. (I have some problems with timers, so it does not
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.)

25 years agoDetecting of new neighbor added. It starts inactivity timer.
Ondrej Filip [Tue, 1 Jun 1999 16:35:18 +0000 (16:35 +0000)] 
Detecting of new neighbor added. It starts inactivity timer.

25 years agoGrrr, the "obvious fix" to multicasting code from yesterday was
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.

25 years agoDefined IP_PREC_INTERNET_CONTROL and made all (well, both :)) protocols
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.

25 years agoSet corectly destination address for RIP multicast. Broadcasting &
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].

25 years agoAdded FIXME: mode broadcast randombly corrupts memory.
Pavel Machek [Mon, 31 May 1999 20:30:16 +0000 (20:30 +0000)] 
Added FIXME: mode broadcast randombly corrupts memory.

Small cleaning and bugfixes.

25 years agoFix potential multicasting bug.
Martin Mares [Mon, 31 May 1999 20:28:46 +0000 (20:28 +0000)] 
Fix potential multicasting bug.

25 years agoKill duplicity between rif and rif_patt.
Pavel Machek [Mon, 31 May 1999 19:43:08 +0000 (19:43 +0000)] 
Kill duplicity between rif and rif_patt.

25 years agoSmall fixes to rip.
Pavel Machek [Mon, 31 May 1999 19:37:16 +0000 (19:37 +0000)] 
Small fixes to rip.

25 years agoCleanup of warnings
Pavel Machek [Mon, 31 May 1999 19:22:40 +0000 (19:22 +0000)] 
Cleanup of warnings

25 years agoIncoming side of authentication done but untested. Right handling of
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.

25 years agoAdded password_strncpy() which pads destination with zeros.
Pavel Machek [Mon, 31 May 1999 19:15:52 +0000 (19:15 +0000)] 
Added password_strncpy() which pads destination with zeros.

25 years agoAdded extended attributes for rip.
Pavel Machek [Mon, 31 May 1999 19:15:32 +0000 (19:15 +0000)] 
Added extended attributes for rip.

25 years agoIP socket priority (sock->tos) added. Constant taken from tcpdump of CISCO
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.

25 years agoSome RX_Hello checks added.
Ondrej Filip [Mon, 31 May 1999 18:56:20 +0000 (18:56 +0000)] 
Some RX_Hello checks added.

25 years agoAdded extra argument to rt_update hook which contains a pointer to the
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.

25 years agoSending and receving of hello pkts works. No I will start building neighbor
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.

25 years agoAdded missing quotes.
Martin Mares [Mon, 31 May 1999 17:39:44 +0000 (17:39 +0000)] 
Added missing quotes.

25 years agoModified rip to new password handling in nest. Now it at least compiles.
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.

25 years agoAdded PASSIVE option to paswwords.
Pavel Machek [Mon, 31 May 1999 17:12:00 +0000 (17:12 +0000)] 
Added PASSIVE option to paswwords.

25 years agoAdded sk_send_buffer_empty().
Martin Mares [Mon, 31 May 1999 13:21:07 +0000 (13:21 +0000)] 
Added sk_send_buffer_empty().