]> git.ipfire.org Git - thirdparty/bird.git/log
thirdparty/bird.git
25 years agoMinor updates by Pavel.
Martin Mares [Wed, 12 Apr 2000 13:55:53 +0000 (13:55 +0000)] 
Minor updates by Pavel.

25 years agoAttribute type hack.
Martin Mares [Wed, 12 Apr 2000 13:55:30 +0000 (13:55 +0000)] 
Attribute type hack.

25 years agoFilters now know type path. It is possible to declare variable of type
Pavel Machek [Wed, 12 Apr 2000 13:31:39 +0000 (13:31 +0000)] 
Filters now know type path. It is possible to declare variable of type
path, but it is not possible to write constant of type path.

It should be possible to print paths and match them.

25 years agoIntroduced `ARRAY_SIZE' macro to replace all the sizeof(a)/sizeof(*a) constructs.
Martin Mares [Wed, 12 Apr 2000 13:21:23 +0000 (13:21 +0000)] 
Introduced `ARRAY_SIZE' macro to replace all the sizeof(a)/sizeof(*a) constructs.

25 years agoRenamed f_path to f_path_mask -- which is what it really is. Use
Pavel Machek [Wed, 12 Apr 2000 13:07:53 +0000 (13:07 +0000)] 
Renamed f_path to f_path_mask -- which is what it really is. Use
linklist instead of array of signed integers for path mask.

25 years agoPath masks are needed for filters.
Pavel Machek [Wed, 12 Apr 2000 12:49:53 +0000 (12:49 +0000)] 
Path masks are needed for filters.

25 years agoBGP_PATH masks now actually work as data type.
Pavel Machek [Wed, 12 Apr 2000 12:10:37 +0000 (12:10 +0000)] 
BGP_PATH masks now actually work as data type.

25 years agoPath printing is now much nicer: not having to put it backward
Pavel Machek [Wed, 12 Apr 2000 10:34:45 +0000 (10:34 +0000)] 
Path printing is now much nicer: not having to put it backward
simplifies it. (Sorry for previous commit, cvs is naughty).

25 years agoPath printing is now much nicer.
Pavel Machek [Wed, 12 Apr 2000 10:34:02 +0000 (10:34 +0000)] 
Path printing is now much nicer.

25 years agoFix comments.
Martin Mares [Mon, 10 Apr 2000 22:08:32 +0000 (22:08 +0000)] 
Fix comments.

25 years agoCommit fixes.
Pavel Machek [Mon, 10 Apr 2000 16:36:40 +0000 (16:36 +0000)] 
Commit fixes.

25 years agoFunctions for matching paths added, tested lightly.
Pavel Machek [Mon, 10 Apr 2000 15:07:43 +0000 (15:07 +0000)] 
Functions for matching paths added, tested lightly.

Functions for working with community lists added, they compile.

This should not be definitive place for this stuff.

25 years agoAs usuall, most important info was missing.
Pavel Machek [Mon, 10 Apr 2000 14:45:00 +0000 (14:45 +0000)] 
As usuall, most important info was missing.

25 years agoImplemented outgoing attribute cache.
Martin Mares [Mon, 10 Apr 2000 12:39:51 +0000 (12:39 +0000)] 
Implemented outgoing attribute cache.

25 years agoExport ea_same() and ea_hash().
Martin Mares [Mon, 10 Apr 2000 12:39:29 +0000 (12:39 +0000)] 
Export ea_same() and ea_hash().

25 years agoDropped CPU_NEEDS_ALIGN_* as unaligned.h no longer uses them.
Martin Mares [Mon, 10 Apr 2000 12:38:15 +0000 (12:38 +0000)] 
Dropped CPU_NEEDS_ALIGN_* as unaligned.h no longer uses them.

25 years agoUse neighbor cache to track direct route to the peer or multihop destination.
Martin Mares [Mon, 10 Apr 2000 11:21:40 +0000 (11:21 +0000)] 
Use neighbor cache to track direct route to the peer or multihop destination.

Calculate next_hop properly based on the local address we get from the
neighbor entry.

25 years agoFix stupid bug in neighbor cache.
Martin Mares [Mon, 10 Apr 2000 10:40:00 +0000 (10:40 +0000)] 
Fix stupid bug in neighbor cache.

25 years agoMore BGP progress...
Martin Mares [Sun, 9 Apr 2000 22:05:02 +0000 (22:05 +0000)] 
More BGP progress...

For Pavel: You can use bgp_path_prepend() for prepending AS numbers to AS paths.

25 years agoBGP doesn't need any inline attributes.
Martin Mares [Sun, 9 Apr 2000 22:04:12 +0000 (22:04 +0000)] 
BGP doesn't need any inline attributes.

25 years agoFix of comment.
Pavel Machek [Fri, 7 Apr 2000 09:02:17 +0000 (09:02 +0000)] 
Fix of comment.

25 years agoLSA flooding done.
Ondrej Filip [Wed, 5 Apr 2000 00:51:25 +0000 (00:51 +0000)] 
LSA flooding done.

25 years agoSmall clean up. (Duplicate #defines.)
Ondrej Filip [Tue, 4 Apr 2000 22:27:19 +0000 (22:27 +0000)] 
Small clean up. (Duplicate #defines.)

25 years ago"Bug in hashing" fixed. Ehm it was bug in lsrql node removing.
Ondrej Filip [Tue, 4 Apr 2000 22:22:08 +0000 (22:22 +0000)] 
"Bug in hashing" fixed. Ehm it was bug in lsrql node removing.

25 years agoLSupdate processing improved. Now there is some bug in hashing. :-(
Ondrej Filip [Tue, 4 Apr 2000 15:55:55 +0000 (15:55 +0000)] 
LSupdate processing improved. Now there is some bug in hashing. :-(

25 years agoFlooding work continues.
Ondrej Filip [Tue, 4 Apr 2000 00:32:17 +0000 (00:32 +0000)] 
Flooding work continues.

25 years agoMinor change in area list. Now I use MJ's lists.
Ondrej Filip [Mon, 3 Apr 2000 22:31:07 +0000 (22:31 +0000)] 
Minor change in area list. Now I use MJ's lists.

25 years agoWork on lsupdates continues. Some checksum cleanup.
Ondrej Filip [Sun, 2 Apr 2000 20:41:33 +0000 (20:41 +0000)] 
Work on lsupdates continues. Some checksum cleanup.

25 years agolsa_cmp moved into lsalib.c
Ondrej Filip [Sun, 2 Apr 2000 19:04:23 +0000 (19:04 +0000)] 
lsa_cmp moved into lsalib.c

25 years agoFormatting of dynamic attributes (except for paths and communities which
Martin Mares [Sat, 1 Apr 2000 10:21:11 +0000 (10:21 +0000)] 
Formatting of dynamic attributes (except for paths and communities which
will be added soon).

25 years agoRIP: Set attribute class.
Martin Mares [Sat, 1 Apr 2000 10:20:12 +0000 (10:20 +0000)] 
RIP: Set attribute class.

25 years agoChanged initialization of protocol list -- now we call proto_build() instead
Martin Mares [Sat, 1 Apr 2000 10:19:47 +0000 (10:19 +0000)] 
Changed initialization of protocol list -- now we call proto_build() instead
of calling the protocols manually.

Implemented printing of dynamic attributes in `show route all'.

Each protocol can now register its own attribute class (protocol->attr_class,
set to EAP_xxx) and also a callback for naming and formatting of attributes.
The callback can return one of the following results:

GA_UNKNOWN Attribute not recognized.
GA_NAME Attribute name recognized and put to the buffer,
generic code should format the value.
GA_FULL Both attribute name and value put to the buffer.

Please update protocols generating dynamic attributes to provide
the attr_class and formatting hook.

25 years agoBGP now handles incoming routes (IPv4 only).
Martin Mares [Sat, 1 Apr 2000 09:17:33 +0000 (09:17 +0000)] 
BGP now handles incoming routes (IPv4 only).

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

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

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

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

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

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

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

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

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

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

25 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. :-(

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

25 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 :)

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

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

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

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

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

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

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

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

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

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

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