Debian Codegraph @

Changes

raw
1 Revision history for Perl extension NetAddr::IP
2
3 4.079 Fri Mar 25 16:18:26 PDT 2016
4 correct non-suppression of leading zeros in certain instances of
5 new_no use. Thanks to "Mike Bartman (mbartman)" <[email protected]>
6 for spotting the bug.
7
8 put in missing code to propagate NetAddr::IP::Lite :nofqdn to IP.pm
9
10 4.078 Mon Aug 17 15:35:28 PDT 2015
11 fix typo in Util.pm 1.53 MakefilePL that cause compiler to not be
12 found at all
13
14 4.077 Fri Aug 14 01:17:23 PDT 2015
15 re-numbered because of CPAN upload issue
16
17 4.076 Thu Aug 13 22:44:48 PDT 2015
18 added method is_local() to Lite.pm
19 inspired by Xan Charbonne
20
21 fix Util Makefile.PL to accomodate bug in Android's sh
22
23 add method full6m()
24 inspired by [email protected]
25
26 fix Util/Makefile.PL issue with clang compiler, bug 86831
27
28 4.075 Wed Jun 11 11:41:17 PDT 2014
29 make CPAN happy with new rev number
30
31 4.074 Wed Jun 11 09:36:10 PDT 2014
32 In Lite.pm v1.54,
33 change input filter for resolvable hostnames
34 to allow the underscore character
35 Thanks to grankio [...] gmail.com for the heads up on this issue.
36
37 4.073 Sat Apr 5 09:32:11 PDT 2014
38 add documentation about FQDN conversion and
39 an option to disable
40
41 4.072 Mon Jan 27 11:59:58 PST 2014
42 modify Makefile.PL to bypass missing 'pod2text'
43
44 4.071 Mon Sep 30 13:41:03 PDT 2013
45 add method "canon" by request from <[email protected]>
46
47 4.070 Thu Sep 12 12:54:22 PDT 2013
48 nth documention error fixed. thanks to Anton [email protected]
49
50 Lite v1.51, add new6FFFF, RFC4291 compliant ipv4->ipV6 new
51
52 4.069 Sat May 25 15:10:45 PDT 2013
53 IN Lite.pm v1.50, add =encoding UTF-8
54 In Util.pm v1.50
55 changed Makefile.PL to check for config.h when building for XS
56 with 'gcc', try building with 'cc', and check again.
57 If config.h is not found, force Pure Perl mode.
58
59 Kill XS in winduhs and Darwin, both of which misbehave when compiling XS code
60
61 4.068 Wed Apr 3 10:52:24 PDT 2013
62 update Makefile.PL in Util.pm v 1.49 to better detect 'winduhs'
63
64 4.067 Sat Mar 30 12:57:20 PDT 2013
65 Improved diagnostic message for "die" with bad mask for
66 hostenum, hostenumref, split, splitref, rsplit, rsplitref
67 Thanks to [email protected] for pointing out the need.
68
69 4.066 Mon Oct 29 13:30:14 PDT 2012
70 update Lite.pm v1.47 to support bracketed IPv6 URI notation
71 as described in RFC-3986
72 Thanks to Quanah Gibson-Mount [email protected]
73
74 4.065 Tue Oct 2 12:36:11 PDT 2012
75 correct format for IPv6 embedded IPv4 addresses
76 in InetBase v0.8
77
78 4.064 Tue Sep 25 13:54:47 PDT 2012
79 added support for rfc3021 /31 networks to hostenum
80
81 4.063 Fri Aug 10 11:46:18 PDT 2012
82 Updated GPL v2.0 text and address in all modules
83
84 4.062 Wed Jun 6 12:34:48 PDT 2012
85 documentation updates courtesy of
86 Ben Bullock <[email protected]>
87 Thank you Ben.
88
89 4.061 Tue May 8 16:24:03 PDT 2012
90 fixed bug in Lite v1.44 that returned
91 $ip->num() = 2^128 for 0.0.0.0/0
92 Thanks to Sebastian <[email protected]> for spotting it.
93
94 4.060 Fri Apr 6 16:00:02 PDT 2012
95 In Lite.pm v1.43,
96 fix bug #75976, change in behavior introduced in v4.050
97 where an empty string supplied to "new" previously returned
98 'undef' and now returns 'default' for ipV4 or ipV6
99
100 4.059 Wed Mar 7 12:50:04 PST 2012
101 add is_rfc1918 to Lite.pm v1.42
102
103 documentation updates
104
105 4.058 Fri Nov 11 19:23:11 PST 2011
106 up rev for documentation update
107 update documentation in InetBase v0.06
108
109 4.057 Fri Nov 11 15:04:20 PST 2011
110 Lite.pm v1.40
111 add call to InetBase::fillIPv4 to all uses of gethostbyname
112
113 break out the code in InetBase v0.05 that expands short IPv4
114 addresses into dotquad format to account for broken BSD
115 implementations of inet_aton and gethostbyname that do
116 not recognize the short format. EXPORT this as sub 'fillIPv4'
117
118 in Util.pm v1.45, add 'fillIPv4' to calls to gethostbyname to
119 work around broken inet_aton and gethostbyname implementations
120 in certain BSD implementations
121
122 4.056 Wed Nov 2 19:15:31 PDT 2011
123 bump rev to incorporate
124 improved inet_aton in InetBase v0.04 to overcome broken
125 gethostbyname found in NetBSD and OpenBSD
126
127 4.055 Fri Oct 28 11:41:22 PDT 2011
128 in Lite.pm v1.38
129 patch for bug 71869, issues with Math::BigInt varients
130
131 4.054 Thu Oct 27 12:48:55 PDT 2011
132 In Lite.pm v1.37, remove Calc.pm
133 add detection of early Math::Bigint object structure
134 fix bug 71869 - a failed test routine
135
136 4.053 Wed Oct 26 08:52:34 PDT 2011
137 In Lite.pm v1.36
138 fix bug #71925. A a sub-varient of #62521 that showed up only for
139 short notation for IPv4. i.e. 127/n, 127.0/n, 127.0.0/n but
140 not 127.0.0.0/n
141
142 4.052 Tue Oct 25 16:18:38 PDT 2011
143 add test in Lite.pm v1.35 for api-version of Math::BigInt to
144 support versions earlier than 1.70, circa Dec 2003.
145 Thanks to Paul Howarth <[email protected]> for spotting that bug.
146
147 4.051 Mon Oct 24 14:44:53 PDT 2011
148 fix bug 71869
149 in Lite.pm v1.34
150 use Math::BigInt::Calc for creating BigInt values and fall
151 back to NetAddr::IP::Calc if Math::BigInt is not present.
152
153 remove reference to Config{osname} in InetBase.pm v0.03
154 (Util 1.43)
155
156
157 4.050 Sat Oct 22 01:58:57 PDT 2011
158 In Lite/Util/lib/NetAddr/IP/Lite/Util/InetBase.pm v0.02
159 Socket6 prior to version 0.23 does not have AF_INET6 in the
160 EXPORT_OK array, modify InetBase.pm v0.2 to work around this.
161
162 Add support for Math::BigInt to NetAddr::IP::Lite v1.33
163
164 4.049 Sat Oct 15 22:15:10 PDT 2011
165 Updates to Lite.pm, Util.pm, new module InetBase.pm
166
167 In Lite v1.32
168 bug68723, add capability to parse input of the form
169 ->new6(12345,1). This should have been there but was
170 missing. Thanks to Andrei Benea for spotting this.
171
172 In Util v1.41
173 add inet_pton, inet_ntop, AF_INET, AF_INET6
174
175 modify inet_n2dx and inet_n2ad to
176 recognize the new 128 bit IPv4 format
177 ::FFFF:FFFF:0:0
178
179 replace isIPv4 with a pure perl version for portablity
180
181 split the following into NetAddr::IP::InetBase v0.01
182 to provide better long term support for IPv6
183 inet_aton
184 inet_ntoa
185 ipv6_aton
186 ipv6_n2x
187 ipv6_n2d
188 inet_any2n
189 inet_n2dx
190 inet_n2ad
191 inet_ntop
192 inet_pton
193 packzeros
194 isIPv4
195 isNewIPv4
196 isAnyIPv4
197 AF_INET
198 AF_INET6
199
200 4.048 Sat Oct 8 01:33:44 PDT 2011
201 remove debug print statement from Util v1.40
202
203 4.047 Thu Oct 6 23:41:42 PDT 2011
204 really correct missing reference in Util v1.39
205 doc update only in Lite.pm v1.30
206
207 4.046 Thu Oct 6 20:20:33 PDT 2011 DEPRECATED
208 corrected missing reference to inet_4map6 in Util v1.38
209
210 4.045 Thu Oct 6 18:23:04 PDT 2011 DEPRECATED
211 updated NetAddr::IP::Util 1.37
212 addid isAnyIPv4, isNewIPv4, inet_4map6
213 revised naip_gethostbyname
214 to conform to Perl's gethostbyname output
215
216 4.044 Wed May 18 14:47:34 PDT 2011
217 added missing support for ->compactref(\@list) which is described
218 in the documentation but not implemented.
219
220 Thanks to Rusty Bourland [email protected] for spotting this
221 and providing both a patch and test code
222
223 4.043 Wed Apr 6 11:31:19 PDT 2011
224 Update documentation on the use of "adding constants
225 to an IP address".
226
227 4.042 Tue Mar 22 15:26:02 PDT 2011
228 Update Lite.pm v1.27 to encompass treatment of /31 and /127
229 point-to-point networks as described in RFC 3021
230
231 NOTE: for /31's and /127's
232 this changes the behavior of the following methods:
233 first returns the "network" address
234 last returns the "broadcast" address
235 nth index 0 returns "network" addr instead of undef
236 nth index 1 returns "broadcast" addr instead of undef
237 num returns 2 instead of 0 (zero)
238
239 "old_nth" behavior is unchanged
240
241 Thanks to Todd Caine [email protected] for pointing this out.
242
243 4.041 Tue Mar 8 15:18:16 PST 2011
244 Updated Lite.pm v1.26, "sub num" to support usable IP ranges
245 greater than 2**32
246
247 Thanks to Jan Ploski [email protected] for finding this bug
248
249 4.040 Sat Feb 19 10:04:00 PST 2011
250 correction to use of Util.pm package lexicals
251
252 thanks to [email protected] for spotting the bug and to
253 Mark Martinec [email protected] for the solution.
254
255 4.039 Wed Feb 16 15:48:03 PST 2011
256 Correct documentation for 'split' methods
257
258 4.038 Fri Dec 17 17:47:47 PST 2010
259 Modify subs "new" and "new6" in Lite.pm to accomodate
260 Cisco mask syntax that uses space instead of "/" for a separator
261 This eliminates the need for "new_cis" and "newcis6" which are now
262 deprecated.
263
264 Modify LIte/t/v4-cnew.t and add Lite/t/v6-cnew.t to test the above
265
266 4.037 Fri Nov 19 10:48:01 PST 2010
267 add :upper and :lower to Lite.pm v1.23
268 add comments about rfc5952 requirement for lowercase ipV6 notation
269 in Lite.pm v1.23 and IP.pm
270 add test for :lower in Lite.pm v1.23
271
272 4.036 Tue Nov 16 16:28:37 PST 2010
273 In Util.pm v1.35, naip_gethostbyname modified to return undef
274 instead of 0 (zero) on failure
275
276 thanks to Terry Cassidy [email protected] for the bug report
277
278 In Util.pm v1.35, move sub's ipv6_n2d and ipv6_n2x to non-autosplit
279 portion of module to eliminate warnings during autosplit of "our"
280 variables
281
282 thanks to Nicholas Bamber <[email protected]>
283 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517361
284
285 In Lite.pm v1.22, update new6 to properly classify short ipv4 notation
286 i.e. 127/8 with test for ":" rather than match for \d.\d.\d.\d
287
288 thanks to Steve Huff (SHUFF) * [email protected] for
289 spotting that bug.
290
291 In Lite.pm v1.22, update t/v4-new.t for deprecated array syntax in
292 perl 5.13
293 was: qw(...stuff...)
294 is: (qw(...stuff...))
295
296 thanks to Todd Rinaldo <[email protected]> for reporting this
297
298 4.035 Thu Oct 28 14:26:19 PDT 2010
299 fix bug in Lite v1.21 where new6 improperly assigns the mask value
300 for and ipv4 address in 32 bit space instead of 128 bit space
301
302 Thanks to Mark Martinec and Steve Huff (SHUFF) * [email protected]
303 for spotting and replicating that bug
304
305 added new_cis and new_cis6 to Lite.pm v1.21 to accomodate
306 Cisco syntax that has IP and MASK separated by a space.
307
308 Updated typo in documentation that left out example
309 print new6 stuff
310
311 4.034 Mon Oct 25 16:22:01 PDT 2010
312 Updated Lite::_xnew v1.20 to properly handle ipV6 notation of the form
313 xxxx:xxxx:xxxx:xxxx:xxxx:xxxx, DDD
314
315 Thanks to Dusty Mabe <[email protected]> for spotting this bug
316
317 4.033 Wed Sep 29 10:32:50 PDT 2010
318 Conditionalize import of AF_INET6 in Util.pm
319 NetAddr::IP::UtilPolluted
320
321 4.032 Wed Sep 22 13:39:08 PDT 2010
322 Added overload => 'ne' and '!=' to Lite.pm v1.18
323
324 4.031 Tue Sep 21 19:21:04 PDT 2010
325 Pull Socket6 stuff out of Lite 1.17 and put into
326 NetAddr::IP::Util.pm 1.33 in its own namespace
327
328 4.030 Tue Jul 20 15:32:23 PDT 2010
329 Resolve named hosts in Lite.pm using gethostbyname, followed by
330 gethostbyname6 to determine whether to set ipV6 flag
331
332 Thanks to Dusty Mabe <[email protected]> for spotting this bug
333
334 4.029 Thu Jul 8 18:17:38 PDT 2010
335 In NetAddr::IP::Lite,
336 added support for the sub "new" to resolve host6 names
337 if the OPTIONAL perl Socket6 module is available
338
339 Thanks to "Mabe, Dusty" <[email protected]> for spotting
340 this and suggesting a fix.
341
342 4.028 Wed May 12 14:18:20 PDT 2010
343 In /Lite/Util/Util.xs v1.32,
344 changed netswap() to postincrement
345 *a++ = to *a and added increment after save to mollify some
346 picky compilers that return possible undefined behavior.
347
348 changed type of _128x10 to 'void'
349
350 Thanks to David Bolt <[email protected]> for the above two patches
351
352 4.027 Tue Jun 9 10:31:11 PDT 2009
353 In NetAddr::IP::Util v1.31,
354 ferret out shell value for Makefile.PL when calling
355 ./configure for systems where the 'x' bit gets lost
356 due to bug in Archive::Tar
357
358 4.026 Sat Mar 7 16:35:33 PST 2009
359 make the compiler test check the environment for
360 CC before using Perl's default compiler
361
362 4.025 Sat Mar 7 16:15:18 PST 2009
363 revised compiler test in Makefile.PL for Util v1.29
364 to accomodate picky Solaris "cc"
365
366 4.024 Mon Jan 26 00:27:32 PST 2009
367 documentation update
368
369 4.023 Fri Jan 16 14:30:40 PST 2009
370 added the capability to set the CASE of ipV6 text return
371 values to either upper or lower. Thanks to
372 Rob Riepel <[email protected]> for developing
373 this improvement and providing a comprehensive patch
374
375 4.022 Sat Dec 20 13:05:01 PST 2008
376 In Util.xs 1.28
377 set uninitialized "carry" in XS bin2bcd to zero
378
379 This insidious bug only showed up on 64 bit hosts running perl 5.6.2
380 Thanks to Oliver Paukstadt <[email protected]> for taking the
381 time to do the testing for me on his s390 system.
382
383 4.021 Wed Dec 10 11:09:36 PST 2008
384 Removed test code that produces a warning about all perl versions,
385 OOPS!! instead of just the buggy 5.8.0 - 5.8.5 versions.
386 Thanks to [email protected] for reporting this.
387
388 4.020 Tue Dec 9 16:25:46 PST 2008
389 cleaned up various typo's with good patch from
390 Rob Riepel <[email protected]>
391 thanks Rob.
392
393 revised UtilPP v1.7 to work around perl 5.8.4
394 failures with certain @_ operations of goto &sub...
395 see perl bug [ 23429]. Unfortunately, perl-5.8.4 is
396 the distribution of choice for many solaris boxes
397
398 4.019 Sat Nov 29 15:15:30 PST 2008
399 in Lite/Util, add pure perl testing to XS build
400
401 4.018 Fri Nov 28 23:19:01 PST 2008
402 revised XS code to be full re-entrant, thread safe in Util.xs v1.26
403 removed all traces of mutex locks in Util.xs v1.26
404 removed function 'threads' here an in UtilPP v1.6
405
406 4.017 Sun Nov 23 19:32:59 PST 2008
407 Extended the capability of 'splitref' to allow splitting of
408 objects into multiple pieces with differing CIDR masks.
409 Returned object list can be split from bottom to top
410 or from top to bottom depending on which method is called
411
412 split, rsplit, splitref, rsplitref
413
414 Thanks to kashmish <[email protected]> for the idea on
415 improving functionality of 'split'.
416
417 Thanks to Rob Riepel <[email protected]>
418 for a faster and more accurate _compV6 function.
419
420 in UtitPP v1.5
421 correct documentation error
422 add threads reporting (empty string)
423
424 in Util v1.25
425 add threads reporting that returns a comma separated
426 string of build headers.
427
428 added what is hopefully thread safe operation via
429 serialization. Must be invoked by "--with-threads"
430
431 in Lite v1.12
432 corrected missing Zeros subroutine
433 Zeros and Zero both will work
434
435 in Lite v1.12
436 added minus (-) overloading to allow the subtraction
437 of two NetAddr::IP objects to get the difference between
438 the object->{addr}'s as a numeric value
439 Thanks to Rob Riepel <[email protected]>
440 for the initial code and inspiration for this enhancement
441
442 4.016 Wed Nov 5 18:13:20 PST 2008
443 in Util/ version 1.24
444 Clean up Makefile.PL to check actual required link
445 libraries against the perl build for consistency
446
447 4.015 Sun Nov 2 10:10:38 PST 2008
448 in Util v1.23 add missing headers in configure and localconf.h
449 for Solaris inet_xton
450 thanks to Karl Bunch <[email protected]> for spotting the bug.
451
452 4.014 Sat Nov 1 15:13:48 PST 2008
453 in Lite.pm v1.11, add test for characters not allowed by
454 rfc952 before the call to gethostbyname in sub new() for those
455 people that insist on using deprecated functionality :aton
456 and OS's that fail to notice calls to gethostbyname with
457 binary arguments.
458
459 4.013 Wed Oct 22 15:04:49 PDT 2008
460 In Lite.pm v1.10, add new no octal method for
461 improperly formatted ipV4 addresses
462
463 In Util.pm v1.22, eliminated dependence on PL_sawampersand
464 thanks to Mark Martinec <[email protected]>
465 for spotting this and submitting a patch.
466
467 In Util.pm v1.22, force -noxs mode for Win32
468
469 In Util.pm v1.22, use autoconf to configure 'C' build
470
471 4.012 Thu Oct 16 19:35:33 PDT 2008
472 clear build bug for Win32 in Util.pm v 1.21
473
474 4.011 released Oct 6 13:10
475
476 4.010 Sat Sep 27 17:00:28 PDT 2008
477 in NetAddr::IP::Util v0.19
478 updated test for ENDIANess in siteconf
479
480 add test in inet_aton to detect overange IP dot quad values
481 missed by some broken Socket implementations
482 i.e. 256.1.1.1 would fail to return undef
483
484 NOTE: Versions 4.008 and 4.009 had limited release to tester only
485 and were not uploaded to CPAN. All of the v4.008, 4.009
486 changes are incorporated in v4.010
487
488 4.009 Tue Sep 2 19:09:57 PDT 2008
489 In NetAddr::IP::Lite v1.07,
490 in the off chance that NetAddr::IP::Lite objects are created
491 and the caller later loads NetAddr::IP and expects to use
492 those objects, let the AUTOLOAD routine find and redirect
493 NetAddr::IP::Lite method and subroutine calls to NetAddr::IP.
494
495 updated Lite/t/v4-wnew.t so that non-existent
496 domains are "really" not there
497
498 4.008 Sat Jun 7 14:01:55 PDT 2008
499 inherit method "new_from_aton" from NetAddr::IP::Lite
500 add related documentation
501
502 Inherited methods from Lite.pm updated as follows:
503
504 comparisons of the form <, >, <=, >=
505 10.0.0.0/24 {operator} 10.0.0.0/16
506 return now return the comparison of the cidr value
507 when the address portion is equal.
508 NOTE: this comparison returns the comparison of the NUMERIC
509 value of the CIDR. This produces the counter intuitive result
510 that /24 > /16. There is logic to this, really! For proper
511 operation of commands like "Compact" and "Coalesce", lists of
512 netaddr objects must sort in ascending order. However, this
513 conflicts with the requirement for larger netblocks to sort
514 FIRST so as to include smaller ones. This logic extends to
515 any requirement for a sort of netaddr objects. It should be
516 further noted that the mixing of netaddr objects with varying
517 IP addresses and CIDR allocations can lead to unexpected
518 results since the comparisons done first on the IP portion
519 and then on the CIDR portion. The documentation has been
520 updated appropriately.
521 Thanks to Peter DeVries for spotting this discrepancy
522
523 4.007 Wed Jun 6 16:41:11 VET 2007
524 Update copyright dates
525
526 4.006 Wed Jun 6 15:58:04 VET 2007
527
528 A patch from Michael got rid of $& and $` as reported by Daryl
529 O'Shea and documented at
530 http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5312
531
532 4.004 Wed Aug 16 16:01:54 PDT 2006
533 update to include/exclude files in corrupted distro
534
535 4.003 Sun Aug 6 10:48:25 PDT 2006
536 correct SYNOPSIS documentation
537 add :old_nth
538
539 update Lite.pm documentation
540 update Util.pm documentation
541 Imported into distribution CVS tree - Some revision number
542 mismatches are to be expected
543 Latin-1 is back
544 Fixed some angle brackets so that they show up in the docs
545
546 4.002 Fri Aug 4 14:14:16 PDT 2006
547 remove unused global variable $isV6
548
549 update Lite.pm to v1.02
550 $isV6 global converted to a lexical variable within sub "_xnew"
551 $Class global removed and replaced by calls to UNIVERSAL::isa
552 Thanks to [email protected] for spotting problems related to
553 using the Lite.pm with mod_perl
554
555 4.001 Thu Jul 6 14:09:01 PDT 2006
556 various bug fixes courtesy of Luis Munoz:
557 changes to Lite.pm v1.01, Util.pm v0.17 see Changes in those distros.
558 update t/v6-re.t, addconst called as a scalar, should be called to
559 return the address value ()[1]
560
561 4.000 Mon Jun 19 21:51:10 PDT 2006
562 initial release of version 4.000 which includes
563 full support of ipV6 addresses and drops the requirement
564 for Math::BigInt and will run on older versions of Perl
565 at least back to 5.005_03
566