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