summaryrefslogtreecommitdiff
path: root/nest/rt-table.c
AgeCommit message (Collapse)Author
2013-07-24Fixes bug in protocol flushing and rtable pruning.Ondrej Zajicek
When route was propagated to another rtable through a pipe and then the pipe was reconfigured softly in such a way that any subsequent route updates are filtered, then the source protocol shutdown didn't clean up the route in the second rtable which caused stale routes and potential crashes.
2013-06-13Fixes problems with kernel routes multiple routing tables.Ondrej Zajicek
Temporary dummy routes created by a kernel protocol during routing table scan get mixed with real routes propagated from another kernel protocol through a pipe.
2013-02-25Default rounting table for 'show route export/preexport/protocol' is the one ↵Ondrej Filip
related to a respective protocol.
2013-02-08Implements router advertisements activated by received routes.Ondrej Zajicek
The RAdv protocol could be configured to change its behavior based on availability of routes, e.g., do not announce router lifetime when a default route is not available.
2013-01-10Separate import and receive limits.Ondrej Zajicek
They have different behavior w.r.t. filtered routes that are kept.
2012-11-16Fixes route tracing w.r.t. kept filtered routes.Ondrej Zajicek
2012-11-15Changes 'rejected' to 'filtered' in one of the last patches.Ondrej Zajicek
2012-11-10Allows rejected routes to be kept and examined.Ondrej Zajicek
When 'import keep rejected' protocol option is activated, routes rejected by the import filter are kept in the routing table, but they are hidden and not propagated to other protocols. It is possible to examine them using 'show route rejected'.
2012-07-20Allows to redefine master table.Ondrej Zajicek
2012-07-16Merge branch 'rt-accepted'Ondrej Zajicek
Conflicts: nest/config.Y nest/rt-table.c proto/bgp/bgp.c
2012-07-16Finalize RA_ACCEPTED handling.Ondrej Zajicek
2012-05-11Minor cleanups.Ondrej Zajicek
2012-05-11Fixes a bug in RA_ACCEPTED handling.Ondrej Zajicek
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-04-15Implement RA_ACCEPTED mode of route propagation.Ondrej Zajicek
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().