https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6484
--- Comment #6 from [email protected] 2010-12-09 15:26:24 UTC --- Created an attachment (id=4832) --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4832) Revised Patch - Handles IPv6 labels/addresses I borrowed the code idea in 6519 (but not an exact copy) to extend the lookups into IPv6 zones. Since this repeats code, we should probably have a subroutine/function call for computing the reverse, but as we don't have that yet, I'd let this code stand. I noted in the regex for IPv6, we don't need 9 copies (but only 7) of the latter term as permitting 9 would allow ANY representation where the lower 32 bits are represented as an IPv4 embedded address. However, only two forms (in "::/80") were ever defined - and at most, they would have 3 colons and 3 dots (implying a maximum value of 6, but regular IPv6 addresses can have 7 colons). Therefore, 9 was lowered to 7 so as to exclude invalid representations. -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
