Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Datagram socket ping (unprivileged ping) over IPv4 is broken for MacOS #537

Closed
manugarg opened this issue Dec 21, 2020 · 1 comment · Fixed by #539
Closed

Datagram socket ping (unprivileged ping) over IPv4 is broken for MacOS #537

manugarg opened this issue Dec 21, 2020 · 1 comment · Fixed by #539
Assignees
Labels
Milestone

Comments

@manugarg
Copy link
Contributor

While investigating #531 (also as mentioned in the bug report) I found that unprivileged ping (datagram socket based ping) is broken on MacOS, but only for IPv4.

W1221 13:19:53.246066 94333 ping.go:330] read udp 0.0.0.0:0: raw-read udp 0.0.0.0:0: i/o timeout
1608585592 labels=ptype=ping,probe=ping,dst=www.google.com total=2 success=0 latency=0.000 validation_failure=map:validator,data-integrity:0
1608585592 labels=ptype=ping,probe=ping,dst=www.yahoo.com total=2 success=0 latency=0.000 validation_failure=map:validator,data-integrity:0
W1221 13:19:55.243723 94333 ping.go:330] read udp 0.0.0.0:0: raw-read udp 0.0.0.0:0: i/o timeout

@manugarg
Copy link
Contributor Author

I've sent a change for review to fix this.

@manugarg manugarg added this to the v0.11.2 milestone Dec 22, 2020
manugarg added a commit that referenced this issue Dec 22, 2020
Darwin kernel never seems to compute checksum for IPv4.

Fixes: #537
PiperOrigin-RevId: 348598094
manugarg added a commit that referenced this issue Dec 22, 2020
Darwin kernel never seems to compute checksum for IPv4.

Fixes: #537
PiperOrigin-RevId: 348598094
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant