Skip to content

[ping] Fix privileged IPv4 ping (RAW socket). - #123

Merged
manugarg merged 1 commit into
masterfrom
fix_ping
Mar 29, 2022
Merged

manugarg merged 1 commit into
masterfrom
fix_ping

Conversation

@manugarg

Copy link
Copy Markdown
Contributor

= Privileged IPv4 ping was broken on Linux (#122). For IPv4 RAW sockets, IP header is not stripped.
= If probe is IPv4, and incoming packet's first byte suggests that there is an IP header, assume that regardless of the OS. I think it's a safe assumption.

= Privileged IPv4 ping was broken on Linux (#122). For IPv4 RAW sockets, IP header is not stripped.
= If probe is IPv4, and incoming packet's first byte suggests that there is an IP header, assume that regardless of the OS. I think it's a safe assumption.
@manugarg manugarg linked an issue Mar 29, 2022 that may be closed by this pull request
@manugarg
manugarg merged commit 12071b2 into master Mar 29, 2022
@manugarg
manugarg deleted the fix_ping branch March 29, 2022 20:43
@manugarg manugarg added this to the v0.11.7 milestone Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IPv4 ping is broken on Flatcar Container Linux

1 participant