SA Bugzilla – Bug 4338
[review] Incorrect IANA Reserved range
Last modified: 2005-05-26 15:06:57 UTC
Constants.pm specifies incorrect IANA Reserved range: 071-079/8 instead of 074- 079/8. (I have just received spam from an open proxy at 71.106.26.62.) BTW, I believe that 046/8 is reserved, too.
This was fixed in trunk but apparently forgotten in 3.0 (since there wasn't going to be any more 3.0 releases at that time).
Created attachment 2887 [details] backport trunk r124857 to 3.0
*** Bug 4350 has been marked as a duplicate of this bug. ***
Comment on attachment 2887 [details] backport trunk r124857 to 3.0 This patch isn't complete -- it's missing the updated POD & debug messages.
I looked at the code on the trunk but the change seemed to overarching for 3.0.x. I'm not sure I understand the context of Daniel's change. Anyway, just for the record, bug 4350 contains a backport (if you can call it that -- it's just a minimal fix) of a much more modest change. Either way, the code in 3.0.3 is wrong for 71.0.0.0/8 and 72.0.0.0/8 (I didn't know about 73.0.0.0/8 -- are you sure?)
Created attachment 2892 [details] Simple patch For 3.04, keep it simple. To do it the 3.1 way, you would need both R124829 and R124857. The final result mostly just removes the reserved stuff. The attached patch does this and is what I have been running.
Created attachment 2895 [details] patch against 3.0 Yeah, I'm happy with keeping the existing variable and constant names (IP_IN_RESERVED_RANGE vs IP_PRIVATE) to be consistent with the rest of the 3.0 releases. This patch updates the POD in Conf.pm to reflect only private ranges being included.
+1 2895
+1 for 2895
3.0 r178758