Skip to content
/ nopinga Public

Wrapper around noping which pings all resolving IP addresses for a hostname, useful for dual-stack boxes or loadbalancing systems.

License

Notifications You must be signed in to change notification settings

xtaran/nopinga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nopinga

About

nopinga is a small wrapper around noping, the NCurses frontend to liboping to allow one to ping all addresses a hostname given on the commandline potentially resolves to.

This helps to ping both, IPv4 and IPv6 addresses of dual-stack hosts as well as pinging all IP addresses of loadbalancer systems.

It is essentially an implementation of liboping feature request (issue) #52: Please add a (n)oping option to ping all IP addresses (i.e. both, IPv4 and IPv6) for given hostnames, so far only for noping, but it should be easy to add support for oping, too.

All options and parameter to options are passed to noping unmodified — with the exception of unssupported options, namely -4 and -6 (which make not much sense in this case) as well as -f (not yet implemented).

Option accumulation is currently not supported either.

Dependencies

noping is written in Perl and requires at least Perl 5.10. Additionally it requires these Perl modules:

  • Net::DNS
  • Regexp::Common
  • List::Util (part of Perl's core as of this writing)

Development and Debugging

nopinga uses Smart::Comment-style comments as debugging statements. I use them like this:

$ perl -MSmart::Comments ./nopinga www.example.org

### DEBUG: '2606:2800:220:1:248:1893:25c8:1946',
###        '93.184.216.34'

Versioning and Changelog

The version number scheme adheres to Semantic Versioning and keeps a changelog.

Author, Copyright and License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

About

Wrapper around noping which pings all resolving IP addresses for a hostname, useful for dual-stack boxes or loadbalancing systems.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages