bird/lib
Ondrej Zajicek (work) 943478b00f Basic VRF support
Add basic VRF (virtual routing and forwarding) support. Protocols can be
associated with VRFs, such protocols will be restricted to interfaces
assigned to the VRF (as reported by Linux kernel) and will use sockets
bound to the VRF. E.g., different multihop BGP instances can use diffent
kernel routing tables to handle BGP TCP connections.

The VRF support is preliminary, currently there are several limitations:

- Recent Linux kernels (4.11) do not handle correctly sockets bound
to interaces that are part of VRF, so most protocols other than multihop
BGP do not work. This will be fixed by future kernel versions.

- Neighbor cache ignores VRFs. Breaks config with the same prefix on
local interfaces in different VRFs. Not much problem as single hop
protocols do not work anyways.

- Olock code ignores VRFs. Breaks config with multiple BGP peers with the
same IP address in different VRFs.

- Incoming BGP connections are not dispatched according to VRFs.
Breaks config with multiple BGP peers with the same IP address in
different VRFs. Perhaps we would need some kernel API to read VRF of
incoming connection? Or probably use multiple listening sockets in
int-new branch.

- We should handle master VRF interface up/down events and perhaps
disable associated protocols when VRF goes down. Or at least disable
associated interfaces.

- Also we should check if the master iface is really VRF iface and
not some other kind of master iface.

- BFD session request dispatch should be aware of VRFs.

- Perhaps kernel protocol should read default kernel table ID from VRF
iface so it is not necessary to configure it.

- Perhaps we should have per-VRF default table.
2017-09-06 17:38:48 +02:00
..
alloca.h Changed of comments. 2004-05-31 17:27:21 +00:00
birdlib.h Remove autoconf macros for time_t and alignment 2017-05-16 13:05:00 +02:00
bitops.c unsigned [int] -> uint 2015-06-08 02:24:08 +02:00
bitops.h Add the Babel routing protocol (RFC 6126) 2016-04-28 18:01:40 +02:00
buffer.h Minor code cleanups 2016-11-08 17:46:29 +01:00
checksum.c unsigned [int] -> uint 2015-06-08 02:24:08 +02:00
checksum.h unsigned [int] -> uint 2015-06-08 02:24:08 +02:00
Doc Add generic message authentication interface 2016-11-02 16:23:53 +01:00
event.c Implement latency tracking, internal event log and watchdog 2015-03-02 09:41:14 +01:00
event.h Fininshing integrated OSPF. 2014-11-03 10:42:55 +01:00
fletcher16.h OSPF: Redesign LSA checksumming 2015-05-01 14:40:56 +02:00
hash.h BGP: Fix memory leak in graceful restart code 2016-11-25 11:51:38 +01:00
heap.h BFD work in progress. 2013-09-16 23:57:40 +02:00
ip.c Merge branch 'master' into rip-new 2015-11-24 15:21:11 +01:00
ip.h Add the Babel routing protocol (RFC 6126) 2016-04-28 18:01:40 +02:00
lists.c Birdlib: Modify lists to avoid problems with pointer aliasing rules 2016-03-23 02:21:42 +01:00
lists.h Birdlib: Modify lists to avoid problems with pointer aliasing rules 2016-03-23 02:21:42 +01:00
mac.c Add generic message authentication interface 2016-11-02 16:23:53 +01:00
mac.h Add missing extern 2016-11-03 09:53:53 +01:00
md5.c Add generic message authentication interface 2016-11-02 16:23:53 +01:00
md5.h Add generic message authentication interface 2016-11-02 16:23:53 +01:00
mempool.c unsigned [int] -> uint 2015-06-08 02:24:08 +02:00
Modules Add generic message authentication interface 2016-11-02 16:23:53 +01:00
patmatch.c Some consts for function arguments 2015-11-24 13:52:26 +01:00
printf.c Whitespace fixes 2016-08-16 13:02:32 +02:00
resource.c Birdlib: Do cleanups after remove/free 2016-03-23 02:21:42 +01:00
resource.h BFD work in progress. 2013-09-16 23:57:40 +02:00
resource.sgml Fixes for the programmer's manual. 2000-06-08 12:37:21 +00:00
sha1.c Add generic message authentication interface 2016-11-02 16:23:53 +01:00
sha1.h Add generic message authentication interface 2016-11-02 16:23:53 +01:00
sha256.c Add generic message authentication interface 2016-11-02 16:23:53 +01:00
sha256.h Add generic message authentication interface 2016-11-02 16:23:53 +01:00
sha512.c Add generic message authentication interface 2016-11-02 16:23:53 +01:00
sha512.h Add generic message authentication interface 2016-11-02 16:23:53 +01:00
slab.c unsigned [int] -> uint 2015-06-08 02:24:08 +02:00
slists.c Slist update 2009-01-12 14:40:21 +01:00
slists.h Temporary integrated OSPF commit. 2014-06-26 11:58:57 +02:00
socket.h Basic VRF support 2017-09-06 17:38:48 +02:00
string.h RIP: Use message authentication interface 2016-11-02 17:53:22 +01:00
tbf.c Implements token bucket filter for rate limiting. 2014-10-02 12:52:50 +02:00
unaligned.h Some consts for function arguments 2015-11-24 13:52:26 +01:00
xmalloc.c unsigned [int] -> uint 2015-06-08 02:24:08 +02:00