You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This compiles and runs but it shows all pings as lost. Might be easy to fix, I've just spent two minutes to make this quick test.
The usage of this kernel feature might be restricted, but I expect it to be allowed on all modern unix systems. (I may be wrong, but has probably been introduced to allow containers (docker etc.) to use ping without any priviledges. As using containers is pretty standard nowadays it is reasonable to assume that it should be allowed on all modern Linux distributions.)
# Fedora Linux 38
$ sysctl net.ipv4.ping_group_range
net.ipv4.ping_group_range = 0 2147483647
# Lineage OS on Pixel 3a
sargo:/ $ sysctl net.ipv4.ping_group_range
net.ipv4.ping_group_range = 0 2147483647
TODO
Check for rate limiting
Check with IPv6 (i.e. why is the kernel setting ipv4 only?)
Check on unrooted stock Android
The text was updated successfully, but these errors were encountered:
Help wanted: Can you run sysctl net.ipv4.ping_group_range (it only reads the value) and report it together with your distribution and its version? Data on Android phones would be welcome, too.
It should be possible to send and receive icmp pings without priviledges or capabilities:
Unfortunately it's not as simple as:
This compiles and runs but it shows all pings as lost. Might be easy to fix, I've just spent two minutes to make this quick test.
The usage of this kernel feature might be restricted, but I expect it to be allowed on all modern unix systems. (I may be wrong, but has probably been introduced to allow containers (docker etc.) to use ping without any priviledges. As using containers is pretty standard nowadays it is reasonable to assume that it should be allowed on all modern Linux distributions.)
TODO
ipv4
only?)The text was updated successfully, but these errors were encountered: