You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2007/02/01 20:16:52 UTC

[Bug 4964] Mail::SpamAssassin::NetSet: remove custom code, use CPAN module, support IPv6

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





------- Additional Comments From Mark.Martinec@ijs.si  2007-02-01 11:16 -------
> when a query net is a superset of some entry from a list, what should happen?
>   Return a partial match and a result value corresponding to the first
>   partially matching entry, or continue scanning next entries in the list
>   for further matches, which may or may not fill-in missing pieces, but may
>   also provide conflicting results when giving opposite result values.

Thinking aloud: one possibility on hitting a subset list entry of
a query is to split the query CIDR network into three (possibly empty)
ranges: below the matching range, above it, and the matching range.
Then do a recursive call on below- and above- ranges, and if both
results agree with the central section we have and answer.
Otherwise the conflict can not be resolved, there is no single
boolean answer to fit the query.



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