0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-09 12:48:43 +00:00
bird/proto/ospf
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
..
config.Y OSPF: Use message authentication interface 2016-11-02 17:53:22 +01:00
dbdes.c Build: switch on -Wextra, get rid of most of the warnings 2016-11-01 14:52:54 +01:00
Doc Doc. 2000-06-07 23:23:37 +00:00
hello.c Build: switch on -Wextra, get rid of most of the warnings 2016-11-01 14:52:54 +01:00
iface.c Basic VRF support 2017-09-06 17:38:48 +02:00
lsack.c Fininshing integrated OSPF. 2014-11-03 10:42:55 +01:00
lsalib.c Build: switch on -Wextra, get rid of most of the warnings 2016-11-01 14:52:54 +01:00
lsalib.h Build: switch on -Wextra, get rid of most of the warnings 2016-11-01 14:52:54 +01:00
lsreq.c Fininshing integrated OSPF. 2014-11-03 10:42:55 +01:00
lsupd.c Build: switch on -Wextra, get rid of most of the warnings 2016-11-01 14:52:54 +01:00
Makefile Routing table calculation. Dijkstra done. 2000-04-26 12:54:23 +00:00
neighbor.c Build: switch on -Wextra, get rid of most of the warnings 2016-11-01 14:52:54 +01:00
ospf.c Static: Allows to specify attributes for static routes 2015-07-20 17:11:10 +02:00
ospf.h OSPF: Use message authentication interface 2016-11-02 17:53:22 +01:00
packet.c OSPF: Use message authentication interface 2016-11-02 17:53:22 +01:00
rt.c OSPF: Fix ECMP external merging 2016-12-15 15:37:27 +01:00
rt.h OSPF: Fix net-summary origination combined with stubnet option 2016-12-13 17:34:42 +01:00
topology.c Build: switch on -Wextra, get rid of most of the warnings 2016-11-01 14:52:54 +01:00
topology.h Moving of mulipath merging code from OSPF to nest 2015-06-08 02:24:08 +02:00