empress
empress copied to clipboard
check-rbl.pl doesn't work
Cron sends these messages:
Can't locate Net/IP.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /opt/check-rbl.pl line 33.
BEGIN failed--compilation aborted at /opt/check-rbl.pl line 33.
Gah!
Can't locate Net/DNS.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /opt/check-rbl.pl line 34.
BEGIN failed--compilation aborted at /opt/check-rbl.pl line 34.
Will try installing libnet-dns-perl
and see if that fixes it. cc @PiPeep
That seems to have worked. However, these two servers need to be removed from the list of servers that's checked, as they have been taken offline:
ircbl.ahbl.org
dnsbl.ahbl.org
Also, it should be generally noted that the email that gets sent to users will confuse 99% of them most likely:
[ip address] is listed on ircbl.ahbl.org !
The upstream script has a patch: lukecyca/check-rbl#1, so we just need to change the commit id.
I'd also like to mention we should have a way of changing this list in the ansible config, because some of the block lists are IMHO useless, like tor.dan.me.uk
, which lists you if you're running a non-exit tor relay. I'm pretty sure nobody uses that, however some people might use the less broad torexit.dan.me.uk
.
This probably means keeping a local copy and turning the script into a template.