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