wgengine/filter: don't spam logs on dropped outgoing IPv6 ICMP or IPv4 IGMP

The OS (tries) to send these but we drop them. No need to worry the
user with spam that we're dropping it.

Fixes #402

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2020-07-28 22:10:58 -07:00
committed by Brad Fitzpatrick
parent c7582dc234
commit d96d26c22a
3 changed files with 65 additions and 13 deletions

View File

@ -47,6 +47,7 @@ const (
// Unknown represents an unknown or unsupported protocol; it's deliberately the zero value.
Unknown IPProto = 0x00
ICMP IPProto = 0x01
IGMP IPProto = 0x02
ICMPv6 IPProto = 0x3a
TCP IPProto = 0x06
UDP IPProto = 0x11