Comments (5)
I will check this out and get back to you as soon as I can. Thanks for the question!
from net-ping.
@TiagoCardoso1983 because creating an ICMP packet requires a raw socket, and creating raw sockets requires root privileges.
from net-ping.
Yup, I've found that out since then, it sucks. how does the ping
cli tool gets away with it? That would be interesting to know.
from net-ping.
@TiagoCardoso1983 Your ping command is setuid root.
from net-ping.
it is clear now, thx.
from net-ping.
Related Issues (17)
- IPv6 support? HOT 2
- Busybox external ping fails because -i argument doesn't exist HOT 1
- External ping command fails on Void Linux (`-i` argument should come before host?) HOT 6
- ICMP ping should check for either root user OR cap_net_raw
- this gem only works on Linux? HOT 15
- 2.0.3 tag on GitHub HOT 1
- More relevant duration HOT 2
- Plans to use DGRAM sockets for ICMP ? HOT 5
- is this library nonblocking?
- Largely unmaintained HOT 3
- False ping6 parameters
- Not threadsafe? HOT 1
- Windows gem dependency isn't properly set
- Ping with timeout always fails on Mac
- Release 1.7.8 having the same External ping duration bug as #2 HOT 6
- `The specification for net-ping-2.0.0 is corrupt` HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from net-ping.