You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would you consider adding a SOCK_DGRAM attempt in case the the raw socket fails on permission error?
This would allow non privileged users to run gufo_ping on Linux when a large ping_group_range is set (looks like it is now the default for many distros).
This is done for instance by ping3 and by iptutils which actually tries DGRAM as first option.
The text was updated successfully, but these errors were encountered:
Thank you for your consideration.
I believe there could be some issue with RECVTTL and RETOPTS socket options (used by iputils implementation) which don't seem to be supported by rust socket2 library (yet?). Maybe there is a way around since ping3 does not seem to set those socket options.
Proposed new feature or change:
Would you consider adding a
SOCK_DGRAM
attempt in case the the raw socket fails on permission error?This would allow non privileged users to run
gufo_ping
on Linux when a large ping_group_range is set (looks like it is now the default for many distros).This is done for instance by ping3 and by iptutils which actually tries
DGRAM
as first option.The text was updated successfully, but these errors were encountered: