IPv6 patch against policyd-weight
Hi All,
I have created an patch against the current policyd-weight
version(0.1.14 beta-17). This patch adds support for IPv6 Helo and RBL
checks. This code is not very nice, but it seems to work :)
I have modified the default configuration to query the IPv6 Beta RBL at
http://ipv6rbl.ipv6-world.net/.
Greets,
Jonas
--- policyd-weight.orig 2008-09-22 20:33:22.000000000 +0200
+++ policyd-weight 2008-09-22 20:33:21.000000000 +0200
@@ -68,6 +68,7 @@ use Fcntl;
use File::Spec;
use Sys::Syslog qw(:DEFAULT setlogsock);
use Net::DNS;
+use Net::IP;
use Net::DNS::Packet qw(dn_expand);
use IO::Socket::INET;
use IO::Socket::UNIX;
@@ -375,7 +376,8 @@ my @dnsbl_score = (
'bl.spamcop.net', 3.75, -1.5, 'SPAMCOP',
'dnsbl.njabl.org', 4.25, -1.5, 'BL_NJABL',
'list.dsbl.org', 4.35, 0, 'DSBL_ORG',
- 'ix.dnsbl.manitu.net', 4.35, 0, 'IX_MANITU'
+ 'ix.dnsbl.manitu.net', 4.35, 0, 'IX_MANITU',
+ 'rbl.ipv6-world.net', 10.05, 0, 'IPv6_RBL'
(Continue reading)