Portal Home > Knowledgebase > Articles Database > ipset not working with csf
ipset not working with csf
Posted by new2world, 03-19-2016, 11:45 PM |
Hi,
I installed ipset and change the setting in csf
apt-get install ipset
Then set LF_IPSET="1" and restart CSF
but after on running csf -r
Flushing chain `PREROUTING'
Flushing chain `POSTROUTING'
Flushing chain `OUTPUT'
open3: exec of /sbin/ipset flush failed at /usr/sbin/csf line 4614
Getting the above error on ipset flush failed.
Can anyone help me out with this please. thanks
|
Posted by new2world, 03-20-2016, 01:23 AM |
Okay sorted out this think in csf file (OS binary setting) files to change IP set file path.
But now I am having another error when run csf-r
Deleting chain `LOCALOUTPUT'
Deleting chain `LOGDROPIN'
Deleting chain `LOGDROPOUT'
ipset v6.11: Kernel error received: Operation not permitted
Using ubuntu 12.04
Last edited by new2world; 03-20-2016 at 01:33 AM.
|
Posted by weetabix, 03-20-2016, 07:09 AM |
Are you on a vps?
|
Posted by new2world, 03-20-2016, 10:39 AM |
Yes, on linux vps using ubuntu 12.04
|
Posted by Layer03, 03-20-2016, 02:59 PM |
Is this an openvz? Or xen / kvm? You may need to recompile your kernel.
|
Posted by Srv24x7, 03-21-2016, 09:30 AM |
Hi,
CSF also provides a testing tool to check if it would be fully operational on the machine. You can find the script in the /etc/csf directory named something like csftest.pl.. Execute it to see if everything is ok..
|
Add to Favourites Print this Article
Also Read