1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

88 Commits

Author SHA1 Message Date
af582c4811 Route Origin Authorization basics.
- ROA tables, which are used as a basic part for RPKI.
 - Commands for examining and modifying ROA tables.
 - Filter operators based on ROA tables consistent with RFC 6483.
2012-03-18 17:32:30 +01:00
be4cd99a36 Implements deterministic MED handling.
Thanks to Alexander V. Chernikov for many suggestions.
2011-12-22 13:20:29 +01:00
32f95476a8 Signal problems with route installation to kernel tables. 2011-10-06 22:48:49 +02:00
42a0c05408 BGP Extended communities. 2011-08-14 13:55:02 +02:00
fdf16eb658 Prints full community lists during 'show route all'. 2011-07-03 19:43:30 +02:00
71ca77169d Adds support for several Linux kernel route attributes. 2011-04-13 12:32:27 +02:00
7e95c05d88 Core multipath support. 2010-12-07 23:33:55 +01:00
ba5e5940aa Adds igp_metric attribute. 2010-08-02 13:11:53 +02:00
d1e146f2f8 Implements IGP metric comparison for BGP routes. 2010-07-31 01:04:32 +02:00
1b180121a9 Use link-local addresses in recursive next hops for IPv6 BGP. 2010-07-28 11:45:35 +02:00
c477f48916 Hostcache should use trie to filter relevant route changes. 2010-07-27 18:20:12 +02:00
f2b76f2c45 For hostentry cache, replace FIB with a hash table using (IP, dep table) as a key. 2010-07-26 16:39:27 +02:00
cfe34a316e Implements hostcache and recursive next hops.
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-07-05 17:50:19 +02:00
c27b2449d1 Shows source (Router ID) for OSPF routes and adds such attribute.
A sad thing is that we does not have a 'router_id' filter type,
so it must be given as decimal number in filters.
2010-02-08 16:01:03 +01:00
d82fc18d75 Implement proper LSA ID generation. 2009-10-07 21:10:29 +01:00
f98e291579 The pipe cleanup. 2009-06-01 14:07:13 +02:00
23ac9e9a9e Changes pipes to transfer all routes between routing table, not just optimal routes. 2009-05-31 15:24:27 +02:00
ea2ae6dd0a Change import/preimport to export/preexport to be consistent with filters. 2009-05-22 17:12:15 +02:00
4d176e1450 'show route protocol <p>' added to CLI. 2009-05-11 02:01:11 +02:00
98ac61766d 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)
	- 2328 appendig E
2004-06-25 16:39:53 +00:00
8bf684eca2 RTS_OSPF_BONDARY is nonsense, RTS_OSPF_IA must have smaller id than RTS_OSPF_EXT 2004-06-11 09:05:06 +00:00
a60277b999 Added RTD_NONE /* Just for internal use */ 2004-05-31 13:35:06 +00:00
ad3907559c RIP bugfix 2000-06-21 19:40:46 +00:00
566a0eede7 Removed rta_find() since nobody uses it and it's more convenient
to use ea_find() directly.
2000-06-02 12:29:24 +00:00
ce4aca093a FIB documentation.
I've changed the init callback type to a typedef to work around a bug
in kernel-doc I'm too lazy to hunt now.
2000-06-01 16:16:18 +00:00
5919c66e8f Route attributes for OSPF. 2000-05-30 21:25:32 +00:00
73232f6b18 Better rt dumping. 2000-05-30 10:36:57 +00:00
cdc25e8db7 To find out a type of route (external, inter/intra area) 2000-05-28 19:07:39 +00:00
0ba8a6147d Fixed a very nasty bug in FIB iterators. 2000-05-19 19:40:12 +00:00
ac5d801217 Asynchronous feeding of protocols. 2000-05-19 10:46:26 +00:00
56d6c530eb Added fib_route() which does (although very slow) lookup of longest-match
routing in a FIB.
2000-05-13 11:42:06 +00:00
ec21aecfdd Fixed nasty segfault in rip. 2000-05-11 10:33:18 +00:00
c0100454cf Added more convient interface for ea_find.
What is special about int default;? Compiler chokes on that!
2000-05-10 06:54:40 +00:00
8abbde02d4 Several simplifications of the fib iterators. 2000-05-08 19:11:49 +00:00
916c8c0aba Use preferences properly. 2000-05-08 10:40:00 +00:00
23693958aa Implemented `show route <...> stats'. 2000-05-07 11:28:59 +00:00
ce1da96ee7 Added commands show route protocol <p>' and show route import <p>' which
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-06 22:57:39 +00:00
beaf86e13c Removed RTS_RIP_EXT. 2000-05-04 21:23:10 +00:00
51a183af78 Define EAF_ORIGINATED and propagate it properly when merging attribute lists. 2000-04-17 11:23:05 +00:00
c6add07fa6 Printing of AS paths and community sets. 2000-04-17 10:18:55 +00:00
b475c543b4 Fix comments. 2000-04-10 22:08:32 +00:00
73e03bce66 As usuall, most important info was missing. 2000-04-10 14:45:00 +00:00
6f57dcc07c Export ea_same() and ea_hash(). 2000-04-10 12:39:29 +00:00
d3feceff10 BGP doesn't need any inline attributes. 2000-04-09 22:04:12 +00:00
3991d84e8f Changed initialization of protocol list -- now we call proto_build() instead
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-01 10:19:47 +00:00
ca97b489de Define new data types for BGP. 2000-03-20 18:45:03 +00:00
9f4929e749 Renamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning. 2000-03-04 22:30:44 +00:00
b9626ec6ea Garbage collector events and counters are now per table and one day
they can be made configurable if it turns out to be useful.
2000-03-04 22:21:06 +00:00
ee76a92a80 Implemented real attribute cache. 2000-03-04 21:09:14 +00:00
c8518ae136 Removed RTF_EXTERIOR and RTF_TAGGED (unused). 2000-03-01 15:05:43 +00:00