Skip to content

Conversation

Oliviers-OSS
Copy link

Hello,
This version is able to manage the cap_net_raw capability, to set it effective to create the raw socket then clear it.
This allows to set only permitted cap_net_raw capability without set it effective all the time the program is running ( setcap cap_net_raw=p instead of setcap cap_net_raw=ep).
Best regards,
Olivier

Olivier added 2 commits March 3, 2019 08:47
This allows this to run as non-root again, without this, oping will
have dropped privileges before trying to ping, which then fails to
open the necessary raw sockets.

Fixes: octo#34

Patch from tfheen@a88c51f?diff=split
Set (enable) to create the raw socket then cleared.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant