1CHANGES 2------- 32.61 Sat Jun 17 13:12:58 CEST 2017 (rurban) 4 Bugfixes 5 - Fix ping_udp for a started udp echo server (PR#5 by Stephan Loyd) 6 72.60 Mon Jun 12 20:14:13 CEST 2017 (rurban) 8 Bugfixes 9 - Fix t/400_ping_syn.t phases 10 - Try to handle Windows Socket::getnameinfo errors 11 - Improve some tests on missing network connections 12 132.59 Tue Apr 18 08:46:48 2017 +0200 (rurban) 14 Bugfixes 15 - skip udp ping tests on more platforms: hpux, irix, aix. 16 also pingecho on os390. 17 (from perl5 core) 18 Features 19 - added a make release target 20 212.58 Wed Feb 1 19:34:03 CET 2017 (rurban) 22 Features 23 - return the port num as 5th return value with ack (jfraire) 24 252.57 Wed Feb 1 19:34:03 CET 2017 (rurban) 26 Bugfixes 27 - Resigned with new gpg key 28 292.56 Wed Jan 18 16:00:00 2017 -0700 (bbb) 30 Bugfixes 31 - Stabilize tests 32 332.55 Thu Oct 20 09:16:06 2016 +0200 (rurban) 34 35 Bugfixes 36 - Skip sudo for t/500_ping_icmp.t if a prompt is required 37 [RT #118451] 38 392.54 Thu Oct 20 09:16:06 2016 +0200 (rurban) 40 41 Bugfixes 42 - Fixed ping_external argument type, either packed ip or hostname. 43 [RT #113825] 44 - Fixed wrong skip message in t/020_external.t 45 462.53 Thu Oct 20 09:16:06 2016 +0200 (rurban) 47 48 Bugfixes 49 - Relax icmp tests on local firewalls, eg. as here on windows reported 50 by kmx. [RT #118441] 51 52 Internals 53 - Enhanced .travis.yml 54 552.52 Tue Oct 18 16:29:29 2016 +0200 (rurban) 56 version in cperl since 5.25.2c 57 58 Bugfixes 59 - Fixed _pack_sockaddr_in for a proper 2nd argument type, hash or packed address. 60 - Improved 500_ping_icmp.t to try sudo. 61 62 Internals 63 - Converted all hash string keys to bare. 64 652.51 Mon Oct 17 16:11:03 2016 +0200 (rurban) 66 version in cperl since 5.25.2c 67 68 Bugfixes 69 - Fixed missing _unpack_sockaddr_in family, which took AF_INET6 for 70 a AF_INET addr in t/500_ping_icmp.t and t/500_ping_icmp_ttl.t. 71 Use now a proper default. 72 732.50 Sat Apr 16 11:50:20 2016 +0200 (rurban) 74 version in cperl since 5.22.2c 75 76 Features 77 - Handle IPv6 addresses and the AF_INET6 family. 78 - Added the optional family argument to most methods. 79 valid values: 6, "v6", "ip6", "ipv6", AF_INET6 80 - new can take now named arguments, a hashref. 81 - Added the following named arguments to new: 82 gateway host port bind retrans pingstring source_verify econnrefused 83 IPV6_USE_MIN_MTU IPV6_RECVPATHMTU IPV6_HOPLIMIT 84 - Added a dontfrag option, setting IP_DONTFRAG and on linux 85 also IP_MTU_DISCOVER to IP_PMTUDISC_DO. Note that is ignored if 86 Socket does not export IP_DONTFRAG. 87 - Added the wakeonlan method 88 - Improve argument default handling 89 - Added missing documentation 90 91 Bugfixes 92 - Reapply tos with ping_udp, when the address is changed. 93 RT #6706 (Torgny.Hofstedt@sevenlevels.se) 94 ditto re-bind to a device. 95 96 Internals 97 - $ip is now a hash with {addr, addr_in, family} not the addr_in packed IP. 98 - added _resolv replacing inet_aton, 99 _pack_sockaddr_in and _unpack_sockaddr_in replacing sockaddr_in, 100 _inet_ntoa replacing inet_ntoa 101 - Use _isroot helper, with Win32 _IsAdminUser helper. 102 - added several new tests (Steve Peters) 103 1042.43 Mon Apr 29 00:23:56 2013 -0300 105 version in perl core since 5.19.9 106 Bugfixes 107 - Handle getprotobyn{ame,umber} not being available 1082.42 Sun May 26 19:08:46 2013 -0700 109 version in perl core since 5.19.1 110 Bugfixes 111 - Stabilize tests 112 Internals 113 - wrap long pod lines 1142.41 Mar 17 09:35 2013 115 Bugfixes 116 - Windows Vista does not appear to support inet_ntop(). It seems to 117 have InetNtop() instead. So, working around by using getnameinfo() 118 and passing in the NI_NUMERICHOST to get an IP address. 119 Features 120 - Change Net::Ping to use Time::HiRes::time() instead of CORE::time() 121 by default. For most successful cases, CORE::time() returned zero. 1222.40 Mar 15 11:20 2013 123 Bugfixes 124 - several fixes to tests to stop the black smoke on Win32's 125 and Cygwin since the core updated the module to Test::More. 126 I had planned a later release, but all the black smoke is 127 forcing a release. 128 - fixes to some skips in tests that were still using the 129 Test style skip's. 130 - Documentation fix for https://rt.cpan.org/Ticket/Display.html?id=48014. 131 Thanks to Keith Taylor <keith@supanet.net.uk> 132 - Instead of using a hard-coded TOS value, import IP_TOS from 133 Socket. This fixes an outstanding bug on Solaris which uses a 134 different value for IP_TOS in it headers than Linux. I'm assuming 135 other OS's were fixed with this change as well. 136 137 Features 138 - added TTL handling for icmp pings to allow traceroute like 139 applications to be built with Net::Ping. Thanks to 140 <rolek@bokxing.nl> for the patch and tests! 141 142 Internals 143 - replaced SOL_IP with IPPROTO_IP. SOL_IP is not portable and was 144 hard-coded anyway. 145 - added IPPROTO_IP, IP_TOS, IP_TTL, and AF_INET to the list of Socket 146 constants imported. 147 - removed some hard-coded constants. 148 - converted all calls to inet_ntoa() to inet_ntop() in preparation 149 for further ipv6 updates. 150 151 Infrastructure 152 - Makefile.PL updated to require Test::More, Time::HiRes, and a 153 recent Socket 154 - several changes for github hosting 155 - add a .gitignore file 156 - added a .travis.yml file to allow CI testing with changes pushed 157 to github 158 - replaced the README with a README.md which displays the 159 Travis CI build status on github. 160 161 1622.39 Mar 13 09:25 2013 163 - patch from Matthew Musgrove to resolve RT #45812. Thanks! 164 - pulled in several changes from the Perl core 165 1662.36 Jun 08 12:00 2009 167 - release to include a few fixes from the Perl core 168 1692.35 Feb 08 14:42 2008 170 - Patch in Perl change #33242 by Nicholas Clark 171 <http://perl5.git.perl.org/perl.git/commit/5d6b07c5a4c042580b85248d570ee299fd102a79> 172 1732.34 Dec 19 08:51 2007 174 - Release primarily to prevent problems with the Perl core in 175 preparation for the Perl 5.10 release. No real bug fixes, but 176 text fixes are included. 177 - skip test t/510_ping_udp.t on Windows Vista. Thanks to Jan 178 Dubois for the code to test for Vista. 179 - t/510_ping_udp.t should check for a udp echo port, not a tcp 180 echo port. 181 1822.33 Jul 31 20:15 2007 183 - add new method port_number() rather than asking users to 184 twiddle with the internals of Net::Ping to probe a specific 185 port. This should resolve a few bugs where the documentation 186 was lacking. 187 - apply patch from bergonz at labs.it. This patch resolves 188 several problems logged regarding using Net::Ping in a multi- 189 threaded program. Thanks so much! 190 <http://rt.cpan.org/Ticket/Display.html?id=17408> 191 1922.32 Jul 30 21:30 2007 193 - new co-maintainer Steve Peters 194 - integrate assorted bleadperl fixes from the past four years 195 <http://rt.cpan.org/Public/Bug/Display.html?id=28348> 196 1972.31 Jun 28 14:00 2003 198 - Win32 Compatibility fixes. 199 Patch by mhx-perl@gmx.net (Marcus Holland-Moritz) 200 - Apply bleadperl patch #22204 201 - Add ToS support. 202 Patch by martin@lorensen.dk (Martin Lorensen) 203 2042.30 Apr 18 14:00 2003 205 - Fix select() bug for UDP and ICMP protocols 206 in case packet comes from wrong source or seq. 207 - Allow UDP ping to different IP addresses 208 without instantiating a new object. 209 - Add retrans() method to customize or disable 210 backoff factor for udp pings. 211 Thanks Torgny.Hofstedt@sevenlevels.se 212 - Let ECONNRESET be considered reachable for 213 UDP pings. Now it works for cygwin. 214 Spot by jhi@iki.fi (Jarkko Hietaniemi). 215 2162.29 Apr 12 15:00 2003 217 - Implement "double send()" concept for udp pings. 218 See: <http://perlmonks.thepen.com/42898.html> 219 Thanks to rdw @ perlmonks. 220 - Send multiple udp packets in case of loss. 221 - Exponential backoff code swiped from Net::DNS 222 Thanks to mike@fuhr.org (Michael Fuhr). 223 - Also allows to capture udp ECONNREFUSED condition. 224 - Rename tcp_service_check method to service_check. 225 - Allow demo/fping -s to force service check. 226 Idea by ralijani@yahoo.com (REZA Alijani) 227 - Fix return from ping to be compatible with wantarray 228 when the host doesn't even resolve. 229 - Add udp proto test to test suite. 230 - VMS patch from Craig Berry to pre-check echo. 231 - Apply bleadperl patch (change #18904) 232 - Apply bleadperl patch as explained: 233 http://www.xray.mpe.mpg.de/mailing-lists/perl5- 234 porters/2003-03/msg00992.html 235 2362.28 Jan 23 18:00 2003 237 - No new features. Bug fixes only. 238 - Fixed ICMP_STRUCT to work on Big Endian platforms. 239 Thanks to danb@thelittlemacshop.com (Dan Buettner) 240 for testing on Mac OS X 10.2.3 and many others 241 for testing on Big Endian boxes. 242 - Not do binmode(). Causes more problems than helps. 243 - Perl 5.004 compatibility fixes (Spot by Honza). 244 2452.27 Jan 15 23:00 2003 246 - Patch by slebedev@iwl.net (Sergey Lebedev): 247 - 1) Fixed response packet parsing offsets in ping_icmp. 248 - 2) Added icmp_result method. 249 - Patch by radu@netsoft.ro (Radu Greab): 250 - 1) Changed ping_tcp() to use non-blocking connect 251 instead of alarm() interface in order to avoid 252 conflicts with user applications. 253 - 2) Also get rid of all eval {} code in ping_tcp 254 in order to avoid catching SIGALRM trigger and 255 to avoid conflicts with other evals. 256 - 3) Avoid ioctl() syscall for more accurate error 257 detection on non-blocking tcp connects. 258 - 4) Fix fcntl() syntax usage. 259 - Patch by adelton@fi.muni.cz (Honza Pazdziora): 260 - 1) Fix icmp request pack code to be more platform 261 independent regardless of Big/Little Endian. 262 - 2) Use binmode for filehandle in case perl 5.8.0 263 tries to dink with the data stream. 264 - Other changes by Rob Brown: 265 - Fixed ack() failures under certain rare conditions. 266 - Use more appropriate \z instead of $ in regex. 267 - Resolved Cygwin "make test" problems reported by 268 h.m.brand@hccnet.nl (H.Merijn Brand). 269 - Add sending a real ICMP packet in the test suite. 270 - Add Socket to PREREQ_PM (missing on some boxes?) 271 - Adjust syn_forking IPC pipe for fatter Win32 pids. 272 - Better handling of alarm() in test suite for Win32. 273 - Add a DESTROY method to reduce chances of 274 lingering connect-choking children. 275 2762.26 Dec 02 12:00 2002 277 - More compatibility fixes. 278 - Thanks for Solaris bug reports: 279 Paul.Gaborit@enstimac.fr (Paul Gaborit) 280 Jost.Krieger@ruhr-uni-bochum.de (Jost Krieger) 281 - Thanks for Solaris testing box: 282 Gunther.Heintzen@rrze.uni-erlangen.de (Gunther Heintzen) 283 - Solaris ENOTCONN select() for write choke bug. 284 - Thanks for Cygwin bug reports: 285 h.m.brand@hccnet.nl (H.Merijn Brand) 286 - Cygwin "EAGAIN instead of ECONNREFUSED" buttwag. 287 2882.25 Nov 19 12:00 2002 289 - Handle condition where O_NONBLOCK tcp connects 290 immediately fail without EINPROGRESS 291 (certain platforms or SMP optimizations). 292 2932.24 Oct 21 22:00 2002 294 - Compatibility fixes. 295 - Avoid using 127.1.1.1 and 127.2.2.2 because 296 it breaks on some platforms (Irix). 297 - Handle condition where nonblocking tcp connects 298 immediately connect on some platforms 299 (solaris and freebsd) and to be SMP safer. 300 - Win32 $p->ack( $host ) method should now work. 301 - Add ack( $host ) test cases to test suite. 302 3032.23 Oct 18 22:00 2002 304 - Fix ack() fd "each" detection bug. 305 - Add nack() method for OO interface to the 306 reason why the ack() failed. 307 - Fix premature "Timed out" side effect when a 308 different specified ack( $host ) fails. 309 - IO::Socket::INET ephemeral port buttwag 310 hack for the t/450_service.t test. 311 - Documental changes. 312 3132.22 Oct 17 16:00 2002 314 - Add $p->tcp_service_check() method to enforce 315 remote tcp service availability checking. 316 Patch by jef@linuxbe.org (Jean-Francois Dive). 317 - Changed default behavior of "syn" protocol to 318 disabled tcp_service_check instead of enabled. 319 - Win32 compatibility changes ("syn" protocol). 320 - Increase timeouts for tests in case client or 321 server network(s) are busy. 322 3232.21 Oct 14 12:00 2002 324 - Preserve/restore ALRM settings for tcp mode pings. 325 Spot by d@niel-berlin.de (Daniel Berlin) 326 - Can now select device for udp and icmp protocols. 327 Patch by sarfata@altern.org (Thomas Sarlandie). 328 - Add new "syn" protocol to allow for mass parallel 329 (synchronous) TCP service reachability checking. 330 - Add ack() method to utilize non-blocking connect 331 (SYN/ACK) feature of the "syn" protocol. 332 - Add demo/fping script as a "syn" demonstration. 333 - Compatibility patches for cygwin. 334 Spot by frazee.23@osu.edu (Joseph Frazee) 335 3362.20 Jun 20 10:00 2002 337 - Perl 5.8.0 compatibility stuff. 338 Spot by dcd@tc.fluke.com (David Dyck). 339 And patch by jhi@iki.fi (Jarkko Hietaniemi). 340 - Move INSTALL doc into perldoc. 341 - Allow source_verify method to work 342 for icmp protocol as well as udp. 343 Spot by taner@taner.net (Taner Halicioglu) 344 3452.19 Jun 03 19:00 2002 346 - Add $p->source_verify method to skip source 347 endpoint verification of udp protocol pings for 348 those remote destinations with multiple interfaces 349 that may have the "reverse telnet" bug. 350 Spot by dcd@tc.fluke.com (David Dyck) 351 - Moved files to more standard locations. 352 - Less common martian used for ping test 353 to reduce conflicts 354 3552.18 May 06 12:00 2002 356 - More RPM spec generalizations. 357 3582.17 May 03 18:00 2002 359 - RPM spec generalizations. 360 michael.mclagan@linux.org (Michael McLagan) 361 - Win32 compatibility changes. 362 (Didn't compile on Win32 since v2.11.) 363 3642.16 Apr 11 14:00 2002 365 - Documentation changes. 366 - Added INSTALL doc. 367 - Added README to rpm %doc. 368 - Added neat MakeMaker constants routine. 369 - Buttwag around Makefile.PL warnings: 370 o "the following files are missing in your kit" 371 o "is not a known MakeMaker parameter name" 372 3732.15 Apr 06 23:00 2002 374 - Added ABSTRACT info. 375 - Allow for smoother upgrade from 376 from older Net::Ping versions. 377 - Change default protocol from udp to tcp 378 so it will work on most default systems 379 without any arguments to new(). 380 3812.14 Apr 01 14:00 2002 382 - Added text ip lookup feature. 383 e@arix.com (Erick Calder) 384 3852.13 Apr 01 14:00 2002 386 - Added ping time measuring feature. 387 e@arix.com (Erick Calder) 388 - Optionally allow for high resolution 389 precision for timeouts and measuring 390 using the Time::HiRes module (Erick). 391 3922.12 Feb 17 19:00 2002 393 - More general error determination for 394 better cross platform consistency and 395 foreign language support. 396 Spotted by arnaud@romeconcept.com 397 - Test changes for VMS (Craig Berry) 398 3992.11 Feb 02 12:00 2002 400 - Test changes in case echo port is not available. 401 - Fix 110_icmp_inst.t to use icmp protocol 402 Spotted by craigberry@mac.com (Craig Berry) 403 4042.10 Dec 26 12:00 2001 405 - Added bind() function useful for clients with multiple 406 network interfaces performing the ping check thanks to 407 sethb@clarkhill.com (Seth Blumberg). 408 - Execution optimizations for several constants (Seth). 409 - More test changes in case Socket module is not available 410 (Jarkko Hietaniemi). 411 4122.09 Dec 06 19:00 2001 413 - Documental and test changes only. 414 - No functional changes. 415 4162.08 Dec 04 13:00 2001 417 - Faster response for Win32 tcp_connect. 418 - Better explanations in test comments. 419 4202.07 Nov 28 13:00 2001 421 - Compatibility changes 422 - Works with UNIX and Win32 OS 423 - Works with Perl 5.005 5.6.x 5.7.x 5.8.x 424 - Applied several patches from distro 425 - External protocol added thanks to 426 colinm@cpan.org (Colin McMillen) 427 - Stream protocol added thanks to 428 bronson@trestle.com (Scott Bronson) 429 4302.06 Nov 19 12:00 2001 431 - Added Net-Ping.spec for RPM to easily 432 utilize using "rpm -ta Net-Ping*tar.gz" 433 - Moved Copyright section to perldoc 434 4352.05 Nov 18 20:00 2001 436 - Added test suite 437 4382.04 Nov 16 16:00 2001 439 - Added CHANGES and README to tarball. 440 - No functional changes. 441 4422.03 Nov 15 12:00 2001 443 - Portability adjustments to ping_tcp() 444 made by Rob Brown to work with most 445 default systems. 446 4472.02 Sep 27 12:00 1996 448 - Magic version by Russell Mosemann from CPAN 449