1b39c5158SmillertCHANGES 2b39c5158Smillert------- 3*f2a19305Safresh12.75 2022-09-01 12:44:03 rurban 4*f2a19305Safresh1 Minor 5*f2a19305Safresh1 - Modernized the synopsis (PR #31) 6*f2a19305Safresh1 - Fixed a link in a comment (PR #25) 7*f2a19305Safresh1 META Changes 8*f2a19305Safresh1 - Remove some TEST_REQUIRES (PR #23) 9*f2a19305Safresh1 Test fixes 10*f2a19305Safresh1 - Support NO_NETWORK_TESTING=1 (PR #24) 11*f2a19305Safresh1 - Fix non-routable addresses for negative tests (PR #24) 12256a93a4Safresh12.74 2020-09-09 09:21:39 rurban 13256a93a4Safresh1 Features 14256a93a4Safresh1 - Add ICMPv6_NI_REPLY support. 15256a93a4Safresh1 Bugfixes 16256a93a4Safresh1 - Fix icmp payload offset to match icmpv6 (JimC Leones GH #21) 17256a93a4Safresh1 Skip the 20 byte header to reliably find the various return types. 18256a93a4Safresh1 This unifies icmpv6 with icmp better. 19256a93a4Safresh1 - Fix $SOCKET::VERSION eval (Petr Pavlu, PR #22) 20256a93a4Safresh1 META Changes 21256a93a4Safresh1 - Fix and improve the META repository as hashref, license as arrayref 22256a93a4Safresh1 (Tom Hukins, PR #19) 23256a93a4Safresh1 - add TEST_REQUIRES 24256a93a4Safresh1 - sort MANIFEST 25256a93a4Safresh1 - add windows smokers: appveyor 26256a93a4Safresh1 Test fixes 27256a93a4Safresh1 - Improve the tcp test to localhost, when there is no route to localhost 28256a93a4Safresh1 (freebsd mostly) 29256a93a4Safresh1 - TODO a flaky 450_service.t on 127.0.0.1 on port 2 on Windows (analog to freebsd, ...) 30256a93a4Safresh1 (Christian Walde, PR #20) 31256a93a4Safresh1 - Skip 501_ping_icmpv6.t when icmpv6 cannot be initialized. Mostly due to missing 32256a93a4Safresh1 icmpv6 support. (GH #15) 33256a93a4Safresh1 - add more xt tests: t/602_kwalitee.t, t/603_meta.t, t/604_manifest.t 34256a93a4Safresh1 35256a93a4Safresh12.73 Thu Feb 27 14:32:25 CET 2020 (rurban) 36256a93a4Safresh1 Bugfixes 37256a93a4Safresh1 - Fix shadowing of hash options in constructor (Patrick Heesom, RT #131919) 38256a93a4Safresh1 - Fix icmp v4 length with given bytes/data_size option (Patrick Heesom, RT #131919) 39256a93a4Safresh1 - Call _resolv as class method (Marc Reissner, GH #16) 40256a93a4Safresh1 41de8cc8edSafresh12.72 Thu 28 Mar 2019 09:01:39 AM CET (rurban) 42de8cc8edSafresh1 Features 43de8cc8edSafresh1 - add .cirrus.yml smoker https://cirrus-ci.com/github/rurban/Net-Ping 44de8cc8edSafresh1 Test fixes 45de8cc8edSafresh1 - Skip failing freebsd localhost resolver tests 46f3efcd01Safresh1 47f3efcd01Safresh12.71 Tue Oct 16 18:41:51 CEST 2018 (rurban) 48f3efcd01Safresh1 Features 49f3efcd01Safresh1 - Allow data_size > 1024, up to 65535, i.e. fragmented packets. 50f3efcd01Safresh1 It is recommended to stay below 1472 though for the typical 1500 MTU. 51f3efcd01Safresh1 Many simple devices do not allow fragmented ICMP packets (> 1472). 52f3efcd01Safresh1 RT #17409 53f3efcd01Safresh1 Bugfixes 54f3efcd01Safresh1 - Fix the max_datasize documentation 55f3efcd01Safresh1 Test fixes 56f3efcd01Safresh1 - The 2 sudo tests on PERL_CORE with a shared perl lib 57f3efcd01Safresh1 58f3efcd01Safresh12.70 Tue Aug 7 10:33:24 CEST 2018 (rurban) 59f3efcd01Safresh1 Test fixes 60f3efcd01Safresh1 - Fix broken skip count on 510_ping_udp.t (windows only) 61f3efcd01Safresh1 62f3efcd01Safresh12.69 Mon Aug 6 15:13:25 CEST 2018 (rurban) 63f3efcd01Safresh1 Test fixes 64f3efcd01Safresh1 - Allow NET_PING_FAIL_IP override for testing an IP which should not exist, 65f3efcd01Safresh1 RT #126006 hmbrand 66f3efcd01Safresh1 META Changes 67f3efcd01Safresh1 - Updated README 68f3efcd01Safresh1 69f3efcd01Safresh12.68 Wed Jun 27 11:55:06 CEST 2018 (rurban) 70f3efcd01Safresh1 Bugfixes 71f3efcd01Safresh1 - Fixed _resolv return value on failing DNS name lookup. (GH #12 nlv02636) 72f3efcd01Safresh1 - Fixed installation dir from CPAN. Install into site, not perl there. 73f3efcd01Safresh1 (GH #12 nlv02636) 74f3efcd01Safresh1 75f3efcd01Safresh12.67 Mon Jun 25 18:10:42 CEST 2018 (rurban) 76f3efcd01Safresh1 Bugfixes 77f3efcd01Safresh1 - Fixed non-core icmp ping test. PR #10 Guillaume Bougard 78f3efcd01Safresh1 - Change croak on failing name lookup to return undef, 79f3efcd01Safresh1 matching the documentation. 80f3efcd01Safresh1 Fixes the regression from 2.43, RT #124830 81f3efcd01Safresh1 - Stabilize Socket::VERSION comparisons, errored with Net::Socket 82f3efcd01Safresh1 2.020_03, RT #125677 Smoot Carl-Mitchell 83f3efcd01Safresh1 Features 84f3efcd01Safresh1 - Added icmp message_type method with timestamp support. 85f3efcd01Safresh1 PR #11 Guillaume Bougard 86f3efcd01Safresh1 87f3efcd01Safresh12.66 Thu Mar 8 16:44:03 CET 2018 (rurban) 88f3efcd01Safresh1 Bugfixes 89f3efcd01Safresh1 - Fixed icmpv6 ICMP_ECHOREPLY: nikolas@garofil.be RT 80479 90f3efcd01Safresh1 - Fixed icmpv6 default family 91f3efcd01Safresh1 - Simplify t/020_external.t 92f3efcd01Safresh1 - Seperate timeout=0 and undef RT #97884 93f3efcd01Safresh1 Features 94f3efcd01Safresh1 - Added icmpv6 test. 95f3efcd01Safresh1 - Added optional local tests hosts for the icmp tests: 96f3efcd01Safresh1 TEST_PING_HOST and TEST_PING6_HOST 97f3efcd01Safresh1 - allow sudo tests with local .git 98f3efcd01Safresh1 - skip sudo test with asan leak detector on linux 99f3efcd01Safresh1 100f3efcd01Safresh12.65 Wed Mar 7 09:38:51 CET 2018 (rurban) 101f3efcd01Safresh1 META Changes 102f3efcd01Safresh1 - strip wrong Text::Template dependency and generation for the README 103f3efcd01Safresh1 https://rt.cpan.org/Public/Bug/Display.html?id=124693 104f3efcd01Safresh1 This is in core. 105f3efcd01Safresh1 - Changed repo name from net-ping to Net-Ping. 106f3efcd01Safresh1 - Changed bugtracker to https://github.com/rurban/Net-Ping/issues 107f3efcd01Safresh1 - Made Makefile.PL more stable for the CPAN release, support older 108f3efcd01Safresh1 perl + EUMM versions. 109f3efcd01Safresh1 - Fixed up TODO for IPv6 110f3efcd01Safresh1 111f3efcd01Safresh12.64 Sat Mar 3 15:56:14 CET 2018 (rurban) 112f3efcd01Safresh1 Bugfixes 113f3efcd01Safresh1 - use NIx_NOSERV flag for windows (PR #6 by chorny) 114f3efcd01Safresh1 115f3efcd01Safresh12.63 Sun Nov 26 18:56:04 CET 2017 (rurban) 116f3efcd01Safresh1 Bugfixes 117f3efcd01Safresh1 - Keep v5.002 - v5.6 support 118f3efcd01Safresh1 - Removed outdated demo/fping from the documentation 119f3efcd01Safresh1 (RT #123750 by Steve Morris) 120f3efcd01Safresh1 - Added t/420_ping_syn_port.t (#4 by Julio Fraire) 121f3efcd01Safresh1 with fixes. 122f3efcd01Safresh1 Features 123f3efcd01Safresh1 - added indices and crosslinks to the documentation 124f3efcd01Safresh1 125f3efcd01Safresh12.62 Tue Sep 12 13:20:25 2017 -0600 (Nicholas R) 126f3efcd01Safresh1 Limitations (not on CPAN) 127f3efcd01Safresh1 - Removed support for v5.002 < v5.6 by introducing our 128f3efcd01Safresh1 1295759b3d2Safresh12.61 Sat Jun 17 13:12:58 CEST 2017 (rurban) 1305759b3d2Safresh1 Bugfixes 1315759b3d2Safresh1 - Fix ping_udp for a started udp echo server (PR#5 by Stephan Loyd) 1325759b3d2Safresh1 1335759b3d2Safresh12.60 Mon Jun 12 20:14:13 CEST 2017 (rurban) 1345759b3d2Safresh1 Bugfixes 1355759b3d2Safresh1 - Fix t/400_ping_syn.t phases 1365759b3d2Safresh1 - Try to handle Windows Socket::getnameinfo errors 1375759b3d2Safresh1 - Improve some tests on missing network connections 1385759b3d2Safresh1 1395759b3d2Safresh12.59 Tue Apr 18 08:46:48 2017 +0200 (rurban) 1405759b3d2Safresh1 Bugfixes 1415759b3d2Safresh1 - skip udp ping tests on more platforms: hpux, irix, aix. 1425759b3d2Safresh1 also pingecho on os390. 1435759b3d2Safresh1 (from perl5 core) 1445759b3d2Safresh1 Features 1455759b3d2Safresh1 - added a make release target 1465759b3d2Safresh1 1475759b3d2Safresh12.58 Wed Feb 1 19:34:03 CET 2017 (rurban) 1485759b3d2Safresh1 Features 1495759b3d2Safresh1 - return the port num as 5th return value with ack (jfraire) 1505759b3d2Safresh1 1515759b3d2Safresh12.57 Wed Feb 1 19:34:03 CET 2017 (rurban) 1525759b3d2Safresh1 Bugfixes 1535759b3d2Safresh1 - Resigned with new gpg key 1545759b3d2Safresh1 1555759b3d2Safresh12.56 Wed Jan 18 16:00:00 2017 -0700 (bbb) 1565759b3d2Safresh1 Bugfixes 1575759b3d2Safresh1 - Stabilize tests 1585759b3d2Safresh1 1595759b3d2Safresh12.55 Thu Oct 20 09:16:06 2016 +0200 (rurban) 1605759b3d2Safresh1 1615759b3d2Safresh1 Bugfixes 1625759b3d2Safresh1 - Skip sudo for t/500_ping_icmp.t if a prompt is required 1635759b3d2Safresh1 [RT #118451] 1645759b3d2Safresh1 1655759b3d2Safresh12.54 Thu Oct 20 09:16:06 2016 +0200 (rurban) 1665759b3d2Safresh1 1675759b3d2Safresh1 Bugfixes 1685759b3d2Safresh1 - Fixed ping_external argument type, either packed ip or hostname. 1695759b3d2Safresh1 [RT #113825] 1705759b3d2Safresh1 - Fixed wrong skip message in t/020_external.t 1715759b3d2Safresh1 1725759b3d2Safresh12.53 Thu Oct 20 09:16:06 2016 +0200 (rurban) 1735759b3d2Safresh1 1745759b3d2Safresh1 Bugfixes 1755759b3d2Safresh1 - Relax icmp tests on local firewalls, eg. as here on windows reported 1765759b3d2Safresh1 by kmx. [RT #118441] 1775759b3d2Safresh1 1785759b3d2Safresh1 Internals 1795759b3d2Safresh1 - Enhanced .travis.yml 1805759b3d2Safresh1 1815759b3d2Safresh12.52 Tue Oct 18 16:29:29 2016 +0200 (rurban) 1825759b3d2Safresh1 version in cperl since 5.25.2c 1835759b3d2Safresh1 1845759b3d2Safresh1 Bugfixes 1855759b3d2Safresh1 - Fixed _pack_sockaddr_in for a proper 2nd argument type, hash or packed address. 1865759b3d2Safresh1 - Improved 500_ping_icmp.t to try sudo. 1875759b3d2Safresh1 1885759b3d2Safresh1 Internals 1895759b3d2Safresh1 - Converted all hash string keys to bare. 1905759b3d2Safresh1 1915759b3d2Safresh12.51 Mon Oct 17 16:11:03 2016 +0200 (rurban) 1925759b3d2Safresh1 version in cperl since 5.25.2c 1935759b3d2Safresh1 1945759b3d2Safresh1 Bugfixes 1955759b3d2Safresh1 - Fixed missing _unpack_sockaddr_in family, which took AF_INET6 for 1965759b3d2Safresh1 a AF_INET addr in t/500_ping_icmp.t and t/500_ping_icmp_ttl.t. 1975759b3d2Safresh1 Use now a proper default. 1985759b3d2Safresh1 1995759b3d2Safresh12.50 Sat Apr 16 11:50:20 2016 +0200 (rurban) 2005759b3d2Safresh1 version in cperl since 5.22.2c 2015759b3d2Safresh1 2025759b3d2Safresh1 Features 2035759b3d2Safresh1 - Handle IPv6 addresses and the AF_INET6 family. 2045759b3d2Safresh1 - Added the optional family argument to most methods. 2055759b3d2Safresh1 valid values: 6, "v6", "ip6", "ipv6", AF_INET6 2065759b3d2Safresh1 - new can take now named arguments, a hashref. 2075759b3d2Safresh1 - Added the following named arguments to new: 2085759b3d2Safresh1 gateway host port bind retrans pingstring source_verify econnrefused 2095759b3d2Safresh1 IPV6_USE_MIN_MTU IPV6_RECVPATHMTU IPV6_HOPLIMIT 2105759b3d2Safresh1 - Added a dontfrag option, setting IP_DONTFRAG and on linux 2115759b3d2Safresh1 also IP_MTU_DISCOVER to IP_PMTUDISC_DO. Note that is ignored if 2125759b3d2Safresh1 Socket does not export IP_DONTFRAG. 2135759b3d2Safresh1 - Added the wakeonlan method 2145759b3d2Safresh1 - Improve argument default handling 2155759b3d2Safresh1 - Added missing documentation 2165759b3d2Safresh1 2175759b3d2Safresh1 Bugfixes 2185759b3d2Safresh1 - Reapply tos with ping_udp, when the address is changed. 2195759b3d2Safresh1 RT #6706 (Torgny.Hofstedt@sevenlevels.se) 2205759b3d2Safresh1 ditto re-bind to a device. 2215759b3d2Safresh1 2225759b3d2Safresh1 Internals 2235759b3d2Safresh1 - $ip is now a hash with {addr, addr_in, family} not the addr_in packed IP. 2245759b3d2Safresh1 - added _resolv replacing inet_aton, 2255759b3d2Safresh1 _pack_sockaddr_in and _unpack_sockaddr_in replacing sockaddr_in, 2265759b3d2Safresh1 _inet_ntoa replacing inet_ntoa 2275759b3d2Safresh1 - Use _isroot helper, with Win32 _IsAdminUser helper. 2285759b3d2Safresh1 - added several new tests (Steve Peters) 2295759b3d2Safresh1 2305759b3d2Safresh12.43 Mon Apr 29 00:23:56 2013 -0300 2315759b3d2Safresh1 version in perl core since 5.19.9 2325759b3d2Safresh1 Bugfixes 2335759b3d2Safresh1 - Handle getprotobyn{ame,umber} not being available 2345759b3d2Safresh12.42 Sun May 26 19:08:46 2013 -0700 2355759b3d2Safresh1 version in perl core since 5.19.1 2365759b3d2Safresh1 Bugfixes 2375759b3d2Safresh1 - Stabilize tests 2385759b3d2Safresh1 Internals 2395759b3d2Safresh1 - wrap long pod lines 24091f110e0Safresh12.41 Mar 17 09:35 2013 24191f110e0Safresh1 Bugfixes 24291f110e0Safresh1 - Windows Vista does not appear to support inet_ntop(). It seems to 24391f110e0Safresh1 have InetNtop() instead. So, working around by using getnameinfo() 24491f110e0Safresh1 and passing in the NI_NUMERICHOST to get an IP address. 24591f110e0Safresh1 Features 24691f110e0Safresh1 - Change Net::Ping to use Time::HiRes::time() instead of CORE::time() 24791f110e0Safresh1 by default. For most successful cases, CORE::time() returned zero. 24891f110e0Safresh12.40 Mar 15 11:20 2013 24991f110e0Safresh1 Bugfixes 25091f110e0Safresh1 - several fixes to tests to stop the black smoke on Win32's 25191f110e0Safresh1 and Cygwin since the core updated the module to Test::More. 25291f110e0Safresh1 I had planned a later release, but all the black smoke is 25391f110e0Safresh1 forcing a release. 25491f110e0Safresh1 - fixes to some skips in tests that were still using the 25591f110e0Safresh1 Test style skip's. 25691f110e0Safresh1 - Documentation fix for https://rt.cpan.org/Ticket/Display.html?id=48014. 25791f110e0Safresh1 Thanks to Keith Taylor <keith@supanet.net.uk> 25891f110e0Safresh1 - Instead of using a hard-coded TOS value, import IP_TOS from 25991f110e0Safresh1 Socket. This fixes an outstanding bug on Solaris which uses a 26091f110e0Safresh1 different value for IP_TOS in it headers than Linux. I'm assuming 26191f110e0Safresh1 other OS's were fixed with this change as well. 26291f110e0Safresh1 26391f110e0Safresh1 Features 26491f110e0Safresh1 - added TTL handling for icmp pings to allow traceroute like 26591f110e0Safresh1 applications to be built with Net::Ping. Thanks to 26691f110e0Safresh1 <rolek@bokxing.nl> for the patch and tests! 26791f110e0Safresh1 26891f110e0Safresh1 Internals 26991f110e0Safresh1 - replaced SOL_IP with IPPROTO_IP. SOL_IP is not portable and was 27091f110e0Safresh1 hard-coded anyway. 27191f110e0Safresh1 - added IPPROTO_IP, IP_TOS, IP_TTL, and AF_INET to the list of Socket 27291f110e0Safresh1 constants imported. 27391f110e0Safresh1 - removed some hard-coded constants. 27491f110e0Safresh1 - converted all calls to inet_ntoa() to inet_ntop() in preparation 27591f110e0Safresh1 for further ipv6 updates. 27691f110e0Safresh1 27791f110e0Safresh1 Infrastructure 27891f110e0Safresh1 - Makefile.PL updated to require Test::More, Time::HiRes, and a 27991f110e0Safresh1 recent Socket 28091f110e0Safresh1 - several changes for github hosting 28191f110e0Safresh1 - add a .gitignore file 28291f110e0Safresh1 - added a .travis.yml file to allow CI testing with changes pushed 28391f110e0Safresh1 to github 28491f110e0Safresh1 - replaced the README with a README.md which displays the 28591f110e0Safresh1 Travis CI build status on github. 28691f110e0Safresh1 28791f110e0Safresh1 28891f110e0Safresh12.39 Mar 13 09:25 2013 28991f110e0Safresh1 - patch from Matthew Musgrove to resolve RT #45812. Thanks! 29091f110e0Safresh1 - pulled in several changes from the Perl core 29191f110e0Safresh1 29291f110e0Safresh12.36 Jun 08 12:00 2009 29391f110e0Safresh1 - release to include a few fixes from the Perl core 294b39c5158Smillert 295b39c5158Smillert2.35 Feb 08 14:42 2008 296b39c5158Smillert - Patch in Perl change #33242 by Nicholas Clark 297898184e3Ssthen <http://perl5.git.perl.org/perl.git/commit/5d6b07c5a4c042580b85248d570ee299fd102a79> 298b39c5158Smillert 299b39c5158Smillert2.34 Dec 19 08:51 2007 300b39c5158Smillert - Release primarily to prevent problems with the Perl core in 301b39c5158Smillert preparation for the Perl 5.10 release. No real bug fixes, but 302b39c5158Smillert text fixes are included. 303b39c5158Smillert - skip test t/510_ping_udp.t on Windows Vista. Thanks to Jan 304b39c5158Smillert Dubois for the code to test for Vista. 305b39c5158Smillert - t/510_ping_udp.t should check for a udp echo port, not a tcp 306b39c5158Smillert echo port. 307b39c5158Smillert 308b39c5158Smillert2.33 Jul 31 20:15 2007 309b39c5158Smillert - add new method port_number() rather than asking users to 310b39c5158Smillert twiddle with the internals of Net::Ping to probe a specific 311b39c5158Smillert port. This should resolve a few bugs where the documentation 312b39c5158Smillert was lacking. 313b39c5158Smillert - apply patch from bergonz at labs.it. This patch resolves 314b39c5158Smillert several problems logged regarding using Net::Ping in a multi- 315b39c5158Smillert threaded program. Thanks so much! 316b39c5158Smillert <http://rt.cpan.org/Ticket/Display.html?id=17408> 317b39c5158Smillert 318b39c5158Smillert2.32 Jul 30 21:30 2007 319b39c5158Smillert - new co-maintainer Steve Peters 320b39c5158Smillert - integrate assorted bleadperl fixes from the past four years 321b39c5158Smillert <http://rt.cpan.org/Public/Bug/Display.html?id=28348> 322b39c5158Smillert 323b39c5158Smillert2.31 Jun 28 14:00 2003 324b39c5158Smillert - Win32 Compatibility fixes. 325b39c5158Smillert Patch by mhx-perl@gmx.net (Marcus Holland-Moritz) 326b39c5158Smillert - Apply bleadperl patch #22204 327b39c5158Smillert - Add ToS support. 328b39c5158Smillert Patch by martin@lorensen.dk (Martin Lorensen) 329b39c5158Smillert 330b39c5158Smillert2.30 Apr 18 14:00 2003 331b39c5158Smillert - Fix select() bug for UDP and ICMP protocols 332b39c5158Smillert in case packet comes from wrong source or seq. 333b39c5158Smillert - Allow UDP ping to different IP addresses 334b39c5158Smillert without instantiating a new object. 335b39c5158Smillert - Add retrans() method to customize or disable 336b39c5158Smillert backoff factor for udp pings. 337b39c5158Smillert Thanks Torgny.Hofstedt@sevenlevels.se 338b39c5158Smillert - Let ECONNRESET be considered reachable for 339b39c5158Smillert UDP pings. Now it works for cygwin. 340b39c5158Smillert Spot by jhi@iki.fi (Jarkko Hietaniemi). 341b39c5158Smillert 342b39c5158Smillert2.29 Apr 12 15:00 2003 343b39c5158Smillert - Implement "double send()" concept for udp pings. 344b39c5158Smillert See: <http://perlmonks.thepen.com/42898.html> 345b39c5158Smillert Thanks to rdw @ perlmonks. 346b39c5158Smillert - Send multiple udp packets in case of loss. 347b39c5158Smillert - Exponential backoff code swiped from Net::DNS 348b39c5158Smillert Thanks to mike@fuhr.org (Michael Fuhr). 349b39c5158Smillert - Also allows to capture udp ECONNREFUSED condition. 350b39c5158Smillert - Rename tcp_service_check method to service_check. 351b39c5158Smillert - Allow demo/fping -s to force service check. 352b39c5158Smillert Idea by ralijani@yahoo.com (REZA Alijani) 353b39c5158Smillert - Fix return from ping to be compatible with wantarray 354b39c5158Smillert when the host doesn't even resolve. 355b39c5158Smillert - Add udp proto test to test suite. 356b39c5158Smillert - VMS patch from Craig Berry to pre-check echo. 357b39c5158Smillert - Apply bleadperl patch (change #18904) 358b39c5158Smillert - Apply bleadperl patch as explained: 359b39c5158Smillert http://www.xray.mpe.mpg.de/mailing-lists/perl5- 360b39c5158Smillert porters/2003-03/msg00992.html 361b39c5158Smillert 362b39c5158Smillert2.28 Jan 23 18:00 2003 363b39c5158Smillert - No new features. Bug fixes only. 364b39c5158Smillert - Fixed ICMP_STRUCT to work on Big Endian platforms. 365b39c5158Smillert Thanks to danb@thelittlemacshop.com (Dan Buettner) 366b39c5158Smillert for testing on Mac OS X 10.2.3 and many others 367b39c5158Smillert for testing on Big Endian boxes. 368b39c5158Smillert - Not do binmode(). Causes more problems than helps. 369b39c5158Smillert - Perl 5.004 compatibility fixes (Spot by Honza). 370b39c5158Smillert 371b39c5158Smillert2.27 Jan 15 23:00 2003 372b39c5158Smillert - Patch by slebedev@iwl.net (Sergey Lebedev): 373b39c5158Smillert - 1) Fixed response packet parsing offsets in ping_icmp. 374b39c5158Smillert - 2) Added icmp_result method. 375b39c5158Smillert - Patch by radu@netsoft.ro (Radu Greab): 376b39c5158Smillert - 1) Changed ping_tcp() to use non-blocking connect 377b39c5158Smillert instead of alarm() interface in order to avoid 378b39c5158Smillert conflicts with user applications. 379b39c5158Smillert - 2) Also get rid of all eval {} code in ping_tcp 380b39c5158Smillert in order to avoid catching SIGALRM trigger and 381b39c5158Smillert to avoid conflicts with other evals. 382b39c5158Smillert - 3) Avoid ioctl() syscall for more accurate error 383b39c5158Smillert detection on non-blocking tcp connects. 384b39c5158Smillert - 4) Fix fcntl() syntax usage. 385b39c5158Smillert - Patch by adelton@fi.muni.cz (Honza Pazdziora): 386b39c5158Smillert - 1) Fix icmp request pack code to be more platform 387b39c5158Smillert independent regardless of Big/Little Endian. 388b39c5158Smillert - 2) Use binmode for filehandle in case perl 5.8.0 389b39c5158Smillert tries to dink with the data stream. 390b39c5158Smillert - Other changes by Rob Brown: 391b39c5158Smillert - Fixed ack() failures under certain rare conditions. 392b39c5158Smillert - Use more appropriate \z instead of $ in regex. 393b39c5158Smillert - Resolved Cygwin "make test" problems reported by 394b39c5158Smillert h.m.brand@hccnet.nl (H.Merijn Brand). 395b39c5158Smillert - Add sending a real ICMP packet in the test suite. 396b39c5158Smillert - Add Socket to PREREQ_PM (missing on some boxes?) 397b39c5158Smillert - Adjust syn_forking IPC pipe for fatter Win32 pids. 398b39c5158Smillert - Better handling of alarm() in test suite for Win32. 399b39c5158Smillert - Add a DESTROY method to reduce chances of 400b39c5158Smillert lingering connect-choking children. 401b39c5158Smillert 402b39c5158Smillert2.26 Dec 02 12:00 2002 403b39c5158Smillert - More compatibility fixes. 404b39c5158Smillert - Thanks for Solaris bug reports: 405b39c5158Smillert Paul.Gaborit@enstimac.fr (Paul Gaborit) 406b39c5158Smillert Jost.Krieger@ruhr-uni-bochum.de (Jost Krieger) 407b39c5158Smillert - Thanks for Solaris testing box: 408b39c5158Smillert Gunther.Heintzen@rrze.uni-erlangen.de (Gunther Heintzen) 409b39c5158Smillert - Solaris ENOTCONN select() for write choke bug. 410b39c5158Smillert - Thanks for Cygwin bug reports: 411b39c5158Smillert h.m.brand@hccnet.nl (H.Merijn Brand) 412b39c5158Smillert - Cygwin "EAGAIN instead of ECONNREFUSED" buttwag. 413b39c5158Smillert 414b39c5158Smillert2.25 Nov 19 12:00 2002 415b39c5158Smillert - Handle condition where O_NONBLOCK tcp connects 416b39c5158Smillert immediately fail without EINPROGRESS 417b39c5158Smillert (certain platforms or SMP optimizations). 418b39c5158Smillert 419b39c5158Smillert2.24 Oct 21 22:00 2002 420b39c5158Smillert - Compatibility fixes. 421b39c5158Smillert - Avoid using 127.1.1.1 and 127.2.2.2 because 422b39c5158Smillert it breaks on some platforms (Irix). 423b39c5158Smillert - Handle condition where nonblocking tcp connects 424b39c5158Smillert immediately connect on some platforms 425b39c5158Smillert (solaris and freebsd) and to be SMP safer. 426b39c5158Smillert - Win32 $p->ack( $host ) method should now work. 427b39c5158Smillert - Add ack( $host ) test cases to test suite. 428b39c5158Smillert 429b39c5158Smillert2.23 Oct 18 22:00 2002 430b39c5158Smillert - Fix ack() fd "each" detection bug. 431b39c5158Smillert - Add nack() method for OO interface to the 432b39c5158Smillert reason why the ack() failed. 433b39c5158Smillert - Fix premature "Timed out" side effect when a 434b39c5158Smillert different specified ack( $host ) fails. 435b39c5158Smillert - IO::Socket::INET ephemeral port buttwag 436b39c5158Smillert hack for the t/450_service.t test. 437b39c5158Smillert - Documental changes. 438b39c5158Smillert 439b39c5158Smillert2.22 Oct 17 16:00 2002 440b39c5158Smillert - Add $p->tcp_service_check() method to enforce 441b39c5158Smillert remote tcp service availability checking. 442b39c5158Smillert Patch by jef@linuxbe.org (Jean-Francois Dive). 443b39c5158Smillert - Changed default behavior of "syn" protocol to 444b39c5158Smillert disabled tcp_service_check instead of enabled. 445b39c5158Smillert - Win32 compatibility changes ("syn" protocol). 446b39c5158Smillert - Increase timeouts for tests in case client or 447b39c5158Smillert server network(s) are busy. 448b39c5158Smillert 449b39c5158Smillert2.21 Oct 14 12:00 2002 450b39c5158Smillert - Preserve/restore ALRM settings for tcp mode pings. 451b39c5158Smillert Spot by d@niel-berlin.de (Daniel Berlin) 452b39c5158Smillert - Can now select device for udp and icmp protocols. 453b39c5158Smillert Patch by sarfata@altern.org (Thomas Sarlandie). 454b39c5158Smillert - Add new "syn" protocol to allow for mass parallel 455898184e3Ssthen (synchronous) TCP service reachability checking. 456b39c5158Smillert - Add ack() method to utilize non-blocking connect 457b39c5158Smillert (SYN/ACK) feature of the "syn" protocol. 458b39c5158Smillert - Add demo/fping script as a "syn" demonstration. 459898184e3Ssthen - Compatibility patches for cygwin. 460b39c5158Smillert Spot by frazee.23@osu.edu (Joseph Frazee) 461b39c5158Smillert 462b39c5158Smillert2.20 Jun 20 10:00 2002 463b39c5158Smillert - Perl 5.8.0 compatibility stuff. 464b39c5158Smillert Spot by dcd@tc.fluke.com (David Dyck). 465b39c5158Smillert And patch by jhi@iki.fi (Jarkko Hietaniemi). 466b39c5158Smillert - Move INSTALL doc into perldoc. 467b39c5158Smillert - Allow source_verify method to work 468b39c5158Smillert for icmp protocol as well as udp. 469b39c5158Smillert Spot by taner@taner.net (Taner Halicioglu) 470b39c5158Smillert 471b39c5158Smillert2.19 Jun 03 19:00 2002 472b39c5158Smillert - Add $p->source_verify method to skip source 473b39c5158Smillert endpoint verification of udp protocol pings for 474b39c5158Smillert those remote destinations with multiple interfaces 475b39c5158Smillert that may have the "reverse telnet" bug. 476b39c5158Smillert Spot by dcd@tc.fluke.com (David Dyck) 477b39c5158Smillert - Moved files to more standard locations. 478b39c5158Smillert - Less common martian used for ping test 479b39c5158Smillert to reduce conflicts 480b39c5158Smillert 481b39c5158Smillert2.18 May 06 12:00 2002 482b39c5158Smillert - More RPM spec generalizations. 483b39c5158Smillert 484b39c5158Smillert2.17 May 03 18:00 2002 485b39c5158Smillert - RPM spec generalizations. 486b39c5158Smillert michael.mclagan@linux.org (Michael McLagan) 487b39c5158Smillert - Win32 compatibility changes. 488b39c5158Smillert (Didn't compile on Win32 since v2.11.) 489b39c5158Smillert 490b39c5158Smillert2.16 Apr 11 14:00 2002 491b39c5158Smillert - Documentation changes. 492b39c5158Smillert - Added INSTALL doc. 493b39c5158Smillert - Added README to rpm %doc. 494b39c5158Smillert - Added neat MakeMaker constants routine. 495b39c5158Smillert - Buttwag around Makefile.PL warnings: 496b39c5158Smillert o "the following files are missing in your kit" 497b39c5158Smillert o "is not a known MakeMaker parameter name" 498b39c5158Smillert 499b39c5158Smillert2.15 Apr 06 23:00 2002 500b39c5158Smillert - Added ABSTRACT info. 501b39c5158Smillert - Allow for smoother upgrade from 502b39c5158Smillert from older Net::Ping versions. 503b39c5158Smillert - Change default protocol from udp to tcp 504b39c5158Smillert so it will work on most default systems 505b39c5158Smillert without any arguments to new(). 506b39c5158Smillert 507b39c5158Smillert2.14 Apr 01 14:00 2002 508b39c5158Smillert - Added text ip lookup feature. 509b39c5158Smillert e@arix.com (Erick Calder) 510b39c5158Smillert 511b39c5158Smillert2.13 Apr 01 14:00 2002 512b39c5158Smillert - Added ping time measuring feature. 513b39c5158Smillert e@arix.com (Erick Calder) 514b39c5158Smillert - Optionally allow for high resolution 515b39c5158Smillert precision for timeouts and measuring 516b39c5158Smillert using the Time::HiRes module (Erick). 517b39c5158Smillert 518b39c5158Smillert2.12 Feb 17 19:00 2002 519b39c5158Smillert - More general error determination for 520b39c5158Smillert better cross platform consistency and 521b39c5158Smillert foreign language support. 522b39c5158Smillert Spotted by arnaud@romeconcept.com 523b39c5158Smillert - Test changes for VMS (Craig Berry) 524b39c5158Smillert 525b39c5158Smillert2.11 Feb 02 12:00 2002 526b39c5158Smillert - Test changes in case echo port is not available. 527b39c5158Smillert - Fix 110_icmp_inst.t to use icmp protocol 528b39c5158Smillert Spotted by craigberry@mac.com (Craig Berry) 529b39c5158Smillert 530b39c5158Smillert2.10 Dec 26 12:00 2001 531b39c5158Smillert - Added bind() function useful for clients with multiple 532b39c5158Smillert network interfaces performing the ping check thanks to 533b39c5158Smillert sethb@clarkhill.com (Seth Blumberg). 534b39c5158Smillert - Execution optimizations for several constants (Seth). 535b39c5158Smillert - More test changes in case Socket module is not available 536b39c5158Smillert (Jarkko Hietaniemi). 537b39c5158Smillert 538b39c5158Smillert2.09 Dec 06 19:00 2001 539b39c5158Smillert - Documental and test changes only. 540b39c5158Smillert - No functional changes. 541b39c5158Smillert 542b39c5158Smillert2.08 Dec 04 13:00 2001 543b39c5158Smillert - Faster response for Win32 tcp_connect. 544b39c5158Smillert - Better explanations in test comments. 545b39c5158Smillert 546b39c5158Smillert2.07 Nov 28 13:00 2001 547b39c5158Smillert - Compatibility changes 548b39c5158Smillert - Works with UNIX and Win32 OS 549b39c5158Smillert - Works with Perl 5.005 5.6.x 5.7.x 5.8.x 550b39c5158Smillert - Applied several patches from distro 551b39c5158Smillert - External protocol added thanks to 552b39c5158Smillert colinm@cpan.org (Colin McMillen) 553b39c5158Smillert - Stream protocol added thanks to 554b39c5158Smillert bronson@trestle.com (Scott Bronson) 555b39c5158Smillert 556b39c5158Smillert2.06 Nov 19 12:00 2001 557b39c5158Smillert - Added Net-Ping.spec for RPM to easily 558b39c5158Smillert utilize using "rpm -ta Net-Ping*tar.gz" 559b39c5158Smillert - Moved Copyright section to perldoc 560b39c5158Smillert 561b39c5158Smillert2.05 Nov 18 20:00 2001 562b39c5158Smillert - Added test suite 563b39c5158Smillert 564b39c5158Smillert2.04 Nov 16 16:00 2001 565b39c5158Smillert - Added CHANGES and README to tarball. 566b39c5158Smillert - No functional changes. 567b39c5158Smillert 568b39c5158Smillert2.03 Nov 15 12:00 2001 569b39c5158Smillert - Portability adjustments to ping_tcp() 570b39c5158Smillert made by Rob Brown to work with most 571b39c5158Smillert default systems. 572b39c5158Smillert 573b39c5158Smillert2.02 Sep 27 12:00 1996 574b39c5158Smillert - Magic version by Russell Mosemann from CPAN 575