1
0
Fork 0
Commit graph

7 commits

Author SHA1 Message Date
991bad27d3 Add Switch to Print Both Reachable and Unreachable IPs
A new switch -a was added to print both reachable and unreachable
hosts.  To diffentiate, hosts are now colored based on their status.
The -a switch overrides -r and -d.
2013-03-01 15:52:07 -05:00
e45a78b619 Add Ability to Print Both IP and Hostname
Add -b switch to pring both the IP address and Hostname when scanning
a range.  The -b switch will also forcefully trigger the -n switch.
2013-02-28 08:12:20 -05:00
e0e789b58f Force Hostname Lookup
By default, pinger will not lookup hostnames for IPs that are
unreachable.  This prevents extended times if dead IPs do not have host
entries.  However, there are also cases where DNS resolution is
important even when the IP is unreachable.  pinger now supports this
using the -f flag.
2013-02-28 07:56:40 -05:00
d744edf83f Code Cleanup
Miscellaneous minor functionality fixes, comment additions, and
"refactoring" to make code slightly more readable.
2013-02-24 00:23:55 -05:00
dffd9eef2d Use Getopts::Std For Command Option Parsing 2013-02-23 21:33:20 -05:00
a88c923a5d Add switch to return by hostname 2013-02-23 19:46:28 -05:00
cd60141714 pinger must be run as root 2013-02-23 13:17:15 -05:00