From 83446cbab725301e58dc41336c31c446996b4f28 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 28 Feb 2019 00:44:40 +0100 Subject: Wireguard: Initial commit Wireguard: Debug Wireguard: Implement tunnel encode decode Wireguard: Add remote endpoint Wireguard: Refactor into peer and allowed ips functions Wireguard: Clean up config.Y Wireguard: Extended color community Wireguard: Allow multiple channels Wireguard: Add peer config settings Wireguard: Set up wireguard device Add private key and listen port items. Wireguard: Add peer list Wireguard: Move key conversion Wireguard: Use recursive tunnel encaps Wireguard: Add user space support Wireguard: Reinit wg device at shutdown Wireguard: Add channel hooks Wireguard: Implement copy_config Wireguard: Fixes Wireguard: Add tunnel_type config parameter Use 51820 (default wireguard port) as default tunnel type. Wireguard: Rename remote endpoint to tunnel endpoint Adopt to draft-ietf-idr-tunnel-encaps-13.txt by renaming emote endpoint to tunnel endpoint. Wireguard: Fix discarded const qualifiers Wireguard: Remove bgp include Wireguard: Generalize tunnel encapsulation Wireguard: Add struct tunnel_encap Wireguard: Remove wg peer on withdraw Wireguard: Refactor remove_allowed_ip Wireguard: Dump peers Wireguard: Fix duplicate allowedip entries Wireguard: Dump peers Wireguard: Don't add endpoint if not set Wireguard: Replace debug with DBG Wireguard: Replace log with WG_TRACE Wireguard: Refactor add_allowed_ip Wireguard: Don't replace peers Wireguard: Don't fix listen_port update Wireguard: Move wireguard formatting from tunnel_encaps library Wireguard: Change from eattr to adata in decode and format wireguard: support multiple TLVs Wireguard: use visitor in wireguard Wireguard: WIP add wireguard sub-TLV to parser Wireguard: update debug msg wireguard: register name Wireguard: WIP Wireguard: implement allowed_ips instead of allowed_ip Wireguard: fix free peer, and peer config syntax Wireguard: clean up Wireguard: change key options to bytestring Wireguard: Add EA_GET --- proto/wireguard/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 proto/wireguard/Makefile (limited to 'proto/wireguard/Makefile') diff --git a/proto/wireguard/Makefile b/proto/wireguard/Makefile new file mode 100644 index 00000000..26a7970f --- /dev/null +++ b/proto/wireguard/Makefile @@ -0,0 +1,8 @@ +WG := $(srcdir)/../WireGuard/contrib/examples/embeddable-wg-library + +src := wireguard.c +obj := $(src-o-files) +$(all-daemon) +$(cf-local) + +tests_objs := $(tests_objs) $(src-o-files) -- cgit v1.2.3