-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop sudo need #5
Comments
If I run it with sudo, I get |
@ryankrage77 Did you install for current user only instead of installing globally? Try type
(replace Or you can install for sudo user:
|
no way to work around this, kernel will not allow sending of packets that cannot be trusted. |
If the python interpreter being invoked has been provided the appropriate capabilities, e.g.
This lets you run the installed pingtop without invoking sudo, and only the specific privileges required for pingtop to do its thing are granted.
|
@sgowie there is no |
@gzxultra I am thinking support tcpping, if use tcpping do we still need |
I will check BSD ping's source code, see how does it run without sudo. |
@laixintao could you try this socket.SOCK_DGRAM in Python |
Solved by @gzxultra |
Replacement for RAW_SOCKET?
This tool need
sudo
because this:pingtop/ping.py
Line 202 in c8c522c
The text was updated successfully, but these errors were encountered: