Fixes race condition leading to memory corruption and crash.
When protocol started, feeding was scheduled. If protocolgot down before feeding was executed, then functionresponsible for connecting protocol to kernel routingtables was called after the function responsible for...
Fix bug in AS path matching
Fixes feeding of new protocol, only preferred routes are announced.
Proper format functions for ORIGINATOR_ID, CLUSTER_LIST
Fix bugs in OSPF MD5 authentication. First bug is that defaultvalues for MD5 password ID changed during reconfigure, Secondbug is that BIRD chooses password in first-fit manner, but RFCsays that it should use the one with the latest generate-from.
It also modifies the syntax for multiple passwords....
Fix problem with local time changes.
Bugfixes in MULIT_EXIT_DISC attribute handling.
- Old MED handling was completely different from behavior specified in RFCs - for example they havn't been propagated to neighboring areas.
- Update tie-breaking according to RFC 4271.
- Change default value for 'default bgp_med' configuration...
Implementation of route reflection for BGP
Implementation of 4B ASN support for BGP
Small changed to reduce the number of warnings.
MD5 authentication in OSPF works. :-)
Bugfix in simple authentification.
Password WALK_LIST bugfix.
Password management redesigned (untested).
A lot of changes: - metric is 3 byte long now - summary lsa originating - more OSPF areas possible - virtual links - better E1/E2 routes handling - some bug fixes..
I have to do: - md5 auth (last mandatory item from rfc2328) - !!!!DEBUG!!!!! (mainly virtual link system has probably a lot of bugs)...
RTS_OSPF_BONDARY is nonsense, RTS_OSPF_IA must have smaller id than RTS_OSPF_EXT
Cleanup in show route import <p>.
Marked unused parameters in core code as such.
Small correction to va_start/va_end in cli_printf (va_end was missing).
Grrr, committing too fast.#include "alloca.h" -> #include "lib/alloca.h"
Use #include "alloca.h"
Added RTD_NONE /* Just for internal use */
protocol->import_control() could potentially call rte_cow() as well.AFAIK it doesn't happen in any of our protocol, but better be sure.
This was a potential memory leak, but not the one Feela observed.
This one could happen when an import filter of some protocol modifiedthe rte (so that it would be rte_cow()ed) and later rejected it.
There can be multiple primary addresses with different scopesand only the highest scope one has IA_PRIMARY set, so reportthe remaining ones as "Unselected".
Added missing includes.
Added missing semicolons.
Fix %<something>I format strings.
Fixed infinite recursion in password_same.
Pavel, please check.
Yet another nasty bugfix of iface_patts_equal().
Bugfix in iface_patts_equal.When both patterns were NULL strcmp it sigfaulted.
Fixes for the programmer's manual.
Oops! Configuration compiles now.
Use `switch' for `disabled'.
Updated CLI helps.
Fixes to the progdoc.
Spelling fixes to progdoc.
Added IP protocols.
Avoid sentence containing a colon to start new doc subsection.
Documented sockets, events and timers.
Description of protocol module moved to where it belongs. If documentationof standard modules is stored in their source, such auxilliary filesshould be as well.
Minor changes to the progdocs.
Documented protocol hooks.
Added documentation on protocols.
Protocol hooks deserve an extra chapter (to come soon).
Better description of the route distribution process.
Documentation on routing tables and route attributes.
Removed rta_find() since nobody uses it and it's more convenientto use ea_find() directly.
Removed comments about workings of the old neighbor cache which are(1) obsolete and (2) replaced by the progdoc.
I've changed the init callback type to a typedef to work around a bugin kernel-doc I'm too lazy to hunt now.
Inactive sticky neighbors have no scope.
Modified the neighbor cache to remember local addresses as well.
neighbor->scope now contains proper address scope which is zero (SCOPE_HOST)for local addresses, higher (SCOPE_LINK, ..., SCOPE_UNIVERSE) for remote ones.
Route attributes for OSPF.
Killed bug in merging of dynamic attributes.
Better formatting of protocol status.
Added read-only access to all required fields in rta.
Better rt dumping.
Tracing of CLI connections/commands can be now controlledby `debug commands <level>' in the configuration. Level 0 meansno tracing, 1 means connections only, 2 includes all commands.
To find out a type of route (external, inter/intra area)
Routing table garbage collector gets really called.
Fixed a very nasty bug in FIB iterators.
Fixed freeing of non-embedded extended attributes.
No more problems when protocols gets disabled during feeding.
Fixed a buglet in asynchronous feeding and increased maximum numberof routes allowed per feeding phase.
Asynchronous feeding of protocols.
Fixed incorrect error message about router ID syntax.
Don't segfault when someone adds passwords.
Password same now actually works
Don't log state changes if nothing user-visible has changed.
Cleanup of configuration.
o Use `expr' instead of `NUM' and `ipa' instead of `IPA', so that defined symbols work everywhere.o `define' now accepts both numbers and IP addresses.o Renamed `ipa' in filters to `fipa'.
Pavel, please update filters to accept define'd symbols as well.
Added `show route for
' which looks up route leading to
Added fib_route() which does (although very slow) lookup of longest-matchrouting in a FIB.
Unified parsing of prefixes.
Had to rename `prefix' in filters to `fprefix'.
Changed semantics of the rt_update hook. The attribute list we pass nowcontains all attributes, not just the temporary ones. This avoids havingto 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...
Fixed nasty segfault in rip.
password_same utility function
Added more convient interface for ea_find.
What is special about int default;? Compiler chokes on that!
rt_prune: Don't kill routes from protocols in FS_FEEDING state. If debugging,call fib_check() on the table's fib.
Several simplifications of the fib iterators.
Implemented `show route count' which is `show route stats' withexception that it doesn't print the routes themselves.
Stop feeding the protocol if it suddenly shuts down.
Really free attributes.
Use preferences properly.
Fixed `show route primary'.
Debugged printing and pruning of neighbor cache entries.
Don't count networks with no routes (they are not displayed at all andwill be removed during the next garbage collection pass).
Implemented `show route <...> stats'.
Squashed one bug in fib_rehash(). No more routes disappearing as if structby a lightning :)
Killed one more reference to RTS_RIP_EXT.
Added commands `show route protocol <p>' and `show route import <p>' whichshow the routing table as exported to the protocol given resp. as returnedfrom 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...
Fixed silly bug in previous commit.