Comments (1)
While I appreciate the interest, a conscious decision was made not to implement convenience functions like name resolution for targets or interface binding. These types of things very from system to system, return multiple results, and are rather complex to implement portably. They are also easy to handle externally with scripts, and commonly have to be to ensure the correct result. Implementing them inside of dpinger would be a lot of complexity for very little return.
An example looking at interface names in particular... the most common use case for dpinger is on a firewall. In that use case, it is common that an interface has multiple IP addresses assigned to it. Which do you choose? The first address in the array is frequently the wrong choice. And choosing one at random is simply a bad idea. It's much better, and usually much simpler, to externally determine the IP address you wish to bind to and provide that information to dpinger.
from dpinger.
Related Issues (18)
- dpinger doesn't work with source IPs specifying a scope ID HOT 1
- dpinger fails to start on IPv6 IPs considered "tentative" HOT 3
- Does not build on FreeBSD 9 HOT 5
- Collecting Stats HOT 1
- pidfile not checked HOT 2
- Needs to support multiple targets HOT 1
- [FEATURE REQUEST] Multiple Targets HOT 1
- Negative numbers in parameters should be rejected
- Don't wait for send interval before sending first echo request
- Use accept4()
- Remove DISABLE_ACCEPT4 HOT 3
- Multiple targets revisited HOT 7
- Very handy app! But missing some features! HOT 9
- How to use it to check if public/external IP have changed and create an alert notification? HOT 1
- Add control over alarm decay intervals HOT 2
- Command not running on failure HOT 3
- readme file? HOT 2
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 dpinger.