Newer
Older
NetAddr-IP / Changes
@Michael Robinton Michael Robinton on 21 Oct 2014 10 KB Import of MIKER/NetAddr-IP-4.039 from CPAN.
  1. Revision history for Perl extension NetAddr::IP
  2.  
  3. 4.039 Wed Feb 16 15:48:03 PST 2011
  4. Correct documentation for 'split' methods
  5.  
  6. 4.038 Fri Dec 17 17:47:47 PST 2010
  7. Modify subs "new" and "new6" in Lite.pm to accomodate
  8. Cisco mask syntax that uses space instead of "/" for a separator
  9. This eliminates the need for "new_cis" and "newcis6" which are now
  10. deprecated.
  11.  
  12. Modify LIte/t/v4-cnew.t and add Lite/t/v6-cnew.t to test the above
  13.  
  14. 4.037 Fri Nov 19 10:48:01 PST 2010
  15. add :upper and :lower to Lite.pm v1.23
  16. add comments about rfc5952 requirement for lowercase ipV6 notation
  17. in Lite.pm v1.23 and IP.pm
  18. add test for :lower in Lite.pm v1.23
  19.  
  20. 4.036 Tue Nov 16 16:28:37 PST 2010
  21. In Util.pm v1.35, naip_gethostbyname modified to return undef
  22. instead of 0 (zero) on failure
  23.  
  24. thanks to Terry Cassidy enaudishaylee@tc17.com for the bug report
  25.  
  26. In Util.pm v1.35, move sub's ipv6_n2d and ipv6_n2x to non-autosplit
  27. portion of module to eliminate warnings during autosplit of "our"
  28. variables
  29.  
  30. thanks to Nicholas Bamber <nicholas@periapt.co.uk>
  31. Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517361
  32.  
  33. In Lite.pm v1.22, update new6 to properly classify short ipv4 notation
  34. i.e. 127/8 with test for ":" rather than match for \d.\d.\d.\d
  35. thanks to Steve Huff (SHUFF) * shuff@cpan.org for
  36. spotting that bug.
  37.  
  38. In Lite.pm v1.22, update t/v4-new.t for deprecated array syntax in
  39. perl 5.13
  40. was: qw(...stuff...)
  41. is: (qw(...stuff...))
  42.  
  43. thanks to Todd Rinaldo <toddr@cpan.org> for reporting this
  44.  
  45. 4.035 Thu Oct 28 14:26:19 PDT 2010
  46. fix bug in Lite v1.21 where new6 improperly assigns the mask value
  47. for and ipv4 address in 32 bit space instead of 128 bit space
  48.  
  49. Thanks to Mark Martinec and Steve Huff (SHUFF) * shuff@cpan.org
  50. for spotting and replicating that bug
  51.  
  52. added new_cis and new_cis6 to Lite.pm v1.21 to accomodate
  53. Cisco syntax that has IP and MASK seperated by a space.
  54.  
  55. Updated typo in documentation that left out example
  56. print new6 stuff
  57.  
  58. 4.034 Mon Oct 25 16:22:01 PDT 2010
  59. Updated Lite::_xnew v1.20 to properly handle ipV6 notation of the form
  60. xxxx:xxxx:xxxx:xxxx:xxxx:xxxx, DDD
  61.  
  62. Thanks to Dusty Mabe <Dusty.Mabe@tekelec.com> for spotting this bug
  63.  
  64. 4.033 Wed Sep 29 10:32:50 PDT 2010
  65. Conditionalize import of AF_INET6 in Util.pm
  66. NetAddr::IP::UtilPolluted
  67.  
  68. 4.032 Wed Sep 22 13:39:08 PDT 2010
  69. Added overload => 'ne' and '!=' to Lite.pm v1.18
  70.  
  71. 4.031 Tue Sep 21 19:21:04 PDT 2010
  72. Pull Socket6 stuff out of Lite 1.17 and put into
  73. NetAddr::IP::Util.pm 1.33 in its own namespace
  74.  
  75. 4.030 Tue Jul 20 15:32:23 PDT 2010
  76. Resolve named hosts in Lite.pm using gethostbyname, followed by
  77. gethostbyname6 to determine whether to set ipV6 flag
  78.  
  79. Thanks to Dusty Mabe <Dusty.Mabe@tekelec.com> for spotting this bug
  80.  
  81. 4.029 Thu Jul 8 18:17:38 PDT 2010
  82. In NetAddr::IP::Lite,
  83. added support for the sub "new" to resolve host6 names
  84. if the OPTIONAL perl Socket6 module is available
  85.  
  86. Thanks to "Mabe, Dusty" <Dusty.Mabe@tekelec.com> for spotting
  87. this and suggesting a fix.
  88.  
  89. 4.028 Wed May 12 14:18:20 PDT 2010
  90. In /Lite/Util/Util.xs v1.32,
  91. changed netswap() to postincrement
  92. *a++ = to *a and added increment after save to mollify some
  93. picky compilers that return possible undefined behavior.
  94.  
  95. changed type of _128x10 to 'void'
  96.  
  97. Thanks to David Bolt <dbolt@davjam.org> for the above two patches
  98.  
  99. 4.027 Tue Jun 9 10:31:11 PDT 2009
  100. In NetAddr::IP::Util v1.31,
  101. ferret out shell value for Makefile.PL when calling
  102. ./configure for systems where the 'x' bit gets lost
  103. due to bug in Archive::Tar
  104.  
  105. 4.026 Sat Mar 7 16:35:33 PST 2009
  106. make the compiler test check the environment for
  107. CC before using Perl's default compiler
  108.  
  109. 4.025 Sat Mar 7 16:15:18 PST 2009
  110. revised compiler test in Makefile.PL for Util v1.29
  111. to accomodate picky Solaris "cc"
  112.  
  113. 4.024 Mon Jan 26 00:27:32 PST 2009
  114. documentation update
  115.  
  116. 4.023 Fri Jan 16 14:30:40 PST 2009
  117. added the capability to set the CASE of ipV6 text return
  118. values to either upper or lower. Thanks to
  119. Rob Riepel <riepel@networking.Stanford.EDU> for developing
  120. this improvement and providing a comprehensive patch
  121.  
  122. 4.022 Sat Dec 20 13:05:01 PST 2008
  123. In Util.xs 1.28
  124. set uninitialized "carry" in XS bin2bcd to zero
  125.  
  126. This insidious bug only showed up on 64 bit hosts running perl 5.6.2
  127. Thanks to Oliver Paukstadt <pstadt@sourcentral.org> for taking the
  128. time to do the testing for me on his s390 system.
  129.  
  130. 4.021 Wed Dec 10 11:09:36 PST 2008
  131. Removed test code that produces a warning about all perl versions,
  132. OOPS!! instead of just the buggy 5.8.0 - 5.8.5 versions.
  133. Thanks to paul@city-fan.org for reporting this.
  134.  
  135. 4.020 Tue Dec 9 16:25:46 PST 2008
  136. cleaned up various typo's with good patch from
  137. Rob Riepel <riepel@networking.Stanford.EDU>
  138. thanks Rob.
  139.  
  140. revised UtilPP v1.7 to work around perl 5.8.4
  141. failures with certain @_ operations of goto &sub...
  142. see perl bug [ 23429]. Unfortunately, perl-5.8.4 is
  143. the distribution of choice for many solaris boxes
  144.  
  145. 4.019 Sat Nov 29 15:15:30 PST 2008
  146. in Lite/Util, add pure perl testing to XS build
  147.  
  148. 4.018 Fri Nov 28 23:19:01 PST 2008
  149. revised XS code to be full re-entrant, thread safe in Util.xs v1.26
  150. removed all traces of mutex locks in Util.xs v1.26
  151. removed function 'threads' here an in UtilPP v1.6
  152.  
  153. 4.017 Sun Nov 23 19:32:59 PST 2008
  154. Extended the capability of 'splitref' to allow splitting of
  155. objects into multiple pieces with differing CIDR masks.
  156. Returned object list can be split from bottom to top
  157. or from top to bottom depending on which method is called
  158.  
  159. split, rsplit, splitref, rsplitref
  160.  
  161. Thanks to kashmish <kashmish@gmail.com> for the idea on
  162. improving functionality of 'split'.
  163.  
  164. Thanks to Rob Riepel <riepel@networking.Stanford.EDU>
  165. for a faster and more accurate _compV6 function.
  166.  
  167. in UtitPP v1.5
  168. correct documentation error
  169. add threads reporting (empty string)
  170.  
  171. in Util v1.25
  172. add threads reporting that returns a comma separated
  173. string of build headers.
  174.  
  175. added what is hopefully thread safe operation via
  176. serialization. Must be invoked by "--with-threads"
  177.  
  178. in Lite v1.12
  179. corrected missing Zeros subroutine
  180. Zeros and Zero both will work
  181.  
  182. in Lite v1.12
  183. added minus (-) overloading to allow the subtraction
  184. of two NetAddr::IP objects to get the difference between
  185. the object->{addr}'s as a numeric value
  186. Thanks to Rob Riepel <riepel@networking.Stanford.EDU>
  187. for the initial code and inspiration for this enhancement
  188.  
  189. 4.016 Wed Nov 5 18:13:20 PST 2008
  190. in Util/ version 1.24
  191. Clean up Makefile.PL to check actual required link
  192. libraries against the perl build for consistency
  193.  
  194. 4.015 Sun Nov 2 10:10:38 PST 2008
  195. in Util v1.23 add missing headers in configure and localconf.h
  196. for Solaris inet_xton
  197. thanks to Karl Bunch <karl@digilink.net> for spotting the bug.
  198.  
  199. 4.014 Sat Nov 1 15:13:48 PST 2008
  200. in Lite.pm v1.11, add test for characters not allowed by
  201. rfc952 before the call to gethostbyname in sub new() for those
  202. people that insist on using deprecated functionality :aton
  203. and OS's that fail to notice calls to gethostbyname with
  204. binary arguments.
  205.  
  206. 4.013 Wed Oct 22 15:04:49 PDT 2008
  207. In Lite.pm v1.10, add new no octal method for
  208. improperly formatted ipV4 addresses
  209.  
  210. In Util.pm v1.22, eliminated dependence on PL_sawampersand
  211. thanks to Mark Martinec <Mark.Martinec@ijs.si>
  212. for spotting this and submitting a patch.
  213.  
  214. In Util.pm v1.22, force -noxs mode for Win32
  215.  
  216. In Util.pm v1.22, use autoconf to configure 'C' build
  217.  
  218. 4.012 Thu Oct 16 19:35:33 PDT 2008
  219. clear build bug for Win32 in Util.pm v 1.21
  220.  
  221. 4.011 released Oct 6 13:10
  222.  
  223. 4.010 Sat Sep 27 17:00:28 PDT 2008
  224. in NetAddr::IP::Util v0.19
  225. updated test for ENDIANess in siteconf
  226.  
  227. add test in inet_aton to detect overange IP dot quad values
  228. missed by some broken Socket implementations
  229. i.e. 256.1.1.1 would fail to return undef
  230.  
  231. NOTE: Versions 4.008 and 4.009 had limited release to tester only
  232. and were not uploaded to CPAN. All of the v4.008, 4.009
  233. changes are incorporated in v4.010
  234.  
  235. 4.009 Tue Sep 2 19:09:57 PDT 2008
  236. In NetAddr::IP::Lite v1.07,
  237. in the off chance that NetAddr::IP::Lite objects are created
  238. and the caller later loads NetAddr::IP and expects to use
  239. those objects, let the AUTOLOAD routine find and redirect
  240. NetAddr::IP::Lite method and subroutine calls to NetAddr::IP.
  241.  
  242. updated Lite/t/v4-wnew.t so that non-existent
  243. domains are "really" not there
  244.  
  245. 4.008 Sat Jun 7 14:01:55 PDT 2008
  246. inherit method "new_from_aton" from NetAddr::IP::Lite
  247. add related documentation
  248.  
  249. Inherited methods from Lite.pm updated as follows:
  250.  
  251. comparisons of the form <, >, <=, >=
  252. 10.0.0.0/24 {operator} 10.0.0.0/16
  253. return now return the comparison of the cidr value
  254. when the address portion is equal.
  255. NOTE: this comparison returns the comparison of the NUMERIC
  256. value of the CIDR. This produces the counter intuitive result
  257. that /24 > /16. There is logic to this, really! For proper
  258. operation of commands like "Compact" and "Coalesce", lists of
  259. netaddr objects must sort in ascending order. However, this
  260. conflicts with the requirement for larger netblocks to sort
  261. FIRST so as to include smaller ones. This logic extends to
  262. any requirement for a sort of netaddr objects. It should be
  263. further noted that the mixing of netaddr objects with varying
  264. IP addresses and CIDR allocations can lead to unexpected
  265. results since the comparisons done first on the IP portion
  266. and then on the CIDR portion. The documentation has been
  267. updated appropriately.
  268. Thanks to Peter DeVries for spotting this discrepancy
  269.  
  270. 4.007 Wed Jun 6 16:41:11 VET 2007
  271. Update copyright dates
  272.  
  273. 4.006 Wed Jun 6 15:58:04 VET 2007
  274.  
  275. A patch from Michael got rid of $& and $` as reported by Daryl
  276. O'Shea and documented at
  277. http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5312
  278.  
  279. 4.004 Wed Aug 16 16:01:54 PDT 2006
  280. update to include/exclude files in corrupted distro
  281.  
  282. 4.003 Sun Aug 6 10:48:25 PDT 2006
  283. correct SYNOPSIS documentation
  284. add :old_nth
  285.  
  286. update Lite.pm documentation
  287. update Util.pm documentation
  288. Imported into distribution CVS tree - Some revision number
  289. mismatches are to be expected
  290. Latin-1 is back
  291. Fixed some angle brackets so that they show up in the docs
  292.  
  293. 4.002 Fri Aug 4 14:14:16 PDT 2006
  294. remove unused global variable $isV6
  295.  
  296. update Lite.pm to v1.02
  297. $isV6 global converted to a lexical variable within sub "_xnew"
  298. $Class global removed and replaced by calls to UNIVERSAL::isa
  299. Thanks to julian@mehnle.net for spotting problems related to
  300. using the Lite.pm with mod_perl
  301.  
  302. 4.001 Thu Jul 6 14:09:01 PDT 2006
  303. various bug fixes courtesy of Luis Munoz:
  304. changes to Lite.pm v1.01, Util.pm v0.17 see Changes in those distros.
  305. update t/v6-re.t, addconst called as a scalar, should be called to
  306. return the address value ()[1]
  307.  
  308. 4.000 Mon Jun 19 21:51:10 PDT 2006
  309. initial release of version 4.000 which includes
  310. full support of ipV6 addresses and drops the requirement
  311. for Math::BigInt and will run on older versions of Perl
  312. at least back to 5.005_03
  313.