Page 1 of 1

New IPSET function feedback.

Posted: 30 Sep 2014, 20:38
by Sergio
Hi,
I started to use IPSET with CSF, really nice addition, hope in a future Chirpy creates a GUI on where to add or delete IPs on the IPSET.

POST EDITED DUE TO NEW ADVANCES!!

I have to admit, with new toys to play there will always be a chance to forget something, lol.

CSF + IPSET works great!!!

After configuring everything on the server I restarted CSF completely and CSF created a few IPSET databases for each one of the rules that were set on LFD BLOCKLIST, so, it created bl_MAXMIND, bl_TOR, bl_SPAMCOP, etc. and I add my own called BLACKIPS with over 20K IPs in there, I have my own script that block IPs that have triggered my own mod_security rules and with a cron I move those IPs from CFS.DENY to my BLACKIPS.

The load on the server before IPSET was about 2.0 average, now, with IPSET running about 20K blocked IPs the load has been in 0.42 average.

In one word, IPSET is a really nice addition to CSF, thanks Jonathan!!

Re: New IPSET function feedback.

Posted: 20 May 2015, 10:53
by addictofcsf
After I disable FASTSTART it has been fixed :)
------------------

Hello,

If I try to use IPSET I get the following message when I restart CSF.
open3: exec of /usr/sbin/ipset flush failed at /usr/sbin/csf line 4191.
Do you have any idea about this?

Re: New IPSET function feedback.

Posted: 08 Aug 2015, 17:13
by screege
I have the same problem running centos 6.6 with cloudlinux:

open3: exec of /usr/sbin/ipset flush failed at /usr/sbin/csf line 4563

Firewall will not start if lf_ipset enabled

Re: New IPSET function feedback.

Posted: 13 Aug 2015, 11:18
by SteveV
I have the same problem running centos 6.7 with cloudlinux:

open3: exec of /usr/sbin/ipset flush failed at /usr/sbin/csf line 4563

Firewall will not start if lf_ipset enabled even with FASTSTART disabled

Re: New IPSET function feedback.

Posted: 13 Aug 2015, 14:06
by Sergio
You should check if your server has IPSET running.

http://ipset.netfilter.org/install.html

Re: New IPSET function feedback.

Posted: 14 Aug 2015, 08:16
by SteveV
Hi Sergio

<smacks forehead>
That's correct - this is a new server, and I forgot to install ipset!

Re: New IPSET function feedback.

Posted: 14 Aug 2015, 14:34
by Sergio
Glad to help.

Re: New IPSET function feedback.

Posted: 08 Oct 2015, 13:03
by bigste
also <smacks forehead> :o

I used yum install ipset and that seemed to do the trick, which is lucky since I don't have a clue!

thanks Sergio

Re: New IPSET function feedback.

Posted: 08 Oct 2015, 14:52
by Sergio
yes, that is the first step to start using iptables.

Good to know it worked for you.