]> git.ipfire.org Git - thirdparty/bird.git/log
thirdparty/bird.git
26 years agoWhen tracing, always print incoming part of the trace before the outgoing one.
Martin Mares [Sat, 1 Apr 2000 09:16:42 +0000 (09:16 +0000)] 
When tracing, always print incoming part of the trace before the outgoing one.

Avoid buffer overflows in `show routes' command.

26 years agoWhen processing ACCEPT/REJECT carrying no message, don't print
Martin Mares [Sat, 1 Apr 2000 09:15:55 +0000 (09:15 +0000)] 
When processing ACCEPT/REJECT carrying no message, don't print
trailing newline.

I hope the fix is correct, but please check.

26 years agoSOURCE should really refer to rta->source, not rta->gw.
Martin Mares [Sat, 1 Apr 2000 09:15:10 +0000 (09:15 +0000)] 
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.

26 years agoLSA checksum works. But it's very uneficient on little endian systems.
Ondrej Filip [Sat, 1 Apr 2000 02:45:49 +0000 (02:45 +0000)] 
LSA checksum works. But it's very uneficient on little endian systems.

26 years agoRemoval of useless includes continues...
Martin Mares [Fri, 31 Mar 2000 23:40:00 +0000 (23:40 +0000)] 
Removal of useless includes continues...

26 years agoRemoved lots of superfluous includes.
Martin Mares [Fri, 31 Mar 2000 23:35:59 +0000 (23:35 +0000)] 
Removed lots of superfluous includes.

Use debug() instead of printf().

26 years agoUse bsprintf() instead of sprintf().
Martin Mares [Fri, 31 Mar 2000 23:33:03 +0000 (23:33 +0000)] 
Use bsprintf() instead of sprintf().

26 years agoInclude "lib/string.h" instead of <string.h>. It should give us bzero()
Martin Mares [Fri, 31 Mar 2000 23:30:21 +0000 (23:30 +0000)] 
Include "lib/string.h" instead of <string.h>. It should give us bzero()
and other non-portable functions on all systems.

26 years agoParsing of BGP attributes.
Martin Mares [Fri, 31 Mar 2000 23:21:37 +0000 (23:21 +0000)] 
Parsing of BGP attributes.

26 years agoFixed bug in processing of dynamic attributes.
Martin Mares [Fri, 31 Mar 2000 23:21:19 +0000 (23:21 +0000)] 
Fixed bug in processing of dynamic attributes.

26 years agoChecksum changes. Bug is still NOT fixed. :-(
Ondrej Filip [Fri, 31 Mar 2000 01:40:12 +0000 (01:40 +0000)] 
Checksum changes. Bug is still NOT fixed. :-(

26 years agoSome bug fixes. LSA checksum is still bad. I'll fix it later.
Ondrej Filip [Fri, 31 Mar 2000 01:14:41 +0000 (01:14 +0000)] 
Some bug fixes. LSA checksum is still bad. I'll fix it later.

26 years agoSending of lspd as responce to lsreq done.
Ondrej Filip [Fri, 31 Mar 2000 00:21:41 +0000 (00:21 +0000)] 
Sending of lspd as responce to lsreq done.

26 years agoLSA structure changes. (Len added.)
Ondrej Filip [Thu, 30 Mar 2000 20:18:51 +0000 (20:18 +0000)] 
LSA structure changes. (Len added.)

26 years agoSkeleton structures and files added.
Ondrej Filip [Thu, 30 Mar 2000 20:00:42 +0000 (20:00 +0000)] 
Skeleton structures and files added.

26 years agoAdd hashing to link state request list.
Ondrej Filip [Thu, 30 Mar 2000 19:37:26 +0000 (19:37 +0000)] 
Add hashing to link state request list.

26 years agoMinor changes.
Ondrej Filip [Thu, 30 Mar 2000 19:21:17 +0000 (19:21 +0000)] 
Minor changes.

26 years agoBasic analysis of UPDATE packets.
Martin Mares [Thu, 30 Mar 2000 18:44:23 +0000 (18:44 +0000)] 
Basic analysis of UPDATE packets.

26 years agoConnection state machine works.
Martin Mares [Thu, 30 Mar 2000 17:39:48 +0000 (17:39 +0000)] 
Connection state machine works.

26 years agoBetter list manipulation.
Ondrej Filip [Thu, 30 Mar 2000 16:22:58 +0000 (16:22 +0000)] 
Better list manipulation.

26 years agoMore BGP. This time it connects, but the state machine still isn't complete.
Martin Mares [Thu, 30 Mar 2000 10:44:20 +0000 (10:44 +0000)] 
More BGP. This time it connects, but the state machine still isn't complete.

26 years agoDefined sk_close() which closes the socket safely even if called from
Martin Mares [Thu, 30 Mar 2000 10:43:37 +0000 (10:43 +0000)] 
Defined sk_close() which closes the socket safely even if called from
socket hook. Replaces the SK_DELETED hack.

Squashed a couple of bugs in handling of TCP sockets.

26 years agoUse FF_FORCE_TMPATTR where appropriate.
Martin Mares [Thu, 30 Mar 2000 08:50:46 +0000 (08:50 +0000)] 
Use FF_FORCE_TMPATTR where appropriate.

26 years agoRenamed FF_OUTGOING to FF_FORCE_TMPATTR which much better fits the semantics.
Martin Mares [Thu, 30 Mar 2000 08:50:30 +0000 (08:50 +0000)] 
Renamed FF_OUTGOING to FF_FORCE_TMPATTR which much better fits the semantics.

Call rte_cow() instead of rte_do_cow(), so that COW works properly.

Stripped "\n" off several (de)bug messages.

26 years agoLSreq initial work.
Ondrej Filip [Thu, 30 Mar 2000 00:18:59 +0000 (00:18 +0000)] 
LSreq initial work.

26 years agoAvoid conflicts with libraries defining their own xmalloc by defining
Martin Mares [Wed, 29 Mar 2000 22:57:46 +0000 (22:57 +0000)] 
Avoid conflicts with libraries defining their own xmalloc by defining
xmalloc to bird_xmalloc internally.

26 years agoSlave bug fix.
Ondrej Filip [Wed, 29 Mar 2000 17:51:40 +0000 (17:51 +0000)] 
Slave bug fix.

26 years agoMany changes in dbdes sending & receiving. EXDONE caused.
Ondrej Filip [Wed, 29 Mar 2000 17:18:06 +0000 (17:18 +0000)] 
Many changes in dbdes sending & receiving. EXDONE caused.

26 years agoRXMT timer handling bug fix.
Ondrej Filip [Wed, 29 Mar 2000 13:02:58 +0000 (13:02 +0000)] 
RXMT timer handling bug fix.

26 years agoSome FIXME added.
Ondrej Filip [Wed, 29 Mar 2000 12:47:07 +0000 (12:47 +0000)] 
Some FIXME added.

26 years agoSending of DBdes bug fixed.
Ondrej Filip [Wed, 29 Mar 2000 12:45:37 +0000 (12:45 +0000)] 
Sending of DBdes bug fixed.

26 years agoIMMS reverted to bits. Outgoing packets dumping added.
Ondrej Filip [Wed, 29 Mar 2000 12:32:25 +0000 (12:32 +0000)] 
IMMS reverted to bits. Outgoing packets dumping added.
Cisco does not set inteface MTU. Hmm....

26 years agof_run gets one more parameter to distinguish between in and out modes.
Pavel Machek [Wed, 29 Mar 2000 09:02:00 +0000 (09:02 +0000)] 
f_run gets one more parameter to distinguish between in and out modes.

26 years agoCross-protocol issues solved better
Pavel Machek [Wed, 29 Mar 2000 08:58:06 +0000 (08:58 +0000)] 
Cross-protocol issues solved better

26 years agoDBdes sending/receiving changes.
Ondrej Filip [Wed, 29 Mar 2000 00:34:28 +0000 (00:34 +0000)] 
DBdes sending/receiving changes.

26 years agoUse neigh_connected_to in rip, and behave more correctly
Pavel Machek [Mon, 27 Mar 2000 12:21:11 +0000 (12:21 +0000)] 
Use neigh_connected_to in rip, and behave more correctly
w.r.t. whotoldme and nexthop.

26 years agoif_connected() is again private.
Martin Mares [Mon, 27 Mar 2000 12:16:37 +0000 (12:16 +0000)] 
if_connected() is again private.

Introduced neigh_connected_to() to serve the same purpose efficiently.

26 years agoI broke compilation. Sorry.
Pavel Machek [Sun, 26 Mar 2000 21:31:57 +0000 (21:31 +0000)] 
I broke compilation. Sorry.

26 years agoSplit horizont done right.
Pavel Machek [Sun, 26 Mar 2000 18:01:27 +0000 (18:01 +0000)] 
Split horizont done right.

Locks done better.

26 years agoif_connected is usefull outside of neighbour cache.
Pavel Machek [Sun, 26 Mar 2000 18:00:45 +0000 (18:00 +0000)] 
if_connected is usefull outside of neighbour cache.

26 years agoFIXME was actually already resolved
Pavel Machek [Fri, 24 Mar 2000 10:08:20 +0000 (10:08 +0000)] 
FIXME was actually already resolved

26 years agoMinor change to make code more readable.
Pavel Machek [Thu, 23 Mar 2000 12:08:40 +0000 (12:08 +0000)] 
Minor change to make code more readable.

26 years agoRip now tries to lock interface.
Pavel Machek [Wed, 22 Mar 2000 14:26:03 +0000 (14:26 +0000)] 
Rip now tries to lock interface.

Fixed fatal errors which caused segfault at startup.

Fixed fatal errors in rip which caused it not to send more than first
update.

26 years agoFormat of dates changed, so rip authentication is now commented out.
Pavel Machek [Wed, 22 Mar 2000 14:23:40 +0000 (14:23 +0000)] 
Format of dates changed, so rip authentication is now commented out.

26 years agoConstruction of BGP packets.
Martin Mares [Tue, 21 Mar 2000 15:53:50 +0000 (15:53 +0000)] 
Construction of BGP packets.

26 years agoWrote real version of unaligned data access functions (needed for BGP).
Martin Mares [Tue, 21 Mar 2000 15:51:30 +0000 (15:51 +0000)] 
Wrote real version of unaligned data access functions (needed for BGP).

26 years agoStarted work on BGP. Wrote main part of the connection handling code.
Martin Mares [Mon, 20 Mar 2000 21:50:17 +0000 (21:50 +0000)] 
Started work on BGP. Wrote main part of the connection handling code.

26 years agoHandle EINPROGRESS properly.
Martin Mares [Mon, 20 Mar 2000 21:49:21 +0000 (21:49 +0000)] 
Handle EINPROGRESS properly.

Set IP_DONTROUTE sockopt only if sk->ttl == 1.

26 years agoAdded missing newline in debug output.
Martin Mares [Mon, 20 Mar 2000 20:52:18 +0000 (20:52 +0000)] 
Added missing newline in debug output.

26 years agoDefine new data types for BGP.
Martin Mares [Mon, 20 Mar 2000 18:45:03 +0000 (18:45 +0000)] 
Define new data types for BGP.

26 years agoBare skeleton of the BGP.
Martin Mares [Sun, 19 Mar 2000 22:09:07 +0000 (22:09 +0000)] 
Bare skeleton of the BGP.

26 years agoProtocol tracing: Don't dump core on filtered out routes.
Martin Mares [Sun, 19 Mar 2000 21:59:24 +0000 (21:59 +0000)] 
Protocol tracing: Don't dump core on filtered out routes.

26 years agoCleanup, mostly debugging messages.
Pavel Machek [Mon, 13 Mar 2000 13:31:00 +0000 (13:31 +0000)] 
Cleanup, mostly debugging messages.

26 years agoAdd internal commands of the client to the command list.
Martin Mares [Sun, 12 Mar 2000 23:04:04 +0000 (23:04 +0000)] 
Add internal commands of the client to the command list.

26 years agoCommands which failed expansions are to be stored to history, too.
Martin Mares [Sun, 12 Mar 2000 22:55:09 +0000 (22:55 +0000)] 
Commands which failed expansions are to be stored to history, too.

26 years agoFixed a bunch of FIXME's by removing them :)
Martin Mares [Sun, 12 Mar 2000 22:53:05 +0000 (22:53 +0000)] 
Fixed a bunch of FIXME's by removing them :)

26 years agoMade `show status' show uptime and time of last reconfiguration.
Martin Mares [Sun, 12 Mar 2000 22:44:54 +0000 (22:44 +0000)] 
Made `show status' show uptime and time of last reconfiguration.

26 years agoAdded tm_format_datetime().
Martin Mares [Sun, 12 Mar 2000 22:43:13 +0000 (22:43 +0000)] 
Added tm_format_datetime().

26 years agoDon't crash when filter_same() gets called on FILTER_ACCEPT or FILTER_REJECT.
Martin Mares [Sun, 12 Mar 2000 22:40:07 +0000 (22:40 +0000)] 
Don't crash when filter_same() gets called on FILTER_ACCEPT or FILTER_REJECT.

26 years agoYet another LOCAL_DEBUG turned off.
Martin Mares [Sun, 12 Mar 2000 21:58:51 +0000 (21:58 +0000)] 
Yet another LOCAL_DEBUG turned off.

26 years agoCleaned up debugging in kernel syncer. Netlink has still LOCAL_DEBUG
Martin Mares [Sun, 12 Mar 2000 21:54:39 +0000 (21:54 +0000)] 
Cleaned up debugging in kernel syncer.  Netlink has still LOCAL_DEBUG
turned on, but after some testing I'll gag it.

26 years agoUse do { } while(0) instead of empty DBG if not debugging.
Martin Mares [Sun, 12 Mar 2000 21:47:25 +0000 (21:47 +0000)] 
Use do { } while(0) instead of empty DBG if not debugging.

26 years agoGreat cleanup of debug messages. LOCAL_DEBUG turned off in most modules,
Martin Mares [Sun, 12 Mar 2000 21:01:38 +0000 (21:01 +0000)] 
Great cleanup of debug messages. LOCAL_DEBUG turned off in most modules,
several debug() calls converted to DBG().

26 years agoAdded tracing of interface events.
Martin Mares [Sun, 12 Mar 2000 20:50:35 +0000 (20:50 +0000)] 
Added tracing of interface events.

26 years agoOops, got `<' and `>' markers in trace output reversed.
Martin Mares [Sun, 12 Mar 2000 20:49:08 +0000 (20:49 +0000)] 
Oops, got `<' and `>' markers in trace output reversed.

