1
0
Fork 0
Commit Graph

8 Commits

Author SHA1 Message Date
Andrew Tomaka 6b666d6266 Show Status Difference With Symbol
Add the -p switch to show the difference between reachable and
unreachable destinations.  This allows outputting to a text file while
still being able to distinguish between the status of IP address when
the -a switch is used.
2013-03-01 17:54:03 -05:00
Andrew Tomaka 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
Andrew Tomaka 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
Andrew Tomaka 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
Andrew Tomaka 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
Andrew Tomaka dffd9eef2d Use Getopts::Std For Command Option Parsing 2013-02-23 21:33:20 -05:00
Andrew Tomaka a88c923a5d Add switch to return by hostname 2013-02-23 19:46:28 -05:00
Andrew Tomaka cd60141714 pinger must be run as root 2013-02-23 13:17:15 -05:00