https://issues.apache.org/SpamAssassin/show_bug.cgi?id=4964
Justin Mason <[EMAIL PROTECTED]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #4269 is|0 |1
obsolete| |
--- Comment #22 from Justin Mason <[EMAIL PROTECTED]> 2008-03-14 07:55:14 PST
---
Created an attachment (id=4274)
--> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4274)
patch (for reference, may not work against 3.2.x)
Done! This adds IPv6 support for trusted_networks, internal_networks,
whitelist_from_rcvd, msa_networks, and other stuff that uses NetSet and the
Received header parser, using NetAddr::IP. (Mail::SPF already requires
NetAddr::IP, so this is "free" for people who have that installed).
Changes involved:
- IP_PRIVATE now includes the ipv6 variants of private address space, as well
as the ipv6-mapped ipv4 addresses.
- NetSet now understands that ::ffff:192.168.1.2 and 192.168.1.2 are the same
address.
- when reading Received hdrs, the "IPv6:" prefix is stripped from ipv6
addresses,
and "::ffff:" is removed from ipv6-mapped ipv4 addresses (so strings can
match them as simply ipv4 addrs).
- ::1 is always included in the trusted_networks/internal_networks set,
similar to 127/8.
- lots of new tests have been added to exercise this.
checked in as of r637123.
--
Configure bugmail:
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.