summaryrefslogtreecommitdiff
path: root/proto
AgeCommit message (Collapse)Author
2021-01-12Wireguard: WIP bfdHEADwireguardMikael Magnusson
2021-01-12Wireguard: Don't fix listen_port updateMikael Magnusson
2021-01-12Wireguard: Don't replace peersMikael Magnusson
2021-01-12Wireguard: Refactor add_allowed_ipMikael Magnusson
2021-01-12Wireguard: Replace log with WG_TRACEMikael Magnusson
2021-01-12Wireguard: Replace debug with DBGMikael Magnusson
2021-01-12Wireguard: Don't add endpoint if not setMikael Magnusson
2021-01-12Wireguard: Dump peersMikael Magnusson
2021-01-12Wireguard: Fix duplicate allowedip entriesMikael Magnusson
2021-01-12Wireguard: Dump peersMikael Magnusson
2021-01-12Wireguard: Refactor remove_allowed_ipMikael Magnusson
2021-01-12Wireguard: Remove wg peer on withdrawMikael Magnusson
2021-01-12TunnelEncaps: Improve format functionMikael Magnusson
2021-01-12TunnelEncaps: Add struct tunnel_encapMikael Magnusson
2021-01-12TunnelEncaps: Generalize tunnel encapsulationMikael Magnusson
2021-01-12Wireguard: Refactor tunnel encaps decodingMikael Magnusson
2021-01-12Wg-user: Refactor unix socket implementationMikael Magnusson
Move unix socket implementation for wireguard-go to sysdep/unix/. Close socket fixing leak
2021-01-12Wireguard: Remove bgp includeMikael Magnusson
2021-01-12Wireguard: Fix discarded const qualifiersMikael Magnusson
2021-01-12Wireguard: Rename remote endpoint to tunnel endpointMikael Magnusson
Adopt to draft-ietf-idr-tunnel-encaps-13.txt by renaming emote endpoint to tunnel endpoint.
2021-01-12Wireguard: Add tunnel_type config parameterMikael Magnusson
Use 51820 (default wireguard port) as default tunnel type.
2021-01-12Wireguard: FixesMikael Magnusson
2021-01-12Wireguard: Implement copy_configMikael Magnusson
2021-01-12Wireguard: Add channel hooksMikael Magnusson
2021-01-12Wireguard: Reinit wg device at shutdownMikael Magnusson
2021-01-12Wireguard: Add user space supportMikael Magnusson
2021-01-12Wireguard: Use recursive tunnel encapsMikael Magnusson
2021-01-12Wireguard: Move key conversionMikael Magnusson
2021-01-12Wireguard: Add peer listMikael Magnusson
2021-01-12Wireguard: Set up wireguard deviceMikael Magnusson
Add private key and listen port items.
2021-01-12Wireguard: Add peer config settingsMikael Magnusson
2021-01-12Wireguard: Allow multiple channelsMikael Magnusson
2021-01-12Wireguard: Extended color communityMikael Magnusson
2021-01-12Wireguard: Clean up config.YMikael Magnusson
2021-01-12Wireguard: Refactor into peer and allowed ips functionsMikael Magnusson
2021-01-12Wireguard: Add remote endpointMikael Magnusson
2021-01-12Wireguard: Implement tunnel encode decodeMikael Magnusson
2021-01-12Wireguard: DebugMikael Magnusson
2021-01-12Wireguard: Initial commitMikael Magnusson
2021-01-12BGP: Tunnel Encapsulation attributeMikael Magnusson
Refer to draft-ietf-idr-tunnel-encaps-13
2021-01-12MRT: Fix IPv6 table dumpsOndrej Zajicek (work)
Add fake MP_REACH_NLRI attribute with BGP next hop when encoding MRT table dumps for IPv6 routes. That is necessary to encode next hop as NEXT_HOP attribute is not used for MP-BGP. Thanks to Santiago Aggio for the bugreport.
2021-01-10BFD: Dispatch sessions also by interface indexOndrej Zajicek (work)
Direct BFD sessions needs to be dispatched not only by IP addresses, but also by interfaces, in order to avoid collisions between neighbors with the same IPv6 link-local addresses. Extend BFD session hash_ip key by interface index to handle that. Use 0 for multihop sessions. Thanks to Sebastian Hahn for the original patch.
2021-01-07RPKI: Remove port (and SSH username) from 'Cache server' output lineOndrej Zajicek (work)
It was mixed-up if hostname is IPv6 address, and reporting separate values (like port) on separate lines fits better into key-value style of 'show protocols all' output. Also, the patch simplifies transport identification formatting (although it is unused now). Thanks to Alarig Le Lay for the suggestion.
2021-01-06BGP: Deprecate 'missing lladdr' optionOndrej Zajicek (work)
The option is not implemented since transition to 2.0 and no plan to add it. Also remove some deprecated RTS_* valus from documentation. Thanks to Sébastien Parisot for notification.
2020-12-28Static: Fix handling of 'net' attribute in per-route filtersOndrej Zajicek (work)
We need to define 'net' field temporarily as it may be accessed by per-route filters. Thanks to Damian Zaremba for the bugreport.
2020-12-07Nest: Per-channel debug flagsOndrej Zajicek (work)
The patch add support for per-channel debug flags, currently just 'states', 'routes', and 'filters'. Flag 'states' is used for channel state changes, remaining two for routes passed through the channel. The per-protocol debug flags 'routes'/'filters' still enable reporting of routes for all channels, to keep existing behavior. The patch causes minor changes in some log messages.
2020-11-25BGP: Zero the newly allocated bucket structureOndrej Zajicek (work)
This fixes an issue with dirty node passed to add_tail(). Thanks to Andreas Rammhold for the initial patch.
2020-11-24Fix some failed asserts due to add_tail()Ondrej Zajicek (work)
When config structures are copied due to template application, we need to reset list node structure before calling add_tail(). Thanks to Mikael Magnusson for patches.
2020-11-24Some minor sl_allocz() cleanupsOndrej Zajicek (work)
2020-11-24lib/slab: introduce sl_allocz() function and use it in BabelToke Høiland-Jørgensen
The babel protocol code was initialising objects returned from the slab allocator by assigning to each of the struct members individually, but wasn't touching the NODE member while doing so. This leads to warnings on debug builds since commit: baac7009063d ("List expensive check.") To fix this, introduce an sl_allocz() variant of the slab allocator which will zero out the memory before returning it, and switch all the babel call sites to use this version. The overhead for doing this should be negligible for small objects, and in the case of babel, the largest object being allocated was being zeroed anyway, so we can drop the memset in babel_read_tlv().