LFD rncorrect reference to IP:Countries.pm

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
Post Reply
Stefaans
Junior Member
Posts: 2
Joined: 11 Feb 2007, 01:37
Location: Vancouver, Canada
Contact:

LFD rncorrect reference to IP:Countries.pm

Post by Stefaans »

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.
ken_hk
Junior Member
Posts: 15
Joined: 25 Sep 2009, 06:02

Re: LFD rncorrect reference to IP:Countries.pm

Post by ken_hk »

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
Post Reply