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/tstest/natlab
Jonathan Nobels 1191eb0e3d tstest/natlab: add unix address to writer for dgram mode
updates tailcale/corp#22371

For dgram mode, we need to store the write addresses of
the client socket(s) alongside the writer functions and
the write operation needs to use WriteToUnix.

Unix also has multiple clients writing to the same socket,
so the serve method is modified to handle packets from
multiple mac addresses.

Cleans up a bit of cruft from the initial tailmac tooling
commit.

Now all the macOS packets are belong to us.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
3 months ago
..
vnet tstest/natlab: add unix address to writer for dgram mode 3 months ago
firewall.go all: update copyright and license headers 2 years ago
nat.go all: update copyright and license headers 2 years ago
natlab.go all: use math/rand/v2 more 6 months ago
natlab_test.go all: use Go 1.22 range-over-int 7 months ago