Skip to content

Commit 5cc4adb

Browse files
shemmingerdavem330
authored andcommitted
Documentation: add documentation of ping_group_range
Support for non-root users to send ICMP ECHO requests was added back in Linux 3.0 kernel, but the documentation for the sysctl to enable it has been missing. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 609120c commit 5cc4adb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/networking/ip-sysctl.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,13 @@ ip_early_demux - BOOLEAN
983983
reduces overall throughput, in such case you should disable it.
984984
Default: 1
985985

986+
ping_group_range - 2 INTEGERS
987+
Restrict ICMP_PROTO datagram sockets to users in the group range.
988+
The default is "1 0", meaning, that nobody (not even root) may
989+
create ping sockets. Setting it to "100 100" would grant permissions
990+
to the single group. "0 4294967295" would enable it for the world, "100
991+
4294967295" would enable it for the users, but not daemons.
992+
986993
tcp_early_demux - BOOLEAN
987994
Enable early demux for established TCP sockets.
988995
Default: 1

0 commit comments

Comments
 (0)