1CHANGES 2------- 32.72 Thu 28 Mar 2019 09:01:39 AM CET (rurban) 4 Features 5 - add .cirrus.yml smoker https://cirrus-ci.com/github/rurban/Net-Ping 6 Test fixes 7 - Skip failing freebsd localhost resolver tests 8 92.71 Tue Oct 16 18:41:51 CEST 2018 (rurban) 10 Features 11 - Allow data_size > 1024, up to 65535, i.e. fragmented packets. 12 It is recommended to stay below 1472 though for the typical 1500 MTU. 13 Many simple devices do not allow fragmented ICMP packets (> 1472). 14 RT #17409 15 Bugfixes 16 - Fix the max_datasize documentation 17 Test fixes 18 - The 2 sudo tests on PERL_CORE with a shared perl lib 19 202.70 Tue Aug 7 10:33:24 CEST 2018 (rurban) 21 Test fixes 22 - Fix broken skip count on 510_ping_udp.t (windows only) 23 242.69 Mon Aug 6 15:13:25 CEST 2018 (rurban) 25 Test fixes 26 - Allow NET_PING_FAIL_IP override for testing an IP which should not exist, 27 RT #126006 hmbrand 28 META Changes 29 - Updated README 30 312.68 Wed Jun 27 11:55:06 CEST 2018 (rurban) 32 Bugfixes 33 - Fixed _resolv return value on failing DNS name lookup. (GH #12 nlv02636) 34 - Fixed installation dir from CPAN. Install into site, not perl there. 35 (GH #12 nlv02636) 36 372.67 Mon Jun 25 18:10:42 CEST 2018 (rurban) 38 Bugfixes 39 - Fixed non-core icmp ping test. PR #10 Guillaume Bougard 40 - Change croak on failing name lookup to return undef, 41 matching the documentation. 42 Fixes the regression from 2.43, RT #124830 43 - Stabilize Socket::VERSION comparisons, errored with Net::Socket 44 2.020_03, RT #125677 Smoot Carl-Mitchell 45 Features 46 - Added icmp message_type method with timestamp support. 47 PR #11 Guillaume Bougard 48 492.66 Thu Mar 8 16:44:03 CET 2018 (rurban) 50 Bugfixes 51 - Fixed icmpv6 ICMP_ECHOREPLY: nikolas@garofil.be RT 80479 52 - Fixed icmpv6 default family 53 - Simplify t/020_external.t 54 - Seperate timeout=0 and undef RT #97884 55 Features 56 - Added icmpv6 test. 57 - Added optional local tests hosts for the icmp tests: 58 TEST_PING_HOST and TEST_PING6_HOST 59 - allow sudo tests with local .git 60 - skip sudo test with asan leak detector on linux 61 622.65 Wed Mar 7 09:38:51 CET 2018 (rurban) 63 META Changes 64 - strip wrong Text::Template dependency and generation for the README 65 https://rt.cpan.org/Public/Bug/Display.html?id=124693 66 This is in core. 67 - Changed repo name from net-ping to Net-Ping. 68 - Changed bugtracker to https://github.com/rurban/Net-Ping/issues 69 - Made Makefile.PL more stable for the CPAN release, support older 70 perl + EUMM versions. 71 - Fixed up TODO for IPv6 72 732.64 Sat Mar 3 15:56:14 CET 2018 (rurban) 74 Bugfixes 75 - use NIx_NOSERV flag for windows (PR #6 by chorny) 76 772.63 Sun Nov 26 18:56:04 CET 2017 (rurban) 78 Bugfixes 79 - Keep v5.002 - v5.6 support 80 - Removed outdated demo/fping from the documentation 81 (RT #123750 by Steve Morris) 82 - Added t/420_ping_syn_port.t (#4 by Julio Fraire) 83 with fixes. 84 Features 85 - added indices and crosslinks to the documentation 86 872.62 Tue Sep 12 13:20:25 2017 -0600 (Nicholas R) 88 Limitations (not on CPAN) 89 - Removed support for v5.002 < v5.6 by introducing our 90 912.61 Sat Jun 17 13:12:58 CEST 2017 (rurban) 92 Bugfixes 93 - Fix ping_udp for a started udp echo server (PR#5 by Stephan Loyd) 94 952.60 Mon Jun 12 20:14:13 CEST 2017 (rurban) 96 Bugfixes 97 - Fix t/400_ping_syn.t phases 98 - Try to handle Windows Socket::getnameinfo errors 99 - Improve some tests on missing network connections 100 1012.59 Tue Apr 18 08:46:48 2017 +0200 (rurban) 102 Bugfixes 103 - skip udp ping tests on more platforms: hpux, irix, aix. 104 also pingecho on os390. 105 (from perl5 core) 106 Features 107 - added a make release target 108 1092.58 Wed Feb 1 19:34:03 CET 2017 (rurban) 110 Features 111 - return the port num as 5th return value with ack (jfraire) 112 1132.57 Wed Feb 1 19:34:03 CET 2017 (rurban) 114 Bugfixes 115 - Resigned with new gpg key 116 1172.56 Wed Jan 18 16:00:00 2017 -0700 (bbb) 118 Bugfixes 119 - Stabilize tests 120 1212.55 Thu Oct 20 09:16:06 2016 +0200 (rurban) 122 123 Bugfixes 124 - Skip sudo for t/500_ping_icmp.t if a prompt is required 125 [RT #118451] 126 1272.54 Thu Oct 20 09:16:06 2016 +0200 (rurban) 128 129 Bugfixes 130 - Fixed ping_external argument type, either packed ip or hostname. 131 [RT #113825] 132 - Fixed wrong skip message in t/020_external.t 133 1342.53 Thu Oct 20 09:16:06 2016 +0200 (rurban) 135 136 Bugfixes 137 - Relax icmp tests on local firewalls, eg. as here on windows reported 138 by kmx. [RT #118441] 139 140 Internals 141 - Enhanced .travis.yml 142 1432.52 Tue Oct 18 16:29:29 2016 +0200 (rurban) 144 version in cperl since 5.25.2c 145 146 Bugfixes 147 - Fixed _pack_sockaddr_in for a proper 2nd argument type, hash or packed address. 148 - Improved 500_ping_icmp.t to try sudo. 149 150 Internals 151 - Converted all hash string keys to bare. 152 1532.51 Mon Oct 17 16:11:03 2016 +0200 (rurban) 154 version in cperl since 5.25.2c 155 156 Bugfixes 157 - Fixed missing _unpack_sockaddr_in family, which took AF_INET6 for 158 a AF_INET addr in t/500_ping_icmp.t and t/500_ping_icmp_ttl.t. 159 Use now a proper default. 160 1612.50 Sat Apr 16 11:50:20 2016 +0200 (rurban) 162 version in cperl since 5.22.2c 163 164 Features 165 - Handle IPv6 addresses and the AF_INET6 family. 166 - Added the optional family argument to most methods. 167 valid values: 6, "v6", "ip6", "ipv6", AF_INET6 168 - new can take now named arguments, a hashref. 169 - Added the following named arguments to new: 170 gateway host port bind retrans pingstring source_verify econnrefused 171 IPV6_USE_MIN_MTU IPV6_RECVPATHMTU IPV6_HOPLIMIT 172 - Added a dontfrag option, setting IP_DONTFRAG and on linux 173 also IP_MTU_DISCOVER to IP_PMTUDISC_DO. Note that is ignored if 174 Socket does not export IP_DONTFRAG. 175 - Added the wakeonlan method 176 - Improve argument default handling 177 - Added missing documentation 178 179 Bugfixes 180 - Reapply tos with ping_udp, when the address is changed. 181 RT #6706 (Torgny.Hofstedt@sevenlevels.se) 182 ditto re-bind to a device. 183 184 Internals 185 - $ip is now a hash with {addr, addr_in, family} not the addr_in packed IP. 186 - added _resolv replacing inet_aton, 187 _pack_sockaddr_in and _unpack_sockaddr_in replacing sockaddr_in, 188 _inet_ntoa replacing inet_ntoa 189 - Use _isroot helper, with Win32 _IsAdminUser helper. 190 - added several new tests (Steve Peters) 191 1922.43 Mon Apr 29 00:23:56 2013 -0300 193 version in perl core since 5.19.9 194 Bugfixes 195 - Handle getprotobyn{ame,umber} not being available 1962.42 Sun May 26 19:08:46 2013 -0700 197 version in perl core since 5.19.1 198 Bugfixes 199 - Stabilize tests 200 Internals 201 - wrap long pod lines 2022.41 Mar 17 09:35 2013 203 Bugfixes 204 - Windows Vista does not appear to support inet_ntop(). It seems to 205 have InetNtop() instead. So, working around by using getnameinfo() 206 and passing in the NI_NUMERICHOST to get an IP address. 207 Features 208 - Change Net::Ping to use Time::HiRes::time() instead of CORE::time() 209 by default. For most successful cases, CORE::time() returned zero. 2102.40 Mar 15 11:20 2013 211 Bugfixes 212 - several fixes to tests to stop the black smoke on Win32's 213 and Cygwin since the core updated the module to Test::More. 214 I had planned a later release, but all the black smoke is 215 forcing a release. 216 - fixes to some skips in tests that were still using the 217 Test style skip's. 218 - Documentation fix for https://rt.cpan.org/Ticket/Display.html?id=48014. 219 Thanks to Keith Taylor <keith@supanet.net.uk> 220 - Instead of using a hard-coded TOS value, import IP_TOS from 221 Socket. This fixes an outstanding bug on Solaris which uses a 222 different value for IP_TOS in it headers than Linux. I'm assuming 223 other OS's were fixed with this change as well. 224 225 Features 226 - added TTL handling for icmp pings to allow traceroute like 227 applications to be built with Net::Ping. Thanks to 228 <rolek@bokxing.nl> for the patch and tests! 229 230 Internals 231 - replaced SOL_IP with IPPROTO_IP. SOL_IP is not portable and was 232 hard-coded anyway. 233 - added IPPROTO_IP, IP_TOS, IP_TTL, and AF_INET to the list of Socket 234 constants imported. 235 - removed some hard-coded constants. 236 - converted all calls to inet_ntoa() to inet_ntop() in preparation 237 for further ipv6 updates. 238 239 Infrastructure 240 - Makefile.PL updated to require Test::More, Time::HiRes, and a 241 recent Socket 242 - several changes for github hosting 243 - add a .gitignore file 244 - added a .travis.yml file to allow CI testing with changes pushed 245 to github 246 - replaced the README with a README.md which displays the 247 Travis CI build status on github. 248 249 2502.39 Mar 13 09:25 2013 251 - patch from Matthew Musgrove to resolve RT #45812. Thanks! 252 - pulled in several changes from the Perl core 253 2542.36 Jun 08 12:00 2009 255 - release to include a few fixes from the Perl core 256 2572.35 Feb 08 14:42 2008 258 - Patch in Perl change #33242 by Nicholas Clark 259 <http://perl5.git.perl.org/perl.git/commit/5d6b07c5a4c042580b85248d570ee299fd102a79> 260 2612.34 Dec 19 08:51 2007 262 - Release primarily to prevent problems with the Perl core in 263 preparation for the Perl 5.10 release. No real bug fixes, but 264 text fixes are included. 265 - skip test t/510_ping_udp.t on Windows Vista. Thanks to Jan 266 Dubois for the code to test for Vista. 267 - t/510_ping_udp.t should check for a udp echo port, not a tcp 268 echo port. 269 2702.33 Jul 31 20:15 2007 271 - add new method port_number() rather than asking users to 272 twiddle with the internals of Net::Ping to probe a specific 273 port. This should resolve a few bugs where the documentation 274 was lacking. 275 - apply patch from bergonz at labs.it. This patch resolves 276 several problems logged regarding using Net::Ping in a multi- 277 threaded program. Thanks so much! 278 <http://rt.cpan.org/Ticket/Display.html?id=17408> 279 2802.32 Jul 30 21:30 2007 281 - new co-maintainer Steve Peters 282 - integrate assorted bleadperl fixes from the past four years 283 <http://rt.cpan.org/Public/Bug/Display.html?id=28348> 284 2852.31 Jun 28 14:00 2003 286 - Win32 Compatibility fixes. 287 Patch by mhx-perl@gmx.net (Marcus Holland-Moritz) 288 - Apply bleadperl patch #22204 289 - Add ToS support. 290 Patch by martin@lorensen.dk (Martin Lorensen) 291 2922.30 Apr 18 14:00 2003 293 - Fix select() bug for UDP and ICMP protocols 294 in case packet comes from wrong source or seq. 295 - Allow UDP ping to different IP addresses 296 without instantiating a new object. 297 - Add retrans() method to customize or disable 298 backoff factor for udp pings. 299 Thanks Torgny.Hofstedt@sevenlevels.se 300 - Let ECONNRESET be considered reachable for 301 UDP pings. Now it works for cygwin. 302 Spot by jhi@iki.fi (Jarkko Hietaniemi). 303 3042.29 Apr 12 15:00 2003 305 - Implement "double send()" concept for udp pings. 306 See: <http://perlmonks.thepen.com/42898.html> 307 Thanks to rdw @ perlmonks. 308 - Send multiple udp packets in case of loss. 309 - Exponential backoff code swiped from Net::DNS 310 Thanks to mike@fuhr.org (Michael Fuhr). 311 - Also allows to capture udp ECONNREFUSED condition. 312 - Rename tcp_service_check method to service_check. 313 - Allow demo/fping -s to force service check. 314 Idea by ralijani@yahoo.com (REZA Alijani) 315 - Fix return from ping to be compatible with wantarray 316 when the host doesn't even resolve. 317 - Add udp proto test to test suite. 318 - VMS patch from Craig Berry to pre-check echo. 319 - Apply bleadperl patch (change #18904) 320 - Apply bleadperl patch as explained: 321 http://www.xray.mpe.mpg.de/mailing-lists/perl5- 322 porters/2003-03/msg00992.html 323 3242.28 Jan 23 18:00 2003 325 - No new features. Bug fixes only. 326 - Fixed ICMP_STRUCT to work on Big Endian platforms. 327 Thanks to danb@thelittlemacshop.com (Dan Buettner) 328 for testing on Mac OS X 10.2.3 and many others 329 for testing on Big Endian boxes. 330 - Not do binmode(). Causes more problems than helps. 331 - Perl 5.004 compatibility fixes (Spot by Honza). 332 3332.27 Jan 15 23:00 2003 334 - Patch by slebedev@iwl.net (Sergey Lebedev): 335 - 1) Fixed response packet parsing offsets in ping_icmp. 336 - 2) Added icmp_result method. 337 - Patch by radu@netsoft.ro (Radu Greab): 338 - 1) Changed ping_tcp() to use non-blocking connect 339 instead of alarm() interface in order to avoid 340 conflicts with user applications. 341 - 2) Also get rid of all eval {} code in ping_tcp 342 in order to avoid catching SIGALRM trigger and 343 to avoid conflicts with other evals. 344 - 3) Avoid ioctl() syscall for more accurate error 345 detection on non-blocking tcp connects. 346 - 4) Fix fcntl() syntax usage. 347 - Patch by adelton@fi.muni.cz (Honza Pazdziora): 348 - 1) Fix icmp request pack code to be more platform 349 independent regardless of Big/Little Endian. 350 - 2) Use binmode for filehandle in case perl 5.8.0 351 tries to dink with the data stream. 352 - Other changes by Rob Brown: 353 - Fixed ack() failures under certain rare conditions. 354 - Use more appropriate \z instead of $ in regex. 355 - Resolved Cygwin "make test" problems reported by 356 h.m.brand@hccnet.nl (H.Merijn Brand). 357 - Add sending a real ICMP packet in the test suite. 358 - Add Socket to PREREQ_PM (missing on some boxes?) 359 - Adjust syn_forking IPC pipe for fatter Win32 pids. 360 - Better handling of alarm() in test suite for Win32. 361 - Add a DESTROY method to reduce chances of 362 lingering connect-choking children. 363 3642.26 Dec 02 12:00 2002 365 - More compatibility fixes. 366 - Thanks for Solaris bug reports: 367 Paul.Gaborit@enstimac.fr (Paul Gaborit) 368 Jost.Krieger@ruhr-uni-bochum.de (Jost Krieger) 369 - Thanks for Solaris testing box: 370 Gunther.Heintzen@rrze.uni-erlangen.de (Gunther Heintzen) 371 - Solaris ENOTCONN select() for write choke bug. 372 - Thanks for Cygwin bug reports: 373 h.m.brand@hccnet.nl (H.Merijn Brand) 374 - Cygwin "EAGAIN instead of ECONNREFUSED" buttwag. 375 3762.25 Nov 19 12:00 2002 377 - Handle condition where O_NONBLOCK tcp connects 378 immediately fail without EINPROGRESS 379 (certain platforms or SMP optimizations). 380 3812.24 Oct 21 22:00 2002 382 - Compatibility fixes. 383 - Avoid using 127.1.1.1 and 127.2.2.2 because 384 it breaks on some platforms (Irix). 385 - Handle condition where nonblocking tcp connects 386 immediately connect on some platforms 387 (solaris and freebsd) and to be SMP safer. 388 - Win32 $p->ack( $host ) method should now work. 389 - Add ack( $host ) test cases to test suite. 390 3912.23 Oct 18 22:00 2002 392 - Fix ack() fd "each" detection bug. 393 - Add nack() method for OO interface to the 394 reason why the ack() failed. 395 - Fix premature "Timed out" side effect when a 396 different specified ack( $host ) fails. 397 - IO::Socket::INET ephemeral port buttwag 398 hack for the t/450_service.t test. 399 - Documental changes. 400 4012.22 Oct 17 16:00 2002 402 - Add $p->tcp_service_check() method to enforce 403 remote tcp service availability checking. 404 Patch by jef@linuxbe.org (Jean-Francois Dive). 405 - Changed default behavior of "syn" protocol to 406 disabled tcp_service_check instead of enabled. 407 - Win32 compatibility changes ("syn" protocol). 408 - Increase timeouts for tests in case client or 409 server network(s) are busy. 410 4112.21 Oct 14 12:00 2002 412 - Preserve/restore ALRM settings for tcp mode pings. 413 Spot by d@niel-berlin.de (Daniel Berlin) 414 - Can now select device for udp and icmp protocols. 415 Patch by sarfata@altern.org (Thomas Sarlandie). 416 - Add new "syn" protocol to allow for mass parallel 417 (synchronous) TCP service reachability checking. 418 - Add ack() method to utilize non-blocking connect 419 (SYN/ACK) feature of the "syn" protocol. 420 - Add demo/fping script as a "syn" demonstration. 421 - Compatibility patches for cygwin. 422 Spot by frazee.23@osu.edu (Joseph Frazee) 423 4242.20 Jun 20 10:00 2002 425 - Perl 5.8.0 compatibility stuff. 426 Spot by dcd@tc.fluke.com (David Dyck). 427 And patch by jhi@iki.fi (Jarkko Hietaniemi). 428 - Move INSTALL doc into perldoc. 429 - Allow source_verify method to work 430 for icmp protocol as well as udp. 431 Spot by taner@taner.net (Taner Halicioglu) 432 4332.19 Jun 03 19:00 2002 434 - Add $p->source_verify method to skip source 435 endpoint verification of udp protocol pings for 436 those remote destinations with multiple interfaces 437 that may have the "reverse telnet" bug. 438 Spot by dcd@tc.fluke.com (David Dyck) 439 - Moved files to more standard locations. 440 - Less common martian used for ping test 441 to reduce conflicts 442 4432.18 May 06 12:00 2002 444 - More RPM spec generalizations. 445 4462.17 May 03 18:00 2002 447 - RPM spec generalizations. 448 michael.mclagan@linux.org (Michael McLagan) 449 - Win32 compatibility changes. 450 (Didn't compile on Win32 since v2.11.) 451 4522.16 Apr 11 14:00 2002 453 - Documentation changes. 454 - Added INSTALL doc. 455 - Added README to rpm %doc. 456 - Added neat MakeMaker constants routine. 457 - Buttwag around Makefile.PL warnings: 458 o "the following files are missing in your kit" 459 o "is not a known MakeMaker parameter name" 460 4612.15 Apr 06 23:00 2002 462 - Added ABSTRACT info. 463 - Allow for smoother upgrade from 464 from older Net::Ping versions. 465 - Change default protocol from udp to tcp 466 so it will work on most default systems 467 without any arguments to new(). 468 4692.14 Apr 01 14:00 2002 470 - Added text ip lookup feature. 471 e@arix.com (Erick Calder) 472 4732.13 Apr 01 14:00 2002 474 - Added ping time measuring feature. 475 e@arix.com (Erick Calder) 476 - Optionally allow for high resolution 477 precision for timeouts and measuring 478 using the Time::HiRes module (Erick). 479 4802.12 Feb 17 19:00 2002 481 - More general error determination for 482 better cross platform consistency and 483 foreign language support. 484 Spotted by arnaud@romeconcept.com 485 - Test changes for VMS (Craig Berry) 486 4872.11 Feb 02 12:00 2002 488 - Test changes in case echo port is not available. 489 - Fix 110_icmp_inst.t to use icmp protocol 490 Spotted by craigberry@mac.com (Craig Berry) 491 4922.10 Dec 26 12:00 2001 493 - Added bind() function useful for clients with multiple 494 network interfaces performing the ping check thanks to 495 sethb@clarkhill.com (Seth Blumberg). 496 - Execution optimizations for several constants (Seth). 497 - More test changes in case Socket module is not available 498 (Jarkko Hietaniemi). 499 5002.09 Dec 06 19:00 2001 501 - Documental and test changes only. 502 - No functional changes. 503 5042.08 Dec 04 13:00 2001 505 - Faster response for Win32 tcp_connect. 506 - Better explanations in test comments. 507 5082.07 Nov 28 13:00 2001 509 - Compatibility changes 510 - Works with UNIX and Win32 OS 511 - Works with Perl 5.005 5.6.x 5.7.x 5.8.x 512 - Applied several patches from distro 513 - External protocol added thanks to 514 colinm@cpan.org (Colin McMillen) 515 - Stream protocol added thanks to 516 bronson@trestle.com (Scott Bronson) 517 5182.06 Nov 19 12:00 2001 519 - Added Net-Ping.spec for RPM to easily 520 utilize using "rpm -ta Net-Ping*tar.gz" 521 - Moved Copyright section to perldoc 522 5232.05 Nov 18 20:00 2001 524 - Added test suite 525 5262.04 Nov 16 16:00 2001 527 - Added CHANGES and README to tarball. 528 - No functional changes. 529 5302.03 Nov 15 12:00 2001 531 - Portability adjustments to ping_tcp() 532 made by Rob Brown to work with most 533 default systems. 534 5352.02 Sep 27 12:00 1996 536 - Magic version by Russell Mosemann from CPAN 537