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>
2021-05-06 06:42:58 -07:00
..
fake.go net/tstun: rename NewFakeTUN to NewFake. 2021-03-26 22:46:47 -07:00
ifstatus_noop.go net/tstun: rename from net/tun. 2021-03-26 22:31:54 -07:00
ifstatus_windows.go net/tstun: remove unnecessary break statement 2021-05-04 08:54:50 -07:00
tun_notwindows.go net/tstun: return the real interface name at device creation. 2021-04-05 22:53:10 -07:00
tun_windows.go net/tstun: return the real interface name at device creation. 2021-04-05 22:53:10 -07:00
tun.go net/tstun: return the real interface name at device creation. 2021-04-05 22:53:10 -07:00
wrap_test.go net/tstun: fix TUN log spam when ACLs drop a packet 2021-05-06 06:42:58 -07:00
wrap.go net/tstun: fix TUN log spam when ACLs drop a packet 2021-05-06 06:42:58 -07:00