I want to run an ICMP command to ping an IP Adress at Java:
However there is a security restriction that:
Normal users are allowed to create raw sockets.
So I can not run it. I don't want to run my application as root. So, which privileges should I assign to the user that runs my application for CAP_NET_RAW capability?