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