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/net/tstun
Brad Fitzpatrick 7f2eb1d87a net/tstun: fix TUN log spam when ACLs drop a packet
Whenever we dropped a packet due to ACLs, wireguard-go was logging:

Failed to write packet to TUN device: packet dropped by filter

Instead, just lie to wireguard-go and pretend everything is okay.

Fixes #1229

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
fake.go net/tstun: rename NewFakeTUN to NewFake. 3 years ago
ifstatus_noop.go net/tstun: rename from net/tun. 3 years ago
ifstatus_windows.go net/tstun: remove unnecessary break statement 3 years ago
tun.go net/tstun: return the real interface name at device creation. 3 years ago
tun_notwindows.go net/tstun: return the real interface name at device creation. 3 years ago
tun_windows.go net/tstun: return the real interface name at device creation. 3 years ago
wrap.go net/tstun: fix TUN log spam when ACLs drop a packet 3 years ago
wrap_test.go net/tstun: fix TUN log spam when ACLs drop a packet 3 years ago