empress icon indicating copy to clipboard operation
empress copied to clipboard

check-rbl.pl doesn't work

Open taoeffect opened this issue 9 years ago • 4 comments

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.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/6810672-check-rbl-pl-doesn-t-work?utm_campaign=plugin&utm_content=tracker%2F8064840&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F8064840&utm_medium=issues&utm_source=github).

taoeffect avatar Dec 06 '14 07:12 taoeffect

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

taoeffect avatar Dec 16 '14 06:12 taoeffect

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

taoeffect avatar Jan 25 '15 03:01 taoeffect

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 !

taoeffect avatar Jan 25 '15 03:01 taoeffect

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.

bgw avatar Jan 25 '15 05:01 bgw