http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4964

           Summary: Mail::SpamAssassin::NetSet: removing custom code, using
                    CPAN module
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Libraries
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Mail::SpamAssassin::NetSet uses some custom code to keep the list of
addresses / networks.  It doesn't support IPv6.

IPv6 support can of course be added using custom code, but there are
CPAN modules providing this functionality:

 - http://search.cpan.org/dist/Net-IP/
 - http://search.cpan.org/dist/NetAddr-IP/
 - http://search.cpan.org/dist/NetAddr-IP-Lite/

I suggest using NetAddr::IP::Lite; it seemed to be least buggy and
most actively developed of all three.

This means adding another dependency, so I guess some of you will
strongly object.  But:

 * there should be IPv6 support
 * no point in reinventing the wheel
 * implementing IP RFC's isn't SA's purpose
 * show must go on.

I can provide custom code to add this functionality (pack & unpack here
and there isn't that hard after all).  But -- even though I trust it's
quality -- it won't be as throughly tested as a specialised module.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to