forked from djberg96/net-ping
-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hi,
I'm running net-ping gem on macOS High Sierra, and at least Net::Ping::TCP and Net::Ping::External are working ok (the ones I tested).
I tried Net::Ping::ICMP. I see it requires cap2 gem, so it fails with:
Caused by:
LoadError: cannot load such file -- cap2
cap2 is used to check whether there's net_raw enabled or not, because Net::Ping::ICMP uses raw socket.
Why does it use raw sockets? Is there any plan to use DGRAM sockets? Apple's ping utility uses DGRAM when the user is not root.
Metadata
Metadata
Assignees
Labels
No labels