]> git.ipfire.org Git - thirdparty/bird.git/log
thirdparty/bird.git
25 years agort_prune: Don't kill routes from protocols in FS_FEEDING state. If debugging,
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.

25 years agoKEEPALIVE TIME ought to set keepalive time, not connect retry time :)
Martin Mares [Mon, 8 May 2000 22:32:17 +0000 (22:32 +0000)] 
KEEPALIVE TIME ought to set keepalive time, not connect retry time :)

25 years agoIn non-debug mode, set default logging to syslog only, not stderr.
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.

25 years agoFixed type in daemonization code.
Martin Mares [Mon, 8 May 2000 22:31:34 +0000 (22:31 +0000)] 
Fixed type in daemonization code.

25 years agoTypo in debug.
Ondrej Filip [Mon, 8 May 2000 22:28:42 +0000 (22:28 +0000)] 
Typo in debug.

25 years agoGrrr, useless debug.
Ondrej Filip [Mon, 8 May 2000 22:27:25 +0000 (22:27 +0000)] 
Grrr, useless debug.

25 years agoSmall typo.
Ondrej Filip [Mon, 8 May 2000 22:26:11 +0000 (22:26 +0000)] 
Small typo.

25 years agoBugfix in new neighbor allocation.
Ondrej Filip [Mon, 8 May 2000 22:24:22 +0000 (22:24 +0000)] 
Bugfix in new neighbor allocation.

25 years agoBetter debug output.
Ondrej Filip [Mon, 8 May 2000 22:10:10 +0000 (22:10 +0000)] 
Better debug output.

25 years agoNext hop calculation improved. (I ignored stub networks advertised by my
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.

25 years agoBetter logging. (%d->%I)
Ondrej Filip [Mon, 8 May 2000 22:02:45 +0000 (22:02 +0000)] 
Better logging. (%d->%I)

25 years agoSeveral simplifications of the fib iterators.
Martin Mares [Mon, 8 May 2000 19:11:49 +0000 (19:11 +0000)] 
Several simplifications of the fib iterators.

25 years agoWhen not debugging, daemonize automatically.
Martin Mares [Mon, 8 May 2000 19:10:36 +0000 (19:10 +0000)] 
When not debugging, daemonize automatically.

25 years agoImplemented `show route count' which is `show route stats' with
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.

25 years agoDon't crash when the socket gets closed between updates.
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 :)

25 years agoAdded `--disable-memcheck' switch which avoids linking of efence/dmalloc,
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.

25 years agoStop feeding the protocol if it suddenly shuts down.
Martin Mares [Mon, 8 May 2000 14:51:26 +0000 (14:51 +0000)] 
Stop feeding the protocol if it suddenly shuts down.

25 years agoUpdate `remains' counter correctly.
Martin Mares [Mon, 8 May 2000 14:32:19 +0000 (14:32 +0000)] 
Update `remains' counter correctly.

25 years agoUse PATH_CONTROL_SOCKET instead of tacking on "bird.ctl" manually.
Martin Mares [Mon, 8 May 2000 14:29:30 +0000 (14:29 +0000)] 
Use PATH_CONTROL_SOCKET instead of tacking on "bird.ctl" manually.

25 years agoForgot to add a spiky comment :)
Martin Mares [Mon, 8 May 2000 14:24:19 +0000 (14:24 +0000)] 
Forgot to add a spiky comment :)

25 years agoAutoconf is *evil*. The sysconfdir and similar variables are unusable in
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.

25 years agoUpdated TODO.
Martin Mares [Mon, 8 May 2000 14:18:33 +0000 (14:18 +0000)] 
Updated TODO.

25 years agoDebugging compilation is no longer default. This means that the configuration
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.

25 years ago`make install' now works.
Martin Mares [Mon, 8 May 2000 13:54:59 +0000 (13:54 +0000)] 
`make install' now works.

25 years agoThe bgp_list is gone. Incomming connections are now handled in a much
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.

25 years agoReally free attributes.
Martin Mares [Mon, 8 May 2000 13:12:14 +0000 (13:12 +0000)] 
Really free attributes.

25 years agoWhen reporting a bug(), call abort() instead of exit(), so that we
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.

25 years agoSome less socket error messages.
Martin Mares [Mon, 8 May 2000 12:37:39 +0000 (12:37 +0000)] 
Some less socket error messages.

25 years agoDon't generate corrupted packets when sending only route deletes.
Martin Mares [Mon, 8 May 2000 12:37:24 +0000 (12:37 +0000)] 
Don't generate corrupted packets when sending only route deletes.

25 years agoDon't report refused connections.
Martin Mares [Mon, 8 May 2000 12:09:10 +0000 (12:09 +0000)] 
Don't report refused connections.

25 years agoRemoved the `async' switch which was used for debugging only anyway.
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.

25 years agobugs_in_attr_cache_hashing--;
Martin Mares [Mon, 8 May 2000 11:40:30 +0000 (11:40 +0000)] 
bugs_in_attr_cache_hashing--;

25 years agoLink the instance to the global BGP list as soon as possible.
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.

25 years agoIncoming buffer must be at least 8KB long.
Martin Mares [Mon, 8 May 2000 11:02:53 +0000 (11:02 +0000)] 
Incoming buffer must be at least 8KB long.

25 years agoUse preferences properly.
Martin Mares [Mon, 8 May 2000 10:40:00 +0000 (10:40 +0000)] 
Use preferences properly.

25 years agoDon't crash when reporting deleted routes.
Martin Mares [Mon, 8 May 2000 10:38:51 +0000 (10:38 +0000)] 
Don't crash when reporting deleted routes.

Set preferences correctly.

25 years agoPreference is a configurable parameter.
Martin Mares [Mon, 8 May 2000 10:38:25 +0000 (10:38 +0000)] 
Preference is a configurable parameter.

25 years agoFixed `show route primary'.
Martin Mares [Mon, 8 May 2000 10:37:45 +0000 (10:37 +0000)] 
Fixed `show route primary'.

25 years agoDebugged printing and pruning of neighbor cache entries.
Martin Mares [Mon, 8 May 2000 10:13:59 +0000 (10:13 +0000)] 
Debugged printing and pruning of neighbor cache entries.

25 years agoDon't count networks with no routes (they are not displayed at all and
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).

25 years agoImplemented `show route <...> stats'.
Martin Mares [Sun, 7 May 2000 11:28:59 +0000 (11:28 +0000)] 
Implemented `show route <...> stats'.

25 years agoSquashed one bug in fib_rehash(). No more routes disappearing as if struct
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 :)

25 years agoKilled one more reference to RTS_RIP_EXT.
Martin Mares [Sun, 7 May 2000 11:27:23 +0000 (11:27 +0000)] 
Killed one more reference to RTS_RIP_EXT.

25 years agoSetup of incoming connection is now a separate function.
Martin Mares [Sun, 7 May 2000 10:41:45 +0000 (10:41 +0000)] 
Setup of incoming connection is now a separate function.

25 years agoAdded commands `show route protocol <p>' and `show route import <p>' which
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.

25 years agoIPv6 support compiles on both glibc 2.0 and 2.1.
Martin Mares [Sat, 6 May 2000 21:46:09 +0000 (21:46 +0000)] 
IPv6 support compiles on both glibc 2.0 and 2.1.

25 years agoCosmetic fixes.
Martin Mares [Sat, 6 May 2000 21:42:19 +0000 (21:42 +0000)] 
Cosmetic fixes.

25 years agoFixed silly bug in previous commit.
Martin Mares [Sat, 6 May 2000 21:31:41 +0000 (21:31 +0000)] 
Fixed silly bug in previous commit.

25 years agoWhen rte_update is called for an identical route, don't announce anything.
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.

25 years agoAdded skeleton Doc files for the whole developer's documentation.
Martin Mares [Fri, 5 May 2000 17:17:42 +0000 (17:17 +0000)] 
Added skeleton Doc files for the whole developer's documentation.

25 years agoConnected the `doc' subtree to global makefiles.
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.

25 years agoAdded a tool for processing of developer documentation.
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.

25 years agoFirst attempt at documenting configuration.
Pavel Machek [Fri, 5 May 2000 09:39:08 +0000 (09:39 +0000)] 
First attempt at documenting configuration.

25 years agoRemoved RTS_RIP_EXT.
Martin Mares [Thu, 4 May 2000 21:23:10 +0000 (21:23 +0000)] 
Removed RTS_RIP_EXT.

25 years ago#ifdef out lots of debugging information.
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.

25 years agoUpdated.
Martin Mares [Thu, 4 May 2000 20:49:45 +0000 (20:49 +0000)] 
Updated.

25 years agoUnused variables in IPv6 code.
Martin Mares [Thu, 4 May 2000 20:38:44 +0000 (20:38 +0000)] 
Unused variables in IPv6 code.

25 years agoRemoved a lot of unused variables.
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.)

25 years agoAdded --enable-ipv6 which tells configure to select the right configuration
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.

25 years agoSpelling fixes.
Pavel Machek [Thu, 4 May 2000 20:08:34 +0000 (20:08 +0000)] 
Spelling fixes.

25 years agoIPv6 BGP support finished. Also simplified the BGP stuff a bit.
Martin Mares [Thu, 4 May 2000 20:02:56 +0000 (20:02 +0000)] 
IPv6 BGP support finished.  Also simplified the BGP stuff a bit.

25 years agopxlen works even in IPv6 mode.
Martin Mares [Thu, 4 May 2000 20:02:19 +0000 (20:02 +0000)] 
pxlen works even in IPv6 mode.

25 years agoDisplay examples more nicely
Pavel Machek [Thu, 4 May 2000 10:03:53 +0000 (10:03 +0000)] 
Display examples more nicely

25 years agoSwitched off LOCAL_DEBUG.
Martin Mares [Thu, 4 May 2000 09:08:28 +0000 (09:08 +0000)] 
Switched off LOCAL_DEBUG.

25 years agoReceive-only IPv6 BGP.
Martin Mares [Thu, 4 May 2000 09:03:31 +0000 (09:03 +0000)] 
Receive-only IPv6 BGP.

25 years agoBugfix in Network lsa originating
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! ;-)

25 years agoTest for "flushing" added.
Ondrej Filip [Wed, 3 May 2000 22:36:12 +0000 (22:36 +0000)] 
Test for "flushing" added.

25 years agoCleanup of code. Some arguments of functions were useless.
Ondrej Filip [Wed, 3 May 2000 22:23:41 +0000 (22:23 +0000)] 
Cleanup of code. Some arguments of functions were useless.

25 years agoTesting if I can flush LSA from database.
Ondrej Filip [Wed, 3 May 2000 22:12:33 +0000 (22:12 +0000)] 
Testing if I can flush LSA from database.

25 years agoBetter rt and net originating.
Ondrej Filip [Wed, 3 May 2000 00:08:48 +0000 (00:08 +0000)] 
Better rt and net originating.

25 years agoOriginating of network LSA.
Ondrej Filip [Tue, 2 May 2000 23:09:44 +0000 (23:09 +0000)] 
Originating of network LSA.

25 years agoOSPF added to default protocols.
Ondrej Filip [Tue, 2 May 2000 22:34:35 +0000 (22:34 +0000)] 
OSPF added to default protocols.

25 years agoAdding InfTransDelay for outgoing lsa.
Ondrej Filip [Tue, 2 May 2000 22:31:48 +0000 (22:31 +0000)] 
Adding InfTransDelay for outgoing lsa.

25 years agoAging of lsa database added.
Ondrej Filip [Tue, 2 May 2000 22:19:41 +0000 (22:19 +0000)] 
Aging of lsa database added.

25 years agoRoute calculation for stub networks.
Ondrej Filip [Tue, 2 May 2000 19:27:57 +0000 (19:27 +0000)] 
Route calculation for stub networks.

25 years agoDefined format specifier `%M' which behaves as `%m', but takes the
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.

