- 16 Jan, 2018 2 commits
-
-
Ondřej Zajíček authored
The option allows to specify that some cease subcodes should disable the protocol when received.
-
Ondřej Zajíček authored
A filter should log messages only if executed explicitly (e.g., during route export or route import). When a filter is executed for technical reasons (e.g., to establish whether a route was exported before), it should run silently.
-
- 03 Jan, 2018 1 commit
-
-
Ondřej Zajíček authored
-
- 02 Jan, 2018 1 commit
-
-
Ondřej Zajíček authored
According to GNU Readline developers, if we link with libreadline then there is no need to link with libhistory at all.
-
- 14 Dec, 2017 1 commit
-
-
Ondřej Zajíček authored
-
- 28 Nov, 2017 1 commit
-
-
Ondřej Zajíček authored
RFC6126bis introduces a flags field for the Hello TLV, and adds a unicast flag that is used to signify that a hello was sent as unicast. This adds parsing of the flags field and ignores such unicast hellos, which preserves compatibility until we can add a proper implementation of the unicast hello mechanism. Thanks to Toke Hoiland-Jorgensen for the patch.
-
- 09 Nov, 2017 1 commit
-
-
Jan Maria Matejka authored
-
- 10 Oct, 2017 3 commits
-
-
Ondřej Zajíček authored
The old ones do not work on current Debian.
-
Ondřej Zajíček authored
-
Michal 'vorner' Vaner authored
-
- 06 Oct, 2017 1 commit
-
-
Ondřej Zajíček authored
And change default values of specific route options to be consistent with values of default router options.
-
- 04 Oct, 2017 1 commit
-
-
Michal 'vorner' Vaner authored
The patch implements Default Router Preferences and More-Specific Routes (RFC 4191) for RAdv protocol, allowing to announce router preference and more specific routes in router advertisements. Routes can be exported to RAdv like to regular routing protocols. Some cleanups, bugfixes and other changes done by Ondrej Zajicek.
-
- 20 Sep, 2017 1 commit
-
-
Michal 'vorner' Vaner authored
They are internally ints, but they got refused as a wrong type. This fixes setting of the BGP origin and is also needed for RA.
-
- 19 Sep, 2017 2 commits
-
-
Ondřej Zajíček authored
The patch implements BGP Administrative Shutdown Communication (RFC 8203) allowing BGP operators to pass messages related to BGP session administrative shutdown/restart. It handles both transmit and receive of shutdown messages. Messages are logged and may be displayed by show protocol all command. Thanks to Job Snijders for the basic patch.
-
Michal 'vorner' Vaner authored
-
- 13 Sep, 2017 1 commit
-
-
Ondřej Zajíček authored
Thanks to Alexander Zubkov for the notification.
-
- 12 Sep, 2017 2 commits
-
-
Ondřej Zajíček authored
-
Ondřej Zajíček authored
Actually much simpler than expected.
-
- 06 Sep, 2017 1 commit
-
-
Ondřej Zajíček authored
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.
-
- 05 Sep, 2017 1 commit
-
-
Ondřej Zajíček authored
Starting from Linux 4.11, IPv6 ECMP routes are now notified using RTA_MULTIPATH, like IPv4 ones. The patch adds support for RTA_MULTIPATH parsing for IPv6 routes. This also enables to parse ECMP alien routes correctly. Thanks to Vincent Bernat for the original patch.
-
- 04 Sep, 2017 3 commits
-
-
Ondřej Zajíček authored
Incorrect structure alignment breaks kernel routing table updates on FreeBSD/ARM (and perhaps other platforms). Thanks to Eugene Sevastyanov for the original patch.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
Add configuration and docker definitions for tests and builds in Gitlab CI platform. Some of them currently fail, which is a known problem.
-
- 30 Aug, 2017 4 commits
-
-
Ondřej Zajíček authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
Keep a cache of all the relevant prefixes we send out. When a prefix appears, insert it into the cache. If it dies, keep it there for a while, marked as dead. Send out the dead prefixes with zero lifetime.
-
Michal 'vorner' Vaner authored
Put the prefix option preparation into a separate function. We're going to reuse that bit of code.
-
- 22 Aug, 2017 1 commit
-
-
Ondřej Zajíček authored
-
- 10 Aug, 2017 2 commits
-
-
Michal 'vorner' Vaner authored
non-primary is ugly, just omit it (and use primary in the other case).
-
Michal 'vorner' Vaner authored
A non-primary address isn't necessarily secondary, that's an independent flag.
-
- 09 Aug, 2017 5 commits
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
A TODO file last updated 5 years ago is useless.
-
Ondřej Zajíček authored
-
Michal 'vorner' Vaner authored
Adapt the naming conventions to be a bit closer to the other protocols. proto_radv -> radv_proto struct radv_proto *ra -> struct radv_proto *p struct proto *p -> struct proto *P
-
Michal 'vorner' Vaner authored
-
- 19 Jun, 2017 1 commit
-
-
Ondřej Zajíček authored
Thanks to Lennert Buytenhek <buytenh@wantstofly.org> for the patch.
-
- 31 May, 2017 1 commit
-
-
Ondřej Zajíček authored
-
- 30 May, 2017 1 commit
-
-
Ondřej Zajíček authored
-
- 25 May, 2017 1 commit
-
-
Ondřej Zajíček authored
The old hash table had fixed size, which makes it slow for config files with large number of symbols and symbol lookups. The new one is growing according to needs.
-
- 23 May, 2017 1 commit
-
-
Ondřej Zajíček authored
Function isspace() expects to get *unsigned* chars (encoded as ints), not that it matters for plain ASCII.
-