summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-13Wireguard: Refactor remove_allowed_ipMikael Magnusson
2020-09-13Wireguard: Remove wg peer on withdrawMikael Magnusson
2020-09-13TunnelEncaps: Add struct tunnel_encapMikael Magnusson
2020-09-13TunnelEncaps: Generalize tunnel encapsulationMikael Magnusson
2020-09-13Wireguard: Refactor tunnel encaps decodingMikael Magnusson
2020-09-13Wireguard: Refactor unix socket implementationMikael Magnusson
Move unix socket implementation for wireguard-go to sysdep/unix/.
2020-09-13Wireguard: Remove bgp includeMikael Magnusson
2020-09-13Wireguard: Fix discarded const qualifiersMikael Magnusson
2020-09-13Wireguard: Rename remote endpoint to tunnel endpointMikael Magnusson
Adopt to draft-ietf-idr-tunnel-encaps-13.txt by renaming emote endpoint to tunnel endpoint.
2020-09-13Wireguard: Add tunnel_type config parameterMikael Magnusson
Use 51820 (default wireguard port) as default tunnel type.
2020-09-13Wireguard: FixesMikael Magnusson
2020-09-13Wireguard: Implement copy_configMikael Magnusson
2020-09-13Wireguard: Add channel hooksMikael Magnusson
2020-09-13Wireguard: Reinit wg device at shutdownMikael Magnusson
2020-09-13Wireguard: Add user space supportMikael Magnusson
2020-09-13Wireguard: Use recursive tunnel encapsMikael Magnusson
2020-09-13Wireguard: Move key conversionMikael Magnusson
2020-09-13Wireguard: Add peer listMikael Magnusson
2020-09-13Wireguard: Set up wireguard deviceMikael Magnusson
Add private key and listen port items.
2020-09-13Wireguard: Add peer config settingsMikael Magnusson
2020-09-13Wireguard: Allow multiple channelsMikael Magnusson
2020-09-13Wireguard: Extended color communityMikael Magnusson
2020-09-13Wireguard: Clean up config.YMikael Magnusson
2020-09-13Wireguard: FixesMikael Magnusson
2020-09-13Wireguard: Refactor into peer and allowed ips functionsMikael Magnusson
2020-09-13Wireguard: Add remote endpointMikael Magnusson
2020-09-13Wireguard: Implement tunnel encode decodeMikael Magnusson
2020-09-13Wireguard: DebugMikael Magnusson
2020-09-13Wireguard: Initial commitMikael Magnusson
2020-09-13Wireguard-lib: Add to makefileMikael Magnusson
2020-09-13Wireguard-lib: Import wireguard libraryMikael Magnusson
2020-08-29BGP: Tunnel Encapsulation attributeMikael Magnusson
Refer to draft-ietf-idr-tunnel-encaps-13
2020-08-28Filter: TLVMikael Magnusson
2020-08-28Unix: Implement sk_connect_unixMikael Magnusson
2020-08-28Gitignore: /build*/Mikael Magnusson
2020-08-12OSPF: Skip out-of-state packets earlierOndrej Zajicek (work)
Sometimes multicast OSPF packet is received when neighbor adjacency is not established. Such packet should be ignored earlier in packet processing as otherwise it causes strange error messages when OSPFv3 authentication is enabled.
2020-07-16Nest: Keep route ordering during route updatesOndrej Zajicek (work)
Put new non-best routes to the end of list instead of the second position. Put updated routes to their old position. Position is changed just by best route selection.
2020-06-28Show info from multiple protocols when protocol is not specifiedOndrej Zajicek (work)
Most commands like 'show ospf neighbors' fail when protocol is not specified and there are multiple instances of given protocol type. This is annoying in BIRD 2, as many protocols have IPv4 and IPv6 instances. The patch changes that by showing output from all protocol instances of appropriate type. Note that the patch also removes terminating cli_msg() call from these commands and moves it to the common iterating code.
2020-06-28Filter: Improve handling of sets in BGP path masksKazuki Yamaguchi
Compare the content of PM_ASN_SET in path masks. A reconfiguration was not properly triggering a reload of affected protocols when the members of a set in a path mask change. Also, update the printing code to so that it can display sets in a path mask.
2020-06-28Filter: Fix comparison of BGP path maskKazuki Yamaguchi
Add a missing return statement. Path masks with the same length were all considered the same. Comparing two with different length would cause out-of-bounds memory access.
2020-06-10OSPF: Fix bad header length testOndrej Zajicek (work)
Thanks to Slava Aseev for the thorough bugreport.
2020-06-03Doc: Add 'ptp address' to OSPF doc overviewKenth Eriksson
2020-06-03Test: Fix unit test mockupsOndrej Zajicek (work)
2020-06-03Netlink: Fix parsing of MPLS multipath routesKazuki Yamaguchi
Add support for RTA_MULTIPATH attribute parsing for AF_MPLS routes. BIRD is capable of installing a multipath route into kernel on Linux, but it would not be seen because parsing fails. This made BIRD attempt to install the same route repeatedly. (The patch minorly updated by committer)
2020-06-03RPKI: Fix unnecessary reconnection on reconfigurationKazuki Yamaguchi
Compare the new timing parameters with the old configuration, not with the temporary state of the current connection. The timing values in struct rpki_cache is updated by a version 1 End Of Data PDU, unless this behavior is suppressed by the configuration explicitly by the "keep" keyword. Consequently, every reconfiguration of BIRD triggers a reconnection even if it is not necessary.
2020-06-03Log: Do not open logfiles when parse-and-exit option is activeOndrej Zajicek (work)
This is a quick workaround for an issue where configured logfiles are opened/created during parsing of a config file even when parse-and-exit option is active. We should later refactor the logging code to avoid opening log during parsing altogether.
2020-06-02OSPF: setting list node to zero before enlistingMaria Matejka
2020-05-26Babel: Set onlink flag for IPv4 routes with unreachable next hopOndrej Zajicek (work)
If the next hop of a route is not a reachable address, the route should be installed as onlink. This enables a configuration common in mesh networks where the mesh interface is assigned a /32 and babel handles the routing by installing onlink routes. Thanks to Toke Hoiland-Jorgensen for the patch.
2020-05-26OSPF: Fix handling of unnumbered PtPsOndrej Zajicek (work)
This issue has a long history. In 2012, we changed data field for unnumbered PtP links from iface id (specified by RFC) to IP address based on reports of bugs in Quagga that required it, and we used out-of-band information to distinquish unnumberred PtPs with the same local IP address. Then with OSPF graceful restart implementation, we found that we can no longer use out-of-band information, and we need to use only LSAdb info for routing table calculation, but i forgot to finish handling of this case, so multiple unnumbered PtPs with the same local IP addresses were broken. Considering that even recent Mikrotik RouterOS has broken next hop calculation that depends on IP address in PtP link data field, we cannot just switch back to the iface id for unnumbered PtP links. The patch makes two changes: First, it goes back to use out-of-band (position) info for distinguishing local interfaces in SPF when graceful restart is not enabled, while still uses LSAdb-only approach for SPF calculation when graceful restart is enabled. Second, it adds OSPF interface option 'ptp address', which controls whether IP address or iface id is used in data field. It is enabled by default except for unnumbered PtP links with enabled graceful restart. Thanks to Kenth Eriksson for the bugreport and Joakim Tjernlund for suggestions.
2020-05-19Nest: Allow key id 0Ondrej Zajicek (work)
There is nothing in RFCs specifying that id 0 is not allowed. Some implementations does not support it, while some other use key id 0 by default. We allow it but start with key id 1 by default. Thanks to Kenth Eriksson for the bugreport.