25 years agoFull protocol tracing.
Martin Mares [Tue, 2 May 2000 16:07:41 +0000 (16:07 +0000)] 
Full protocol tracing.

25 years agoIPv6 address classification fixes.
Martin Mares [Tue, 2 May 2000 15:21:51 +0000 (15:21 +0000)] 
IPv6 address classification fixes.

25 years agoHandle redistribution of unknown attributes correctly.
Martin Mares [Tue, 2 May 2000 12:51:39 +0000 (12:51 +0000)] 
Handle redistribution of unknown attributes correctly.

25 years agoMany small changes and bug fixes. Routing table calculation works.
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.

25 years agoMoved documentation to top of file, where it belongs.
Pavel Machek [Sun, 30 Apr 2000 18:47:48 +0000 (18:47 +0000)] 
Moved documentation to top of file, where it belongs.

25 years agoSync with nest's rt table and some minor improvements.
Ondrej Filip [Sun, 30 Apr 2000 11:31:05 +0000 (11:31 +0000)] 
Sync with nest's rt table and some minor improvements.

25 years agoRT calculation strongly simplified. Now, I don't need any
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. :-)

25 years agoMinor documentation update.
Pavel Machek [Sat, 29 Apr 2000 17:48:38 +0000 (17:48 +0000)] 
Minor documentation update.

25 years agoCalculating of nexts hop(s) added.
Ondrej Filip [Sat, 29 Apr 2000 15:57:14 +0000 (15:57 +0000)] 
Calculating of nexts hop(s) added.

25 years agoIpV6 now actually compiles.
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::;

25 years agoUpdated TODO.
Martin Mares [Fri, 28 Apr 2000 15:15:36 +0000 (15:15 +0000)] 
Updated TODO.

25 years agoThe `bgp_origin' attribute is now an enum.
Martin Mares [Fri, 28 Apr 2000 15:13:29 +0000 (15:13 +0000)] 
The `bgp_origin' attribute is now an enum.

25 years agoInclude CF_HDR section in keywords.h as well, so that protocol symbols
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.

25 years agoSplit CF_HDR section to CF_HDR (only includes) and CF_DEFINES (defines,
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.).

25 years agoKilled fixme: I already fixed it.
Pavel Machek [Fri, 28 Apr 2000 10:15:57 +0000 (10:15 +0000)] 
Killed fixme: I already fixed it.

25 years agoProvide rip_get_attr, how do I test it?
Pavel Machek [Fri, 28 Apr 2000 10:14:59 +0000 (10:14 +0000)] 
Provide rip_get_attr, how do I test it?

25 years agoAdd sample documentation to rip.
Pavel Machek [Fri, 28 Apr 2000 09:55:52 +0000 (09:55 +0000)] 
Add sample documentation to rip.

25 years agoInclude proto/rip/rip.c in documentation system.
Pavel Machek [Fri, 28 Apr 2000 09:55:36 +0000 (09:55 +0000)] 
Include proto/rip/rip.c in documentation system.

25 years agoCleanup of dead code + example documentation for two functions.
Pavel Machek [Fri, 28 Apr 2000 09:48:28 +0000 (09:48 +0000)] 
Cleanup of dead code + example documentation for two functions.

25 years agoDocumentation-generating tool taken from linux-2.3.99-pre6, and
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.

25 years agoSome more fixes for attributeless UPDATEs.
Martin Mares [Thu, 27 Apr 2000 22:40:19 +0000 (22:40 +0000)] 
Some more fixes for attributeless UPDATEs.

25 years agoFixed a couple of nasty CLI bugs which were triggered on long or multi-part
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!

25 years agoPath attribute can be missing if we process a packet with empty NLRI section.
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.

25 years agoEvent handlers no longer return re-queue flag. Instead of using it, just
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.