26 years agoAdded debugging of communication between protocols and routing tables.
Martin Mares [Sun, 12 Mar 2000 20:30:53 +0000 (20:30 +0000)] 
Added debugging of communication between protocols and routing tables.
Just ask for "debug routes" if you want to see the routes and "debug filters"
if you want even the rejected ones.

26 years agoFix <=, >=, !=
Pavel Machek [Fri, 10 Mar 2000 20:21:12 +0000 (20:21 +0000)] 
Fix <=, >=, !=

26 years agoLSA DB is completely redesigned. Now it should be faster and it needs
Ondrej Filip [Thu, 9 Mar 2000 22:38:05 +0000 (22:38 +0000)] 
LSA DB is completely redesigned. Now it should be faster and it needs
less memory.

26 years agoCategorized TRACE() messages in rip
Pavel Machek [Thu, 9 Mar 2000 16:38:51 +0000 (16:38 +0000)] 
Categorized TRACE() messages in rip

26 years agoRip tracing: still need config hunk to set p->debug.
Pavel Machek [Thu, 9 Mar 2000 15:12:41 +0000 (15:12 +0000)] 
Rip tracing: still need config hunk to set p->debug.

26 years agolog() classes done right
Pavel Machek [Thu, 9 Mar 2000 14:59:10 +0000 (14:59 +0000)] 
log() classes done right

26 years ago1 less shift/reduce conflict
Pavel Machek [Thu, 9 Mar 2000 14:47:43 +0000 (14:47 +0000)] 
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

26 years agoCONST() is now gone
Pavel Machek [Thu, 9 Mar 2000 13:21:40 +0000 (13:21 +0000)] 
CONST() is now gone

26 years agoSending of DBDes. (Checksum and length calculation NOT done.)
Ondrej Filip [Wed, 8 Mar 2000 12:50:28 +0000 (12:50 +0000)] 
Sending of DBDes. (Checksum and length calculation NOT done.)

26 years agoAdded debugging of protocol state transitions.
Martin Mares [Tue, 7 Mar 2000 21:50:21 +0000 (21:50 +0000)] 
Added debugging of protocol state transitions.

26 years agoAdded configuration of default protocol debugging flags.
Martin Mares [Tue, 7 Mar 2000 21:50:03 +0000 (21:50 +0000)] 
Added configuration of default protocol debugging flags.

26 years agoNo longer echoes commands before sending them.
Martin Mares [Tue, 7 Mar 2000 21:04:36 +0000 (21:04 +0000)] 
No longer echoes commands before sending them.

26 years agoDBG calls debug() if defined(LOCAL_DEBUG) || defined(GLOBAL_DEBUG).
Martin Mares [Tue, 7 Mar 2000 21:04:14 +0000 (21:04 +0000)] 
DBG calls debug() if defined(LOCAL_DEBUG) || defined(GLOBAL_DEBUG).

26 years agoAdded protocol debugging flags (protocol.h: D_xxx), parsing of them
Martin Mares [Tue, 7 Mar 2000 20:49:48 +0000 (20:49 +0000)] 
Added protocol debugging flags (protocol.h: D_xxx), parsing of them
in configuration files and commands for manipulating them.

Current debug message policy:

   o  D_STATES, D_ROUTES and D_FILTERS are handled in generic code.
   o  Other debug flags should be handled in the protocols and whenever
      the flag is set, the corresponding messages should be printed
      using calls to log(L_TRACE, ...), each message prefixed with
      the name of the protocol instance. These messages should cover
      the whole normal operation of the protocol and should be useful
      for an administrator trying to understand what does the protocol
      behave on his network or who is attempting to diagnose network
      problems. If your messages don't fit to the categories I've defined,
      feel free to add your own ones (by adding them to protocol.h
      and on two places in nest/config.Y), but please try to keep the
      categories as general as possible (i.e., not tied to your protocol).
   o  Internal debug messages not interesting even to an experienced
      user should be printed by calling DBG() which is either void or
      a call to debug() depending on setting of the LOCAL_DEBUG symbol
      at the top of your source.
   o  Dump functions (proto->dump etc.) should call debug() to print
      their messages.
   o  If you are doing any internal consistency checks, use ASSERT
      or bug().
   o  Nobody shall ever call printf() or any other stdio functions.

Also please try to log any protocol errors you encounter and tag them
with the appropriate message category (usually L_REMOTE or L_AUTH). Always
carefully check contents of any message field you receive and verify all
IP addresses you work with (by calling ipa_classify() or by using the
neighbour cache if you want to check direct connectedness as well).

26 years agoRenamed command `shutdown' to `down', so that `s' can be used as an
Martin Mares [Tue, 7 Mar 2000 20:09:35 +0000 (20:09 +0000)] 
Renamed command `shutdown' to `down', so that `s' can be used as an
abbreviation for `show'.

26 years agoImplemented real slab allocator. If you suspect it from being buggy,
Martin Mares [Sun, 5 Mar 2000 22:48:30 +0000 (22:48 +0000)] 
Implemented real slab allocator. If you suspect it from being buggy,
just #define FAKE_SLAB at the top of lib/slab.c to bypass it.

26 years agoRenamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning.
Martin Mares [Sat, 4 Mar 2000 22:30:44 +0000 (22:30 +0000)] 
Renamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning.

26 years agoGarbage collector events and counters are now per table and one day
Martin Mares [Sat, 4 Mar 2000 22:21:06 +0000 (22:21 +0000)] 
Garbage collector events and counters are now per table and one day
they can be made configurable if it turns out to be useful.

26 years agoRemoved bogus comment.
Martin Mares [Sat, 4 Mar 2000 21:27:57 +0000 (21:27 +0000)] 
Removed bogus comment.

26 years agoFixed display of short continued messages in verbose mode.
Martin Mares [Sat, 4 Mar 2000 21:26:35 +0000 (21:26 +0000)] 
Fixed display of short continued messages in verbose mode.

26 years agoEnabled short continuations.
Martin Mares [Sat, 4 Mar 2000 21:26:19 +0000 (21:26 +0000)] 
Enabled short continuations.

26 years agoPlease *think* when defining operator priorities.
Martin Mares [Sat, 4 Mar 2000 21:19:10 +0000 (21:19 +0000)] 
Please *think* when defining operator priorities.

(-: num_of_parser_conflicts -= 42 :-)

26 years agoImplemented real attribute cache.
Martin Mares [Sat, 4 Mar 2000 21:09:14 +0000 (21:09 +0000)] 
Implemented real attribute cache.

26 years agoAvoid being exponential, do not allow ! =
Pavel Machek [Thu, 2 Mar 2000 22:23:18 +0000 (22:23 +0000)] 
Avoid being exponential, do not allow ! =

26 years agoRemoved RTF_EXTERIOR and RTF_TAGGED (unused).
Martin Mares [Wed, 1 Mar 2000 15:05:43 +0000 (15:05 +0000)] 
Removed RTF_EXTERIOR and RTF_TAGGED (unused).

26 years agoReimplemented neighbor cache. Now uses real hashing.
Martin Mares [Wed, 1 Mar 2000 14:51:47 +0000 (14:51 +0000)] 
Reimplemented neighbor cache. Now uses real hashing.

26 years agoAdded proto->hash_key which contains randomly generated hash key used
Martin Mares [Wed, 1 Mar 2000 14:49:07 +0000 (14:49 +0000)] 
Added proto->hash_key which contains randomly generated hash key used
for calculation of hash functions depending on proto.

26 years agoAdded type parameter to f_new_dynamic_attr.
Pavel Machek [Wed, 1 Mar 2000 14:42:59 +0000 (14:42 +0000)] 
Added type parameter to f_new_dynamic_attr.

26 years agotmp_attrs fixed.
Pavel Machek [Wed, 1 Mar 2000 14:31:31 +0000 (14:31 +0000)] 
tmp_attrs fixed.

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

26 years agoChanged comments regarding hash function.
Martin Mares [Wed, 1 Mar 2000 12:15:20 +0000 (12:15 +0000)] 
Changed comments regarding hash function.

26 years agoIP_PREC_INTERNET_CONTROL for IPv6 (see the comment).
Martin Mares [Wed, 1 Mar 2000 12:03:43 +0000 (12:03 +0000)] 
IP_PREC_INTERNET_CONTROL for IPv6 (see the comment).

26 years agoIf the user has specified identical preferences for instances of different
Martin Mares [Wed, 1 Mar 2000 11:48:11 +0000 (11:48 +0000)] 
If the user has specified identical preferences for instances of different
protocols, break the tie by comparing addresses, so we keep the ordering
unambiguous.

26 years agoMade `datetime' more user friendly. Now it should be a quoted string
Martin Mares [Wed, 1 Mar 2000 11:42:13 +0000 (11:42 +0000)] 
Made `datetime' more user friendly. Now it should be a quoted string
of type "dd-mm-yyyy".

26 years agoDynamic attributes are now declared in per-protocol grammar files instead
Martin Mares [Wed, 1 Mar 2000 11:32:23 +0000 (11:32 +0000)] 
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.

26 years agoDefined INVALID_TOKEN which is a token guaranteed to be never generated.
Martin Mares [Wed, 1 Mar 2000 11:30:16 +0000 (11:30 +0000)] 
Defined INVALID_TOKEN which is a token guaranteed to be never generated.