LFD rncorrect reference to IP:Countries.pm
LFD rncorrect reference to IP:Countries.pm
Using csf v4.58. On restarting LFD, I would get an error "Can't locate IP/Countries.pm in @INC (@INC contains: blah blah". Looking at /etc/csf, I can see a collection of Perl modules that are used by CSF and LFD, but not IP/Countries.pm. On line 124 of /usr/sbin/lfd, the module IP:Countries.pm is called, and it does not exist in /etc/csf. I believe the correct include should be Geography::Countries.pm instead.
Re: LFD rncorrect reference to IP:Countries.pm
Use the latest version of csf will fix your problem.
Code: Select all
Changelog.txt
5.04 - Added BETA IPv6 support. See csf.conf for more information on the new
settings: IPV6 IP6TABLES IPV6_ICMP_STRICT IPV6_SPI TCP6_IN TCP6_OUT
UDP6_IN UDP6_OUT
New CLI option csf --status6 (csf -l6) added to list ip6tables rules
Changed temporary DENY and ACCEPT working file formats to use a
different record separator to cater for future IPv6 support
Advanced Allow/Deny Filters now use | as the separator character to
cope with IPv6 addresses. Legacy support remains for the old :
separator for IPv4 addresses, though these should also now use | as
the field separator
In Server Check report, don't issue IPv6 warning if only ::1/128 is
bound to a NIC (i.e. loopback)
Upgraded Net::CIDR::Lite to v0.21
Upgraded from IP::Countries to Geography::Countries