Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Feature Request: Support non-HTTP (ICMP, TCP connect) measurements #15

Open
eric opened this issue Jan 1, 2015 · 2 comments
Open

Feature Request: Support non-HTTP (ICMP, TCP connect) measurements #15

eric opened this issue Jan 1, 2015 · 2 comments

Comments

@eric
Copy link

eric commented Jan 1, 2015

There are a lot of cases where I would like to monitor basic connectivity via ICMP (I am currently using smokeping with fping).

Are other protocols something you're considering doing?

@gorsuch
Copy link
Member

gorsuch commented Jan 1, 2015

That's a fantastic idea, and yes, sounds wonderful to me. Once I finish up on #6, we can investigate how we might extend the interfaces (if necessary) to handle other protocols.

It would also be cool if we could express these definitions as URLs (icmp://192.168.1.1, tcp://192.168.1.1:10000, etc).

@eric
Copy link
Author

eric commented Jan 1, 2015

Another fun trick/hack I've thought about is testing the time it takes to get a "Connection Refused" response back from a server.

The thing that's nice about ICMP is that it doesn't require a service to be running and listening to get a response. Unfortunately, sending ICMP requires the process be run by root (or otherwise setuid as root).

I have had an idea that if you try to open a TCP connection to a port that isn't listening and time how long it takes to get the "Connection Refused" back, it should give you reasonable network timing without using ICMP.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants