]>
git.ipfire.org Git - thirdparty/bird.git/log
Martin Mares [Sun, 7 May 2000 11:28:59 +0000 (11:28 +0000)]
Implemented `show route <...> stats'.
Martin Mares [Sun, 7 May 2000 11:28:34 +0000 (11:28 +0000)]
Squashed one bug in fib_rehash(). No more routes disappearing as if struct
by a lightning :)
Martin Mares [Sun, 7 May 2000 11:27:23 +0000 (11:27 +0000)]
Killed one more reference to RTS_RIP_EXT.
Martin Mares [Sun, 7 May 2000 10:41:45 +0000 (10:41 +0000)]
Setup of incoming connection is now a separate function.
Martin Mares [Sat, 6 May 2000 22:57:39 +0000 (22:57 +0000)]
Added commands `show route protocol <p>' and `show route import <p>' which
show the routing table as exported to the protocol given resp. as returned
from its import control hook.
To get handling of filtered extended attributes right (even in the old
`show route where <filter>' command), the get_route_info hook gets an
attribute list and all protocol specific rte attributes are contained
there as temporary ones. Updated RIP to do that.
Added ea_append() which joins two ea_list's.
Martin Mares [Sat, 6 May 2000 21:46:09 +0000 (21:46 +0000)]
IPv6 support compiles on both glibc 2.0 and 2.1.
Martin Mares [Sat, 6 May 2000 21:42:19 +0000 (21:42 +0000)]
Cosmetic fixes.
Martin Mares [Sat, 6 May 2000 21:31:41 +0000 (21:31 +0000)]
Fixed silly bug in previous commit.
Martin Mares [Sat, 6 May 2000 21:21:19 +0000 (21:21 +0000)]
When rte_update is called for an identical route, don't announce anything.
Please implement the rte_same hook in your protocols. It should just
compare your metrics stored directly in rte, the rest is done by the core.
Martin Mares [Fri, 5 May 2000 17:17:42 +0000 (17:17 +0000)]
Added skeleton Doc files for the whole developer's documentation.
Martin Mares [Fri, 5 May 2000 17:15:56 +0000 (17:15 +0000)]
Connected the `doc' subtree to global makefiles.
All documentation is built in obj/doc (resp. doc/ if you do a stand-alone build).
Use `make docs' to make the whole documentation or `make userdocs' resp.
`make progdocs' for user manual resp. developer's guide.
Martin Mares [Fri, 5 May 2000 17:14:44 +0000 (17:14 +0000)]
Added a tool for processing of developer documentation.
Everything is controlled by Doc files in source directories (see the
corresponding programmer's manual entry for the format and look
at Doc and lib/Doc for an example).
Currently it generates HTML indices and calls kernel-doc to generate
per-section HTML files.
Pavel Machek [Fri, 5 May 2000 09:39:08 +0000 (09:39 +0000)]
First attempt at documenting configuration.
Martin Mares [Thu, 4 May 2000 21:23:10 +0000 (21:23 +0000)]
Removed RTS_RIP_EXT.
Martin Mares [Thu, 4 May 2000 20:52:28 +0000 (20:52 +0000)]
#ifdef out lots of debugging information.
The long resource/routing table dump printed upon startup is gone now
and if you wish to see it, just send bird SIGUSR1 or use the `debug'
commands.
Martin Mares [Thu, 4 May 2000 20:49:45 +0000 (20:49 +0000)]
Updated.
Martin Mares [Thu, 4 May 2000 20:38:44 +0000 (20:38 +0000)]
Unused variables in IPv6 code.
Martin Mares [Thu, 4 May 2000 20:30:36 +0000 (20:30 +0000)]
Removed a lot of unused variables.
Please try compiling your code with --enable-warnings to see them. (The
unused parameter warnings are usually bogus, the unused variable ones
are very useful, but gcc is unable to control them separately.)
Martin Mares [Thu, 4 May 2000 20:18:46 +0000 (20:18 +0000)]
Added --enable-ipv6 which tells configure to select the right configuration
for IPv6 automatically.
Added --enable-warnings which turns off some more warnings.
Default protocol list now depends on --enable-ipv6.
Pavel Machek [Thu, 4 May 2000 20:08:34 +0000 (20:08 +0000)]
Spelling fixes.
Martin Mares [Thu, 4 May 2000 20:02:56 +0000 (20:02 +0000)]
IPv6 BGP support finished. Also simplified the BGP stuff a bit.
Martin Mares [Thu, 4 May 2000 20:02:19 +0000 (20:02 +0000)]
pxlen works even in IPv6 mode.
Pavel Machek [Thu, 4 May 2000 10:03:53 +0000 (10:03 +0000)]
Display examples more nicely
Martin Mares [Thu, 4 May 2000 09:08:28 +0000 (09:08 +0000)]
Switched off LOCAL_DEBUG.
Martin Mares [Thu, 4 May 2000 09:03:31 +0000 (09:03 +0000)]
Receive-only IPv6 BGP.
Ondrej Filip [Thu, 4 May 2000 01:23:03 +0000 (01:23 +0000)]
Bugfix in Network lsa originating
Bugfix in ntohlsab() and htonlsab()
For calculating of rt I use my own fib. I delete routes! ;-)
Ondrej Filip [Wed, 3 May 2000 22:36:12 +0000 (22:36 +0000)]
Test for "flushing" added.
Ondrej Filip [Wed, 3 May 2000 22:23:41 +0000 (22:23 +0000)]
Cleanup of code. Some arguments of functions were useless.
Ondrej Filip [Wed, 3 May 2000 22:12:33 +0000 (22:12 +0000)]
Testing if I can flush LSA from database.
Ondrej Filip [Wed, 3 May 2000 00:08:48 +0000 (00:08 +0000)]
Better rt and net originating.
Ondrej Filip [Tue, 2 May 2000 23:09:44 +0000 (23:09 +0000)]
Originating of network LSA.
Ondrej Filip [Tue, 2 May 2000 22:34:35 +0000 (22:34 +0000)]
OSPF added to default protocols.
Ondrej Filip [Tue, 2 May 2000 22:31:48 +0000 (22:31 +0000)]
Adding InfTransDelay for outgoing lsa.
Ondrej Filip [Tue, 2 May 2000 22:19:41 +0000 (22:19 +0000)]
Aging of lsa database added.
Ondrej Filip [Tue, 2 May 2000 19:27:57 +0000 (19:27 +0000)]
Route calculation for stub networks.
Martin Mares [Tue, 2 May 2000 16:10:04 +0000 (16:10 +0000)]
Defined format specifier `%M' which behaves as `%m', but takes the
error code as an argument.
Use it in socket hooks where we really shouldn't rely on errno containing
the right value or even existing.
Martin Mares [Tue, 2 May 2000 16:07:41 +0000 (16:07 +0000)]
Full protocol tracing.
Martin Mares [Tue, 2 May 2000 15:21:51 +0000 (15:21 +0000)]
IPv6 address classification fixes.
Martin Mares [Tue, 2 May 2000 12:51:39 +0000 (12:51 +0000)]
Handle redistribution of unknown attributes correctly.
Ondrej Filip [Sun, 30 Apr 2000 22:14:31 +0000 (22:14 +0000)]
Many small changes and bug fixes. Routing table calculation works.
I'm waiting for rt lookup to add stub networks.
Pavel Machek [Sun, 30 Apr 2000 18:47:48 +0000 (18:47 +0000)]
Moved documentation to top of file, where it belongs.
Ondrej Filip [Sun, 30 Apr 2000 11:31:05 +0000 (11:31 +0000)]
Sync with nest's rt table and some minor improvements.
Ondrej Filip [Sun, 30 Apr 2000 09:32:41 +0000 (09:32 +0000)]
RT calculation strongly simplified. Now, I don't need any
memory allocation. :-)
Pavel Machek [Sat, 29 Apr 2000 17:48:38 +0000 (17:48 +0000)]
Minor documentation update.
Ondrej Filip [Sat, 29 Apr 2000 15:57:14 +0000 (15:57 +0000)]
Calculating of nexts hop(s) added.
Pavel Machek [Sat, 29 Apr 2000 15:45:30 +0000 (15:45 +0000)]
IpV6 now actually compiles.
Mj, could you provide example of static config for ipv6 that is _not_
rejected by checks? I tried this and got rejected.
route 62:168::/32 via 62:169::;
route 1:2::/32 via 1:3::;
Martin Mares [Fri, 28 Apr 2000 15:15:36 +0000 (15:15 +0000)]
Updated TODO.
Martin Mares [Fri, 28 Apr 2000 15:13:29 +0000 (15:13 +0000)]
The `bgp_origin' attribute is now an enum.
Martin Mares [Fri, 28 Apr 2000 15:12:03 +0000 (15:12 +0000)]
Include CF_HDR section in keywords.h as well, so that protocol symbols
can be used in definition of ENUM's.
Martin Mares [Fri, 28 Apr 2000 15:11:10 +0000 (15:11 +0000)]
Split CF_HDR section to CF_HDR (only includes) and CF_DEFINES (defines,
C declarations etc.).
Pavel Machek [Fri, 28 Apr 2000 10:15:57 +0000 (10:15 +0000)]
Killed fixme: I already fixed it.
Pavel Machek [Fri, 28 Apr 2000 10:14:59 +0000 (10:14 +0000)]
Provide rip_get_attr, how do I test it?
Pavel Machek [Fri, 28 Apr 2000 09:55:52 +0000 (09:55 +0000)]
Add sample documentation to rip.
Pavel Machek [Fri, 28 Apr 2000 09:55:36 +0000 (09:55 +0000)]
Include proto/rip/rip.c in documentation system.
Pavel Machek [Fri, 28 Apr 2000 09:48:28 +0000 (09:48 +0000)]
Cleanup of dead code + example documentation for two functions.
Pavel Machek [Fri, 28 Apr 2000 09:48:01 +0000 (09:48 +0000)]
Documentation-generating tool taken from linux-2.3.99-pre6, and
makefile to actually use it.
Martin Mares [Thu, 27 Apr 2000 22:40:19 +0000 (22:40 +0000)]
Some more fixes for attributeless UPDATEs.
Martin Mares [Thu, 27 Apr 2000 22:35:08 +0000 (22:35 +0000)]
Fixed a couple of nasty CLI bugs which were triggered on long or multi-part
outputs. It took a whole evening to hunt them down, but now the CLI seems
to work fine.
Now I run three BGP connections with several thousand routes!
Martin Mares [Thu, 27 Apr 2000 22:31:11 +0000 (22:31 +0000)]
Path attribute can be missing if we process a packet with empty NLRI section.
Martin Mares [Thu, 27 Apr 2000 22:28:49 +0000 (22:28 +0000)]
Event handlers no longer return re-queue flag. Instead of using it, just
call ev_schedule() on the same handler which should work perfectly now.
Martin Mares [Thu, 27 Apr 2000 19:44:27 +0000 (19:44 +0000)]
Fixed stupid bug in as_path_format().
Martin Mares [Thu, 27 Apr 2000 19:41:10 +0000 (19:41 +0000)]
Handle connect errors correctly.
Ondrej Filip [Wed, 26 Apr 2000 20:16:36 +0000 (20:16 +0000)]
Stub networks done.
Ondrej Filip [Wed, 26 Apr 2000 14:03:56 +0000 (14:03 +0000)]
Nets are used before routers.
Martin Mares [Wed, 26 Apr 2000 13:26:31 +0000 (13:26 +0000)]
IBGP fixes.
Martin Mares [Wed, 26 Apr 2000 13:26:11 +0000 (13:26 +0000)]
Changed handling of incoming connections, so that we can send data
from the send hook without worrying about existence of socket buffers.
Also, don't forget to copy peer addresses.
Ondrej Filip [Wed, 26 Apr 2000 12:54:23 +0000 (12:54 +0000)]
Routing table calculation. Dijkstra done.
Martin Mares [Wed, 26 Apr 2000 12:33:37 +0000 (12:33 +0000)]
Removed several FIXME's.
Martin Mares [Wed, 26 Apr 2000 12:32:07 +0000 (12:32 +0000)]
Better formatting of router ID's.
Martin Mares [Wed, 26 Apr 2000 12:30:41 +0000 (12:30 +0000)]
Fixed several bugs in protocol state machine. Reconfigurations and
restarts of BGP seem to work now.
Pavel Machek [Wed, 26 Apr 2000 11:33:03 +0000 (11:33 +0000)]
Use right address for ripv6.
Pavel Machek [Wed, 26 Apr 2000 11:07:57 +0000 (11:07 +0000)]
Cleanup in preparation for ipv6.
Pavel Machek [Wed, 26 Apr 2000 09:38:07 +0000 (09:38 +0000)]
Small cleanup.
Pavel Machek [Wed, 26 Apr 2000 09:37:07 +0000 (09:37 +0000)]
Whitespace changes.
Pavel Machek [Wed, 26 Apr 2000 09:36:47 +0000 (09:36 +0000)]
filter_same should now work with path masks.
Pavel Machek [Wed, 26 Apr 2000 09:30:12 +0000 (09:30 +0000)]
Bugfix in i_same (comparing of paths still does not work).
Pavel Machek [Wed, 26 Apr 2000 08:03:50 +0000 (08:03 +0000)]
Added code for testing filters.
Pavel Machek [Wed, 26 Apr 2000 07:47:47 +0000 (07:47 +0000)]
Marked place where new enums belong.
Pavel Machek [Wed, 26 Apr 2000 07:31:45 +0000 (07:31 +0000)]
Startup renamed to __startup: it is internal function and mj already
uses word startup in other context.
Martin Mares [Tue, 25 Apr 2000 23:08:31 +0000 (23:08 +0000)]
Implemented automatic restart after error with all the timers needed.
Martin Mares [Tue, 25 Apr 2000 23:08:03 +0000 (23:08 +0000)]
Avoid printing of error messages on Cease notifications.
Martin Mares [Tue, 25 Apr 2000 23:07:47 +0000 (23:07 +0000)]
Allow sk_close(NULL).
Martin Mares [Tue, 25 Apr 2000 22:01:19 +0000 (22:01 +0000)]
Randomize timers properly.
Martin Mares [Tue, 25 Apr 2000 21:58:17 +0000 (21:58 +0000)]
Support dynamic reconfiguration.
Martin Mares [Tue, 25 Apr 2000 21:56:46 +0000 (21:56 +0000)]
Don't forget to set filter pointers in struct proto when reconfiguring.
Martin Mares [Tue, 25 Apr 2000 21:31:15 +0000 (21:31 +0000)]
Use the same attribute names as in filters.
Martin Mares [Tue, 25 Apr 2000 21:21:52 +0000 (21:21 +0000)]
When sending BGP attributes, re-create the flags, so that attributes
added by filters which get the flags wrong are fixed automagically.
Martin Mares [Tue, 25 Apr 2000 21:13:25 +0000 (21:13 +0000)]
Better reporting of both local and remote errors.
Martin Mares [Tue, 25 Apr 2000 13:32:17 +0000 (13:32 +0000)]
Real parsing of BGP OPEN options including capability
negotiation.
Martin Mares [Fri, 21 Apr 2000 13:01:28 +0000 (13:01 +0000)]
LOCAL_PREF is now always present and exported over all ibgp connections [draft]
Allow setting of address of the local end of the TCP connection.
Several bug fixes.
Martin Mares [Fri, 21 Apr 2000 12:25:35 +0000 (12:25 +0000)]
If no NLRI's are present in an UPDATE message, parse the attributes, but
don't check presence of mandatory attributes. [draft-09]
Martin Mares [Thu, 20 Apr 2000 23:05:41 +0000 (23:05 +0000)]
IPv6 compiles with glibc 2.1.
Martin Mares [Thu, 20 Apr 2000 22:55:32 +0000 (22:55 +0000)]
Use xmalloc() instead of malloc().
Martin Mares [Thu, 20 Apr 2000 22:54:22 +0000 (22:54 +0000)]
Synced to draft-ietf-idr-bgp4-09.
Martin Mares [Thu, 20 Apr 2000 22:34:50 +0000 (22:34 +0000)]
Fixed reporting of unknown options.
Pavel Machek [Thu, 20 Apr 2000 10:25:51 +0000 (10:25 +0000)]
Create syntax sugar for add/delete/prepend, so xyzzy.prepend(123) is
possible. That means that milestone 3 was reached.
Pavel Machek [Thu, 20 Apr 2000 10:24:41 +0000 (10:24 +0000)]
Test new syntax of add() and delete().
Martin Mares [Wed, 19 Apr 2000 13:54:35 +0000 (13:54 +0000)]
Temporarily ignore unknown options.
Martin Mares [Wed, 19 Apr 2000 13:54:17 +0000 (13:54 +0000)]
The ATOMIC_AGGREGATE parameter is optional transitive.
Martin Mares [Wed, 19 Apr 2000 13:28:56 +0000 (13:28 +0000)]
Delay fetching of router ID.