Page 1 of 1

IPSET Ubuntu Linux 14.04.3

Posted: 11 Nov 2015, 09:23
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 !

Re: IPSET Ubuntu Linux 14.04.3

Posted: 11 Nov 2015, 12:12
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.

Re: IPSET Ubuntu Linux 14.04.3

Posted: 15 Nov 2015, 16:18
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.