You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/tempfork/device
Maisem Ali 2522b0615f tempfork/device: add a temp fork of golang.zx2c4.com/wireguard/device
This will allow us to reuse the AllowedIPs for NAT decisions in a follow on commit.

The files `allowedips_*.go` are as-is, `peer.go` only keeps the `Peer` declaration with a
single element required for AllowedIPs.

Upstream commit https://git.zx2c4.com/wireguard-go/commit/?id=052af4a8072bbbd3bfe7edf46fe3c1b350f71f08

Updates tailscale/corp#8020

Signed-off-by: Maisem Ali <maisem@tailscale.com>
1 year ago
..
LICENSE tempfork/device: add a temp fork of golang.zx2c4.com/wireguard/device 1 year ago
README.md tempfork/device: add a temp fork of golang.zx2c4.com/wireguard/device 1 year ago
allowedips.go tempfork/device: add a temp fork of golang.zx2c4.com/wireguard/device 1 year ago
allowedips_rand_test.go tempfork/device: add a temp fork of golang.zx2c4.com/wireguard/device 1 year ago
allowedips_test.go tempfork/device: add a temp fork of golang.zx2c4.com/wireguard/device 1 year ago
peer.go tempfork/device: add a temp fork of golang.zx2c4.com/wireguard/device 1 year ago

README.md

This is a fork of golang.zx2c4.com/wireguard/device that only keeps the bare minimum data structures required for AllowedIPs. It is meant to be short lived until we replace it with our version of a routing table.