There were previous issues with Net::Patricia that caused its use to be problematic.
https://rt.cpan.org/Ticket/Display.html?id=14244 I've taken over ownership of the Net::Patricia module, and have fixed this issue. I'm also thinking about adding opaque blob matching, so that it can be used on DNS matches (you would of course have to resequence the domain components or the characters themselves first to be able to use it, such as: my $blob = join('.', reverse(split(/\./, $domain_name))); Unfortunately, the search library right now would be inefficient because of the way that it was implemented (it makes a worst-case assumption about there potentially being a fork at every bit in the tree... so for a 128-bit IPv6 address, it would expect to have a stack 128 entries deep... this doesn't seem realistic, and I'll work on it when I have time; obviously for domain strings longer than 16 bytes this would be even worse). But for now, it works well enough with IPv4 and IPv6 addresses. Send me any questions you have. Thanks, -Philip _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang