Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BPF filter needs to be updated for extended echo #9

Open
fenner opened this issue Mar 9, 2024 · 0 comments
Open

BPF filter needs to be updated for extended echo #9

fenner opened this issue Mar 9, 2024 · 0 comments

Comments

@fenner
Copy link
Member

fenner commented Mar 9, 2024

If the system is using the raw socket (e.g., the user's gid is not inside net.ipv4.ping_group_range), then the filter installed by ping4_install_filter() still expects the return packet to be ICMP_ECHOREPLY, so will not filter out the extended echo replies for a simultaneous ping with a different ident.

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

No branches or pull requests

1 participant