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





------- Additional Comments From [EMAIL PROTECTED]  2007-01-25 01:10 -------
> the "is net A within net B" code is infrequently used -- just whenever
> trusted_networks / internal_networks is specified in a config file

Query on entire CIDR ranges may bring-in a new set of considerations.

When traversing a list of networks the following results may occur:

- no intersection with any entries, this one is easy;

- when same or a subset of some entry is found (and no previous matches)
  this is fine, no ambiguities there, the matching entry from the list
  provides the result (true/false) and search stops;

- 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.



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

Reply via email to