Search found 10 matches

by babenito
16 Jul 2018, 21:27
Forum: General Discussion (csf)
Topic: IPs not added to iptables
Replies: 0
Views: 629

IPs not added to iptables

Hi, I wanted to know if this is ok or not. When I add an IP to csf.allow or csf.deny (manually or using the csf -a / -d commands), the IP is not added to iptables, even after restarting csf a few times. Is this normal? Shouldn't CSF add the IP to iptables? This is an example of a IP banned in csf bu...
by babenito
26 Aug 2017, 19:41
Forum: General Discussion (csf)
Topic: CSF and xtables lock issue
Replies: 3
Views: 1691

Re: CSF and xtables lock issue

If someone else is having this problem, I solved it by enabling LF_IPSET in csf.conf

Thanks to @yorodriguez for this.

Moderator: please close/mark this thread as solved if you want.
by babenito
26 Aug 2017, 19:38
Forum: General Discussion (csf)
Topic: Failed to start CSF and lfd
Replies: 12
Views: 8073

Re: Failed to start CSF and lfd

yorodriguez wrote:
21 Aug 2017, 08:25
babenito wrote:
17 Aug 2017, 14:20
Have you been able to find a solution without disabling the blocklists/denied countries?
Enable IPSET.
Worked like a charm, thanks!
by babenito
17 Aug 2017, 14:20
Forum: General Discussion (csf)
Topic: Failed to start CSF and lfd
Replies: 12
Views: 8073

Re: Failed to start CSF and lfd

I've an issue like yours: https://forum.configserver.com/viewtopic.php?f=6&t=10353 And looks like the countries lists are the problem, but for some reason it works perfect on CentOS 6 with cPanel. For me the problem happens only in CentOS 7 with cPanel. Have you been able to find a solution without ...
by babenito
17 Aug 2017, 14:14
Forum: General Discussion (csf)
Topic: CSF and xtables lock issue
Replies: 3
Views: 1691

Re: CSF and xtables lock issue

Sorry to bump the thread before. I've been digging deeper into this. I've tested the same CSF config on different servers running CentOS 6.x with cPanel, and CentOS 7.x with cPanel. All of them have the same settings, but the issue only happens on CentOS 7. CSF works like a charm on CentOS 6. By tri...
by babenito
13 Jul 2017, 04:55
Forum: General Discussion (csf)
Topic: CSF and xtables lock issue
Replies: 3
Views: 1691

Re: CSF and xtables lock issue

I've enabled WAITLOCK but I'm still getting the same error after a few hours.

Any help?

Thanks!
Moderated Message:
Please do not bump threads
by babenito
12 Jul 2017, 03:22
Forum: General Discussion (csf)
Topic: CSF and xtables lock issue
Replies: 3
Views: 1691

CSF and xtables lock issue

Hello, We're having the xtables lock issue: Jul 11 02:05:27 lfd[4545]: *Error*: Unable to check csf due to xtables lock, enable WAITLOCK in csf.conf I've checked other threads and it says this should have been solved in a previous version of CSF. We're running version 10.14: [root@server ~]# csf -v ...
by babenito
08 Sep 2016, 13:38
Forum: General Discussion (csf)
Topic: CC_ALLOW not working?
Replies: 3
Views: 1962

Re: CC_ALLOW not working?

Hello,

Thanks for you answer.

I'm not using CC_DENY and neither CC_ALLOW, and CC_ALLOW_FILTER doesn't look like what I need.

I just need to know why the configuration suggested in the other thread is not working as expected. Any ideas?

Thanks.-
by babenito
06 Sep 2016, 15:37
Forum: General Discussion (csf)
Topic: Excessive resource usage for PHP - how to check which PHP try to execute?
Replies: 2
Views: 1123

Re: Excessive resource usage for PHP - how to check which PHP try to execute?

Take a look at the PID. In this case you should have run:

ps aux | grep 22384
ps aux | grep 14269

That may give you some information. Of course those commands probably won't return anything useful now, because a few days have passed and the PIDs are probably different.

Good luck!
by babenito
06 Sep 2016, 15:26
Forum: General Discussion (csf)
Topic: CC_ALLOW not working?
Replies: 3
Views: 1962

CC_ALLOW not working?

Hello, I've been looking for a way to allow important ports only to a few countries, and I found this topic: http://forum.configserver.com/viewtopic.php?f=6&t=7340#p21395 I followed the suggestions and configured CSF this way: CC_ALLOW_PORTS = "GB,US,AU" CC_ALLOW_PORTS_TCP = "20,21,2077,2078,2082,20...