If you're like me, you have a bunch of trusty (and rusty) shell scripts that you reach for when doing things like testing a new load balancer.

Enough of that! igp (It goes PING!) is a simple command line utility for testing services with a range of common protocols: ICMP, UDP, TCP, HTTP/S, LDAP/S and so on.

This is nothing earth shattering I know, but it's nice to have simple cross-platform (since it's ruby) tool that does all the common protocols in one. Thankfully, most of the work has already been done by the net-ping library - igp really just provides a sleek command-line wrapper.

The only dependency is ruby+rubygems. Just:
gem install igp
And then you are ready to capture traces, for example:
igp my.server.com#   ^ ICMP assumed by default. This is the same as:igp icmp://my.server.comigp http://my.insecure.server.comigp http://my.insecure.server-hiding-on-a-funny-port.com:8080/javascripts/all.jsigp https://my.secure.server.comigp https://my.secure.server-hiding-on-a-funny-port.com:4443igp tcp://my.tcp-service.com:9091igp udp://my.udp-service.com:123igp ldap://my.insecure.ldap.server.comigp ldaps://my.secure.ldap.server.com

Blogarhythm: Keep it Up - Snap!