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