]>
git.ipfire.org Git - thirdparty/bird.git/log
Martin Mares [Wed, 12 Apr 2000 13:55:53 +0000 (13:55 +0000)]
Minor updates by Pavel.
Martin Mares [Wed, 12 Apr 2000 13:55:30 +0000 (13:55 +0000)]
Attribute type hack.
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.
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.
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.
Pavel Machek [Wed, 12 Apr 2000 12:49:53 +0000 (12:49 +0000)]
Path masks are needed for filters.
Pavel Machek [Wed, 12 Apr 2000 12:10:37 +0000 (12:10 +0000)]
BGP_PATH masks now actually work as data type.
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).
Pavel Machek [Wed, 12 Apr 2000 10:34:02 +0000 (10:34 +0000)]
Path printing is now much nicer.
Martin Mares [Mon, 10 Apr 2000 22:08:32 +0000 (22:08 +0000)]
Fix comments.
Pavel Machek [Mon, 10 Apr 2000 16:36:40 +0000 (16:36 +0000)]
Commit fixes.
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.
Pavel Machek [Mon, 10 Apr 2000 14:45:00 +0000 (14:45 +0000)]
As usuall, most important info was missing.
Martin Mares [Mon, 10 Apr 2000 12:39:51 +0000 (12:39 +0000)]
Implemented outgoing attribute cache.
Martin Mares [Mon, 10 Apr 2000 12:39:29 +0000 (12:39 +0000)]
Export ea_same() and ea_hash().
Martin Mares [Mon, 10 Apr 2000 12:38:15 +0000 (12:38 +0000)]
Dropped CPU_NEEDS_ALIGN_* as unaligned.h no longer uses them.
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.
Martin Mares [Mon, 10 Apr 2000 10:40:00 +0000 (10:40 +0000)]
Fix stupid bug in neighbor cache.
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.
Martin Mares [Sun, 9 Apr 2000 22:04:12 +0000 (22:04 +0000)]
BGP doesn't need any inline attributes.
Pavel Machek [Fri, 7 Apr 2000 09:02:17 +0000 (09:02 +0000)]
Fix of comment.
Ondrej Filip [Wed, 5 Apr 2000 00:51:25 +0000 (00:51 +0000)]
LSA flooding done.
Ondrej Filip [Tue, 4 Apr 2000 22:27:19 +0000 (22:27 +0000)]
Small clean up. (Duplicate #defines.)
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.
Ondrej Filip [Tue, 4 Apr 2000 15:55:55 +0000 (15:55 +0000)]
LSupdate processing improved. Now there is some bug in hashing. :-(
Ondrej Filip [Tue, 4 Apr 2000 00:32:17 +0000 (00:32 +0000)]
Flooding work continues.
Ondrej Filip [Mon, 3 Apr 2000 22:31:07 +0000 (22:31 +0000)]
Minor change in area list. Now I use MJ's lists.
Ondrej Filip [Sun, 2 Apr 2000 20:41:33 +0000 (20:41 +0000)]
Work on lsupdates continues. Some checksum cleanup.
Ondrej Filip [Sun, 2 Apr 2000 19:04:23 +0000 (19:04 +0000)]
lsa_cmp moved into lsalib.c
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).
Martin Mares [Sat, 1 Apr 2000 10:20:12 +0000 (10:20 +0000)]
RIP: Set attribute class.
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.
Martin Mares [Sat, 1 Apr 2000 09:17:33 +0000 (09:17 +0000)]
BGP now handles incoming routes (IPv4 only).
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.
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.
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.
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.
Martin Mares [Fri, 31 Mar 2000 23:40:00 +0000 (23:40 +0000)]
Removal of useless includes continues...
Martin Mares [Fri, 31 Mar 2000 23:35:59 +0000 (23:35 +0000)]
Removed lots of superfluous includes.
Use debug() instead of printf().
Martin Mares [Fri, 31 Mar 2000 23:33:03 +0000 (23:33 +0000)]
Use bsprintf() instead of sprintf().
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.
Martin Mares [Fri, 31 Mar 2000 23:21:37 +0000 (23:21 +0000)]
Parsing of BGP attributes.
Martin Mares [Fri, 31 Mar 2000 23:21:19 +0000 (23:21 +0000)]
Fixed bug in processing of dynamic attributes.
Ondrej Filip [Fri, 31 Mar 2000 01:40:12 +0000 (01:40 +0000)]
Checksum changes. Bug is still NOT fixed. :-(
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.
Ondrej Filip [Fri, 31 Mar 2000 00:21:41 +0000 (00:21 +0000)]
Sending of lspd as responce to lsreq done.
Ondrej Filip [Thu, 30 Mar 2000 20:18:51 +0000 (20:18 +0000)]
LSA structure changes. (Len added.)
Ondrej Filip [Thu, 30 Mar 2000 20:00:42 +0000 (20:00 +0000)]
Skeleton structures and files added.
Ondrej Filip [Thu, 30 Mar 2000 19:37:26 +0000 (19:37 +0000)]
Add hashing to link state request list.
Ondrej Filip [Thu, 30 Mar 2000 19:21:17 +0000 (19:21 +0000)]
Minor changes.
Martin Mares [Thu, 30 Mar 2000 18:44:23 +0000 (18:44 +0000)]
Basic analysis of UPDATE packets.
Martin Mares [Thu, 30 Mar 2000 17:39:48 +0000 (17:39 +0000)]
Connection state machine works.
Ondrej Filip [Thu, 30 Mar 2000 16:22:58 +0000 (16:22 +0000)]
Better list manipulation.
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.
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.
Martin Mares [Thu, 30 Mar 2000 08:50:46 +0000 (08:50 +0000)]
Use FF_FORCE_TMPATTR where appropriate.
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.
Ondrej Filip [Thu, 30 Mar 2000 00:18:59 +0000 (00:18 +0000)]
LSreq initial work.
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.
Ondrej Filip [Wed, 29 Mar 2000 17:51:40 +0000 (17:51 +0000)]
Slave bug fix.
Ondrej Filip [Wed, 29 Mar 2000 17:18:06 +0000 (17:18 +0000)]
Many changes in dbdes sending & receiving. EXDONE caused.
Ondrej Filip [Wed, 29 Mar 2000 13:02:58 +0000 (13:02 +0000)]
RXMT timer handling bug fix.
Ondrej Filip [Wed, 29 Mar 2000 12:47:07 +0000 (12:47 +0000)]
Some FIXME added.
Ondrej Filip [Wed, 29 Mar 2000 12:45:37 +0000 (12:45 +0000)]
Sending of DBdes bug fixed.
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....
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.
Pavel Machek [Wed, 29 Mar 2000 08:58:06 +0000 (08:58 +0000)]
Cross-protocol issues solved better
Ondrej Filip [Wed, 29 Mar 2000 00:34:28 +0000 (00:34 +0000)]
DBdes sending/receiving changes.
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.
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.
Pavel Machek [Sun, 26 Mar 2000 21:31:57 +0000 (21:31 +0000)]
I broke compilation. Sorry.
Pavel Machek [Sun, 26 Mar 2000 18:01:27 +0000 (18:01 +0000)]
Split horizont done right.
Locks done better.
Pavel Machek [Sun, 26 Mar 2000 18:00:45 +0000 (18:00 +0000)]
if_connected is usefull outside of neighbour cache.
Pavel Machek [Fri, 24 Mar 2000 10:08:20 +0000 (10:08 +0000)]
FIXME was actually already resolved
Pavel Machek [Thu, 23 Mar 2000 12:08:40 +0000 (12:08 +0000)]
Minor change to make code more readable.
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.
Pavel Machek [Wed, 22 Mar 2000 14:23:40 +0000 (14:23 +0000)]
Format of dates changed, so rip authentication is now commented out.
Martin Mares [Tue, 21 Mar 2000 15:53:50 +0000 (15:53 +0000)]
Construction of BGP packets.
Martin Mares [Tue, 21 Mar 2000 15:51:30 +0000 (15:51 +0000)]
Wrote real version of unaligned data access functions (needed for BGP).
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.
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.
Martin Mares [Mon, 20 Mar 2000 20:52:18 +0000 (20:52 +0000)]
Added missing newline in debug output.
Martin Mares [Mon, 20 Mar 2000 18:45:03 +0000 (18:45 +0000)]
Define new data types for BGP.
Martin Mares [Sun, 19 Mar 2000 22:09:07 +0000 (22:09 +0000)]
Bare skeleton of the BGP.
Martin Mares [Sun, 19 Mar 2000 21:59:24 +0000 (21:59 +0000)]
Protocol tracing: Don't dump core on filtered out routes.
Pavel Machek [Mon, 13 Mar 2000 13:31:00 +0000 (13:31 +0000)]
Cleanup, mostly debugging messages.
Martin Mares [Sun, 12 Mar 2000 23:04:04 +0000 (23:04 +0000)]
Add internal commands of the client to the command list.
Martin Mares [Sun, 12 Mar 2000 22:55:09 +0000 (22:55 +0000)]
Commands which failed expansions are to be stored to history, too.
Martin Mares [Sun, 12 Mar 2000 22:53:05 +0000 (22:53 +0000)]
Fixed a bunch of FIXME's by removing them :)
Martin Mares [Sun, 12 Mar 2000 22:44:54 +0000 (22:44 +0000)]
Made `show status' show uptime and time of last reconfiguration.
Martin Mares [Sun, 12 Mar 2000 22:43:13 +0000 (22:43 +0000)]
Added tm_format_datetime().
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.
Martin Mares [Sun, 12 Mar 2000 21:58:51 +0000 (21:58 +0000)]
Yet another LOCAL_DEBUG turned off.
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.
Martin Mares [Sun, 12 Mar 2000 21:47:25 +0000 (21:47 +0000)]
Use do { } while(0) instead of empty DBG if not debugging.
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().
Martin Mares [Sun, 12 Mar 2000 20:50:35 +0000 (20:50 +0000)]
Added tracing of interface events.
Martin Mares [Sun, 12 Mar 2000 20:49:08 +0000 (20:49 +0000)]
Oops, got `<' and `>' markers in trace output reversed.
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.
Pavel Machek [Fri, 10 Mar 2000 20:21:12 +0000 (20:21 +0000)]
Fix <=, >=, !=