From 9682f3e49dbb1560b6de746388d39bf4983e1439 Mon Sep 17 00:00:00 2001 From: David Schweikert Date: Sun, 2 Aug 2020 18:16:15 +0200 Subject: [PATCH] add a not about unprivileged mode --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 938a5a1..5acd769 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,12 @@ If you want to install fping from source, proceed as follows: 3. Make fping either setuid, or, if under Linux: `sudo setcap cap_net_raw+ep fping` +If you can't run fping as root or can't use the cap_net_raw capability, you can +also run fping in unprivileged mode. This works on MacOS and also on Linux, +provided that your GID is included in the range defined in +`/proc/sys/net/ipv4/ping_group_range`. This is particularly useful for running +fping in rootless / unprivileged containers. + ## Usage Have a look at the [fping(8)](doc/fping.pod) manual page for usage help.