IPSET Ubuntu Linux 14.04.3

Post Reply
mike49
Junior Member
Posts: 2
Joined: 11 Nov 2015, 09:02

IPSET Ubuntu Linux 14.04.3

Post by mike49 »

After installing ipset package I activated IPSET in the firewall configuration (LF_IPSET=1) but then got an error when restarting csf+lfd:
open3: exec of /usr/sbin/ipset flush failed at /usr/sbin/csf line 4599
After investigating by activating DEBUG mode, I saw that the script was trying to launch /usr/sbin/ipset but ipset was only available as /sbin/ipset. I added a symbolic link so ipset could be found by the script and that solved the matter.
The path to ipset seems to be hardcoded in the script, its installation path should be detected IMHO
This apart, it is working great, thanks a lot !
marcele
Junior Member
Posts: 214
Joined: 17 Sep 2007, 17:02

Re: IPSET Ubuntu Linux 14.04.3

Post by marcele »

You can set any OS Specific Settings for the binary locations used in the config file /etc/csf/csf.conf . There is no need to create symbolic links.
mike49
Junior Member
Posts: 2
Joined: 11 Nov 2015, 09:02

Re: IPSET Ubuntu Linux 14.04.3

Post by mike49 »

I'm afraid I missed this part of the csf configuration.Thank you for pointing me to that. It is working ok after changing the binary location as indicated.
Post Reply