]>
git.ipfire.org Git - thirdparty/bird.git/log
Martin Mares [Mon, 8 May 2000 22:33:02 +0000 (22:33 +0000)]
rt_prune: Don't kill routes from protocols in FS_FEEDING state. If debugging,
call fib_check() on the table's fib.
Martin Mares [Mon, 8 May 2000 22:32:17 +0000 (22:32 +0000)]
KEEPALIVE TIME ought to set keepalive time, not connect retry time :)
Martin Mares [Mon, 8 May 2000 22:31:58 +0000 (22:31 +0000)]
In non-debug mode, set default logging to syslog only, not stderr.
Martin Mares [Mon, 8 May 2000 22:31:34 +0000 (22:31 +0000)]
Fixed type in daemonization code.
Ondrej Filip [Mon, 8 May 2000 22:28:42 +0000 (22:28 +0000)]
Typo in debug.
Ondrej Filip [Mon, 8 May 2000 22:27:25 +0000 (22:27 +0000)]
Grrr, useless debug.
Ondrej Filip [Mon, 8 May 2000 22:26:11 +0000 (22:26 +0000)]
Small typo.
Ondrej Filip [Mon, 8 May 2000 22:24:22 +0000 (22:24 +0000)]
Bugfix in new neighbor allocation.
Ondrej Filip [Mon, 8 May 2000 22:10:10 +0000 (22:10 +0000)]
Better debug output.
Ondrej Filip [Mon, 8 May 2000 22:03:29 +0000 (22:03 +0000)]
Next hop calculation improved. (I ignored stub networks advertised by my
neighbors.
Ondrej Filip [Mon, 8 May 2000 22:02:45 +0000 (22:02 +0000)]
Better logging. (%d->%I)
Martin Mares [Mon, 8 May 2000 19:11:49 +0000 (19:11 +0000)]
Several simplifications of the fib iterators.
Martin Mares [Mon, 8 May 2000 19:10:36 +0000 (19:10 +0000)]
When not debugging, daemonize automatically.
Martin Mares [Mon, 8 May 2000 14:58:00 +0000 (14:58 +0000)]
Implemented `show route count' which is `show route stats' with
exception that it doesn't print the routes themselves.
Martin Mares [Mon, 8 May 2000 14:53:22 +0000 (14:53 +0000)]
Don't crash when the socket gets closed between updates.
Also, this time not only update `remains', but update it right :)
Martin Mares [Mon, 8 May 2000 14:51:57 +0000 (14:51 +0000)]
Added `--disable-memcheck' switch which avoids linking of efence/dmalloc,
so that we can run in debugging mode with large routing tables.
Martin Mares [Mon, 8 May 2000 14:51:26 +0000 (14:51 +0000)]
Stop feeding the protocol if it suddenly shuts down.
Martin Mares [Mon, 8 May 2000 14:32:19 +0000 (14:32 +0000)]
Update `remains' counter correctly.
Martin Mares [Mon, 8 May 2000 14:29:30 +0000 (14:29 +0000)]
Use PATH_CONTROL_SOCKET instead of tacking on "bird.ctl" manually.
Martin Mares [Mon, 8 May 2000 14:24:19 +0000 (14:24 +0000)]
Forgot to add a spiky comment :)
Martin Mares [Mon, 8 May 2000 14:19:47 +0000 (14:19 +0000)]
Autoconf is *evil*. The sysconfdir and similar variables are unusable in
C includes as they contain substitutions specific to make.
Worked around by creating sysconf/paths.h which is created from
the Makefile instead of by the configure script.
Martin Mares [Mon, 8 May 2000 14:18:33 +0000 (14:18 +0000)]
Updated TODO.
Martin Mares [Mon, 8 May 2000 13:56:11 +0000 (13:56 +0000)]
Debugging compilation is no longer default. This means that the configuration
file is expected in $prefix/etc etc.
Use --enable-debug to request debugging.
Martin Mares [Mon, 8 May 2000 13:54:59 +0000 (13:54 +0000)]
`make install' now works.
Martin Mares [Mon, 8 May 2000 13:26:30 +0000 (13:26 +0000)]
The bgp_list is gone. Incomming connections are now handled in a much
more straightforward manner by scanning the active configuration for
matching protocols.
Martin Mares [Mon, 8 May 2000 13:12:14 +0000 (13:12 +0000)]
Really free attributes.
Martin Mares [Mon, 8 May 2000 12:38:00 +0000 (12:38 +0000)]
When reporting a bug(), call abort() instead of exit(), so that we
can analyse the core.
Martin Mares [Mon, 8 May 2000 12:37:39 +0000 (12:37 +0000)]
Some less socket error messages.
Martin Mares [Mon, 8 May 2000 12:37:24 +0000 (12:37 +0000)]
Don't generate corrupted packets when sending only route deletes.
Martin Mares [Mon, 8 May 2000 12:09:10 +0000 (12:09 +0000)]
Don't report refused connections.
Martin Mares [Mon, 8 May 2000 12:05:55 +0000 (12:05 +0000)]
Removed the `async' switch which was used for debugging only anyway.
Don't moan when netlink reports lost packets.
Martin Mares [Mon, 8 May 2000 11:40:30 +0000 (11:40 +0000)]
bugs_in_attr_cache_hashing--;
Martin Mares [Mon, 8 May 2000 11:04:22 +0000 (11:04 +0000)]
Link the instance to the global BGP list as soon as possible.
Martin Mares [Mon, 8 May 2000 11:02:53 +0000 (11:02 +0000)]
Incoming buffer must be at least 8KB long.
Martin Mares [Mon, 8 May 2000 10:40:00 +0000 (10:40 +0000)]
Use preferences properly.
Martin Mares [Mon, 8 May 2000 10:38:51 +0000 (10:38 +0000)]
Don't crash when reporting deleted routes.
Set preferences correctly.
Martin Mares [Mon, 8 May 2000 10:38:25 +0000 (10:38 +0000)]
Preference is a configurable parameter.
Martin Mares [Mon, 8 May 2000 10:37:45 +0000 (10:37 +0000)]
Fixed `show route primary'.
Martin Mares [Mon, 8 May 2000 10:13:59 +0000 (10:13 +0000)]
Debugged printing and pruning of neighbor cache entries.
Martin Mares [Sun, 7 May 2000 11:32:34 +0000 (11:32 +0000)]
Don't count networks with no routes (they are not displayed at all and
will be removed during the next garbage collection pass).
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.