]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
Handle whole ICMP headers tp/icmp-fixes
authortqbf <thomas@fly.io>
Wed, 2 Feb 2022 19:38:49 +0000 (13:38 -0600)
committertqbf <thomas@fly.io>
Wed, 2 Feb 2022 19:38:49 +0000 (13:38 -0600)
commit90300178a6c24d4dad3c49f8ce636aeafbddfa2a
tree1870ddb7515e886d893567bd7c4f1c0ce741d94e
parentf7acdab244e1b3b8dd75dfd8090c31af5a713321
Handle whole ICMP headers

Theoretically, this change would allow us to send ICMP replies from
these sockets. In practice, netstack filters anything but EchoRequest,
so this change mostly just adds annoyance right now. But in the
future, netstack might fix this, and this API would then work for
more than one use case.

Signed-off-by: Thomas Ptacek <thomas@sockpuppet.org>
tun/netstack/tun.go