TUN-6740: Detect no UDP packets allowed and fallback from QUIC in that case

This commit is contained in:
Nuno Diegues
2022-09-06 13:20:50 +01:00
parent 4b75943d59
commit 7a19798682
3 changed files with 25 additions and 8 deletions

View File

@@ -23,6 +23,10 @@ var (
// TestICMPProxyEcho makes sure we can send ICMP echo via the Request method and receives response via the
// ListenResponse method
//
// Note: if this test fails on your device under Linux, then most likely you need to make sure that your user
// is allowed in ping_group_range. See the following gist for how to do that:
// https://github.com/ValentinBELYN/icmplib/blob/main/docs/6-use-icmplib-without-privileges.md
func TestICMPProxyEcho(t *testing.T) {
onlyDarwinOrLinux(t)
const (