Net-Ping
view release on metacpan or search on metacpan
CHANGES
-------
2.77 2026-06-02 07:34:55 rurban
Minor
- Fix tests to about.com (GH #34)
- Replace broken cpm matrix tests with cpanm
2.76 2025-09-08 08:39:55 rurban
Features
- use SOCK_DRGAM for ICMP under linux, which requires no root.
(Owen DeLong GH #33)
Minor
- Improve make release
2.75 2022-09-01 12:44:03 rurban
Minor
- Modernized the synopsis (PR #31)
- Fixed a link in a comment (PR #25)
META Changes
- Remove some TEST_REQUIRES (PR #23)
Test fixes
- Support NO_NETWORK_TESTING=1 (PR #24)
- Fix non-routable addresses for negative tests (PR #24)
2.74 2020-09-09 09:21:39 rurban
Features
- Add ICMPv6_NI_REPLY support.
Bugfixes
- Fix icmp payload offset to match icmpv6 (JimC Leones GH #21)
Skip the 20 byte header to reliably find the various return types.
This unifies icmpv6 with icmp better.
- Fix $SOCKET::VERSION eval (Petr Pavlu, PR #22)
META Changes
- Fix and improve the META repository as hashref, license as arrayref
(Tom Hukins, PR #19)
- add TEST_REQUIRES
- sort MANIFEST
- add windows smokers: appveyor
Test fixes
- Improve the tcp test to localhost, when there is no route to localhost
(freebsd mostly)
- TODO a flaky 450_service.t on 127.0.0.1 on port 2 on Windows (analog to freebsd, ...)
(Christian Walde, PR #20)
- Skip 501_ping_icmpv6.t when icmpv6 cannot be initialized. Mostly due to missing
icmpv6 support. (GH #15)
- add more xt tests: t/602_kwalitee.t, t/603_meta.t, t/604_manifest.t
2.73 Thu Feb 27 14:32:25 CET 2020 (rurban)
Bugfixes
- Fix shadowing of hash options in constructor (Patrick Heesom, RT #131919)
- Fix icmp v4 length with given bytes/data_size option (Patrick Heesom, RT #131919)
- Call _resolv as class method (Marc Reissner, GH #16)
2.72 Thu 28 Mar 2019 09:01:39 AM CET (rurban)
Features
- add .cirrus.yml smoker https://cirrus-ci.com/github/rurban/Net-Ping
Test fixes
- Skip failing freebsd localhost resolver tests
2.71 Tue Oct 16 18:41:51 CEST 2018 (rurban)
Features
- Allow data_size > 1024, up to 65535, i.e. fragmented packets.
It is recommended to stay below 1472 though for the typical 1500 MTU.
Many simple devices do not allow fragmented ICMP packets (> 1472).
RT #17409
Bugfixes
- Fix the max_datasize documentation
Test fixes
- The 2 sudo tests on PERL_CORE with a shared perl lib
2.70 Tue Aug 7 10:33:24 CEST 2018 (rurban)
Test fixes
- Fix broken skip count on 510_ping_udp.t (windows only)
2.69 Mon Aug 6 15:13:25 CEST 2018 (rurban)
Test fixes
- Allow NET_PING_FAIL_IP override for testing an IP which should not exist,
RT #126006 hmbrand
META Changes
- Updated README
2.68 Wed Jun 27 11:55:06 CEST 2018 (rurban)
Bugfixes
- Fixed _resolv return value on failing DNS name lookup. (GH #12 nlv02636)
- Fixed installation dir from CPAN. Install into site, not perl there.
(GH #12 nlv02636)
2.67 Mon Jun 25 18:10:42 CEST 2018 (rurban)
Bugfixes
- Fixed non-core icmp ping test. PR #10 Guillaume Bougard
- Change croak on failing name lookup to return undef,
matching the documentation.
Fixes the regression from 2.43, RT #124830
- Stabilize Socket::VERSION comparisons, errored with Net::Socket
2.020_03, RT #125677 Smoot Carl-Mitchell
Features
- Added icmp message_type method with timestamp support.
PR #11 Guillaume Bougard
2.66 Thu Mar 8 16:44:03 CET 2018 (rurban)
Bugfixes
- Fixed icmpv6 ICMP_ECHOREPLY: nikolas@garofil.be RT 80479
- Fixed icmpv6 default family
- Simplify t/020_external.t
- Seperate timeout=0 and undef RT #97884
Features
- Added icmpv6 test.
- Added optional local tests hosts for the icmp tests:
TEST_PING_HOST and TEST_PING6_HOST
- allow sudo tests with local .git
- skip sudo test with asan leak detector on linux
2.65 Wed Mar 7 09:38:51 CET 2018 (rurban)
META Changes
- strip wrong Text::Template dependency and generation for the README
https://rt.cpan.org/Public/Bug/Display.html?id=124693
This is in core.
- Changed repo name from net-ping to Net-Ping.
- Changed bugtracker to https://github.com/rurban/Net-Ping/issues
- Made Makefile.PL more stable for the CPAN release, support older
perl + EUMM versions.
- Fixed up TODO for IPv6
2.64 Sat Mar 3 15:56:14 CET 2018 (rurban)
Bugfixes
- use NIx_NOSERV flag for windows (PR #6 by chorny)
2.63 Sun Nov 26 18:56:04 CET 2017 (rurban)
Bugfixes
- Keep v5.002 - v5.6 support
- Removed outdated demo/fping from the documentation
(RT #123750 by Steve Morris)
- Added t/420_ping_syn_port.t (#4 by Julio Fraire)
with fixes.
Features
- added indices and crosslinks to the documentation
2.62 Tue Sep 12 13:20:25 2017 -0600 (Nicholas R)
Limitations (not on CPAN)
- Removed support for v5.002 < v5.6 by introducing our
2.61 Sat Jun 17 13:12:58 CEST 2017 (rurban)
Bugfixes
- Fix ping_udp for a started udp echo server (PR#5 by Stephan Loyd)
2.60 Mon Jun 12 20:14:13 CEST 2017 (rurban)
Bugfixes
- Fix t/400_ping_syn.t phases
- Try to handle Windows Socket::getnameinfo errors
- Improve some tests on missing network connections
2.59 Tue Apr 18 08:46:48 2017 +0200 (rurban)
Bugfixes
- skip udp ping tests on more platforms: hpux, irix, aix.
also pingecho on os390.
(from perl5 core)
Features
- added a make release target
2.58 Wed Feb 1 19:34:03 CET 2017 (rurban)
Features
- return the port num as 5th return value with ack (jfraire)
2.57 Wed Feb 1 19:34:03 CET 2017 (rurban)
Bugfixes
- Resigned with new gpg key
2.56 Wed Jan 18 16:00:00 2017 -0700 (bbb)
Bugfixes
- Stabilize tests
2.55 Thu Oct 20 09:16:06 2016 +0200 (rurban)
Bugfixes
- Skip sudo for t/500_ping_icmp.t if a prompt is required
[RT #118451]
2.54 Thu Oct 20 09:16:06 2016 +0200 (rurban)
Bugfixes
- Fixed ping_external argument type, either packed ip or hostname.
[RT #113825]
- Fixed wrong skip message in t/020_external.t
2.53 Thu Oct 20 09:16:06 2016 +0200 (rurban)
Bugfixes
- Relax icmp tests on local firewalls, eg. as here on windows reported
by kmx. [RT #118441]
Internals
- Enhanced .travis.yml
2.52 Tue Oct 18 16:29:29 2016 +0200 (rurban)
version in cperl since 5.25.2c
Bugfixes
- Fixed _pack_sockaddr_in for a proper 2nd argument type, hash or packed address.
- Improved 500_ping_icmp.t to try sudo.
Internals
- Converted all hash string keys to bare.
2.51 Mon Oct 17 16:11:03 2016 +0200 (rurban)
version in cperl since 5.25.2c
Bugfixes
- Fixed missing _unpack_sockaddr_in family, which took AF_INET6 for
a AF_INET addr in t/500_ping_icmp.t and t/500_ping_icmp_ttl.t.
Use now a proper default.
2.50 Sat Apr 16 11:50:20 2016 +0200 (rurban)
version in cperl since 5.22.2c
Features
- Handle IPv6 addresses and the AF_INET6 family.
- Added the optional family argument to most methods.
valid values: 6, "v6", "ip6", "ipv6", AF_INET6
- new can take now named arguments, a hashref.
- Added the following named arguments to new:
gateway host port bind retrans pingstring source_verify econnrefused
IPV6_USE_MIN_MTU IPV6_RECVPATHMTU IPV6_HOPLIMIT
- Added a dontfrag option, setting IP_DONTFRAG and on linux
also IP_MTU_DISCOVER to IP_PMTUDISC_DO. Note that is ignored if
( run in 0.969 second using v1.01-cache-2.11-cpan-e1769b4cff6 )