summaryrefslogtreecommitdiffstats
path: root/nest/rt-table.c
AgeCommit message (Collapse)Author
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.
2000-05-08Stop feeding the protocol if it suddenly shuts down.Martin Mares
2000-05-08Fixed `show route primary'.Martin Mares
2000-05-07Don't count networks with no routes (they are not displayed at all andMartin Mares
will be removed during the next garbage collection pass).
2000-05-07Implemented `show route <...> stats'.Martin Mares
2000-05-07Added commands `show route protocol <p>' and `show route import <p>' whichMartin Mares
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.
2000-05-06Fixed silly bug in previous commit.Martin Mares
2000-05-06When rte_update is called for an identical route, don't announce anything.Martin Mares
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.
2000-05-04Removed a lot of unused variables.Martin Mares
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.)
2000-05-02IPv6 address classification fixes.Martin Mares
2000-04-28Event handlers no longer return re-queue flag. Instead of using it, justMartin Mares
call ev_schedule() on the same handler which should work perfectly now.
2000-04-01Changed initialization of protocol list -- now we call proto_build() insteadMartin Mares
of calling the protocols manually. Implemented printing of dynamic attributes in `show route all'. Each protocol can now register its own attribute class (protocol->attr_class, set to EAP_xxx) and also a callback for naming and formatting of attributes. The callback can return one of the following results: GA_UNKNOWN Attribute not recognized. GA_NAME Attribute name recognized and put to the buffer, generic code should format the value. GA_FULL Both attribute name and value put to the buffer. Please update protocols generating dynamic attributes to provide the attr_class and formatting hook.
2000-04-01When tracing, always print incoming part of the trace before the outgoing one.Martin Mares
Avoid buffer overflows in `show routes' command.
2000-04-01Include "lib/string.h" instead of <string.h>. It should give us bzero()Martin Mares
and other non-portable functions on all systems.
2000-03-30Use FF_FORCE_TMPATTR where appropriate.Martin Mares
2000-03-29f_run gets one more parameter to distinguish between in and out modes.Pavel Machek
2000-03-19Protocol tracing: Don't dump core on filtered out routes.Martin Mares
2000-03-12Fixed a bunch of FIXME's by removing them :)Martin Mares
2000-03-12Great cleanup of debug messages. LOCAL_DEBUG turned off in most modules,Martin Mares
several debug() calls converted to DBG().