schweikert / fping

High performance ping tool
https://fping.org
Other
1.01k stars 250 forks source link

VSCode debugging does not work requires root rights #333

Closed gsnw closed 1 month ago

gsnw commented 1 month ago

Debugging in VSCode does not work because fping requires root rights. Unfortunately, this was not taken into account during implementation.

Error message: fping: can't create socket (must run as root?)

auerswal commented 1 month ago

If fping requires root privileges (or the NET_CAP_RAW capability) should depend on the operating system and its configuration.

gsnw commented 1 month ago

I had forgotten to check my sysctl.d files when reinstalling Linux. The group ID has changed, so the net.ipv4.ping_group_range was no longer correct.

I didn't say anything, thanks