summaryrefslogtreecommitdiff
path: root/nest/rt-table.c
AgeCommit message (Collapse)Author
2012-04-28Some fixes in route export limits.Ondrej Zajicek
2012-04-27Some minor fixes.Ondrej Zajicek
2012-04-24Implements generalized export limits.Ondrej Zajicek
And also fixes some minor bugs in limits.
2012-04-21Fixes in generalized import limits.Ondrej Zajicek
2012-04-15Implements generalized import hooks.Ondrej Zajicek
Thanks to Alexander V. Chernikov for the original patch.
2012-03-30Merge branch 'soon'Ondrej Zajicek
Conflicts: nest/proto.c nest/rt-table.c
2012-03-28Fixes responsiveness for protocol shutdown.Ondrej Zajicek
When a protocol went down, all its routes were flushed in one step, that may block BIRD for too much time. The patch fixes that by limiting maximum number of routes flushed in one step.
2012-03-15Better support for multitable protocols.Ondrej Zajicek
The nest-protocol interaction is changed to better handle multitable protocols. Multitable protocols now declare that by 'multitable' field, which tells nest that a protocol handles things related to proto-rtable interaction (table locking, announce hook adding, reconfiguration of filters) itself. Filters and stats are moved to announce hooks, a protocol could have different filters and stats to different tables. The patch is based on one from Alexander V. Chernikov, thanks.
2011-12-22Implements deterministic MED handling.Ondrej Zajicek
Thanks to Alexander V. Chernikov for many suggestions.
2011-10-06Signal problems with route installation to kernel tables.Ondrej Zajicek
2011-05-21Fixes a bug with setting preference during show route cmd.Ondrej Zajicek
If show route cmd was used with a filter that changed preference, BIRD crashed.
2011-05-05Compilation was failing without OSPF or RIP protocol - FIXED.Ondrej Filip
2011-03-29Fixes a nasty bug in OSPF.Ondrej Zajicek
Sending malformed network prefixes in LSAs causes OSPF to crash just after the LSA is propagated to the other routers.
2010-12-07Core multipath support.Ondrej Zajicek
2010-09-08Fixes a one byte buffer overflow.Ondrej Zajicek
2010-08-03Do not allow interdependent recursive routes.Ondrej Zajicek
2010-08-02Adds igp_metric attribute.Ondrej Zajicek
2010-07-31Implements IGP metric comparison for BGP routes.Ondrej Zajicek
2010-07-28Use link-local addresses in recursive next hops for IPv6 BGP.Ondrej Zajicek
2010-07-27Hostcache should use trie to filter relevant route changes.Ondrej Zajicek
2010-07-26For hostentry cache, replace FIB with a hash table using (IP, dep table) as ↵Ondrej Zajicek
a key.
2010-07-22Fixes a buffer overflow in TX code of IPv6 BGP.Ondrej Zajicek
2010-07-05Implements hostcache and recursive next hops.Ondrej Zajicek
Hostcache is a structure for monitoring changes in a routing table that is used for routes with dynamic/recursive next hops. This is needed for proper iBGP next hop handling.
2010-06-02Implements command that shows memory usage.Ondrej Zajicek
2010-04-04Restrict export of device routes to the kernel protocol.Ondrej Zajicek
In usual configuration, such export is already restricted with the aid of the direct protocol but there are some races that can circumvent it. This makes it harder to break kernel device routes. Also adds an option to disable this restriction.
2010-03-24Update lastmod in 'ignored' case only for RIP routes.Ondrej Zajicek
2010-02-26Many changes in (mainly) kernel syncers.Ondrej Zajicek
- BSD kernel syncer is now self-conscious and can learn alien routes - important bugfix in BSD kernel syncer (crash after protocol restart) - many minor changes and bugfixes in kernel syncers and neighbor cache - direct protocol does not generate host and link local routes - min_scope check is removed, all routes have SCOPE_UNIVERSE by default - also fixes some remaining compiler warnings
2010-02-21Fix configure to enable warnings and fix most of them.Ondrej Zajicek
2010-02-13Removes phantom protocol from the pipe design.Ondrej Zajicek
It seems that by adding one pipe-specific exception to route announcement code and by adding one argument to rt_notify() callback i could completely eliminate the need for the phantom protocol instance and therefore make the code more straightforward. It will also fix some minor bugs (like ignoring debug flag changes from the command line).
2010-02-13Fixes protocol statistics for pipes.Ondrej Zajicek
2010-02-11Fixes a tricky bug in the pipe protocol.Ondrej Zajicek
When uncofiguring the pipe and the peer table, the peer table was unlocked when pipe protocol state changed to down/flushing and not to down/hungry. This leads to the removal of the peer table before the routes from the pipe were flushed. The fix leads to adding some pipe-specific hacks to the nest, but this seems inevitable.
2010-02-08Adds asterisk to the primary route in 'show route' cmd.Ondrej Zajicek
And also fixes a minor bug.
2010-02-03Makes date/time formats configurable.Ondrej Zajicek
2009-12-14Finishes 'route reload' feature.Ondrej Zajicek
2009-12-02Implements route re-feed.Ondrej Zajicek
This can be used to re-feed routes to protocol after soft change in export filters.
2009-12-02Fixes some problems in pipes.Ondrej Zajicek
For transparent pipes, loop detection works correctly now. Pipes are now more symmetric - in both directions filtering is done in do_rte_announce().
2009-12-02Fixes one missing log message.Ondrej Zajicek
2009-11-26Implements BGP route refresh.Ondrej Zajicek
2009-11-24Fixes serious bug in core related to route filtering.Ondrej Zajicek
If protocol announces a route, route is accepted by import filter to routing table, and later it announces replacement of that route that is rejected by import filter, old route remains in routing table.
2009-08-11Fixes another bug in rte_recalculate().Ondrej Zajicek
Previous bugfix revealed another hidden bug here.
2009-08-11Fixes bug that caused losing of some routes.Ondrej Zajicek
When update changes preferred route in such a way that it ceased to be preferred, the new route was linked to wrong place and lost.
2009-06-04Implements route statistics and fixes some minor bugs.Ondrej Zajicek
2009-06-01Escaped debbuging message removed.Ondrej Zajicek
2009-06-01The pipe cleanup.Ondrej Zajicek
2009-05-31Changes pipes to transfer all routes between routing table, not just optimal ↵Ondrej Zajicek
routes.
2009-05-22Change import/preimport to export/preexport to be consistent with filters.Ondrej Zajicek
2009-05-11'show route protocol <p>' added to CLI.Ondrej Filip
2009-03-25Fixes bug in pipe route filtering.Ondrej Zajicek
Routes comming through pipe from primary to secondary table were filtered by both EXPORT and IMPORT filters, but they should be only filtered by EXPORT filters.
2008-11-14Fixes feeding of new protocol, only preferred routes are announced.Ondrej Zajicek
2004-05-31Grrr, committing too fast.Ondrej Filip
#include "alloca.h" -> #include "lib/alloca.h"