summaryrefslogtreecommitdiffstats
path: root/nest/rt-table.c
AgeCommit message (Collapse)Author
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"
2004-05-31Use #include "alloca.h"Ondrej Filip
2004-05-31#ifdef ALLOCA_HOndrej Filip
2003-08-13protocol->import_control() could potentially call rte_cow() as well.Martin Mares
AFAIK it doesn't happen in any of our protocol, but better be sure.
2003-08-13This was a potential memory leak, but not the one Feela observed.Martin Mares
This one could happen when an import filter of some protocol modified the rte (so that it would be rte_cow()ed) and later rejected it.
2002-11-13Added missing includes.Martin Mares
2001-08-19Fix %<something>I format strings.Martin Mares
2000-06-08Fixes for the programmer's manual.Martin Mares
2000-06-07Fixes to the progdoc.Martin Mares
2000-06-07Spelling fixes to progdoc.Martin Mares
2000-06-02Better description of the route distribution process.Martin Mares
2000-06-02Documentation on routing tables and route attributes.Martin Mares
2000-06-01Documentation.Martin Mares
2000-05-30Killed bug in merging of dynamic attributes.Martin Mares
2000-05-19Routing table garbage collector gets really called.Martin Mares
2000-05-19Fixed a buglet in asynchronous feeding and increased maximum numberMartin Mares
of routes allowed per feeding phase.
2000-05-19Asynchronous feeding of protocols.Martin Mares
2000-05-13Added `show route for <prefix-or-ipa>' which looks up route leading toMartin Mares
given network.
2000-05-13Changed semantics of the rt_update hook. The attribute list we pass nowMartin Mares
contains all attributes, not just the temporary ones. This avoids having to merge the lists inside protocols or doing searches on both of them. Also, do filtering of routes properly. (I'd like to avoid it, but it's needed at least in the krt protocol.)
2000-05-09rt_prune: Don't kill routes from protocols in FS_FEEDING state. If debugging,Martin Mares
call fib_check() on the table's fib.
2000-05-08Implemented `show route count' which is `show route stats' withMartin Mares
exception that it doesn't print the routes themselves.