Search found 10 matches

by navyblue
28 Jun 2025, 08:41
Forum: General Discussion (csf)
Topic: Why CC_Deny doesn't block IR to block Iran
Replies: 1
Views: 16704

Re: Why CC_Deny doesn't block IR to block Iran

Sorry, thanks to SPaReK -- the problem was not restarting LFD. I did not realize you had to restart lfd before restarting csf for the cc_deny to load a new country deny list.
by navyblue
28 Jun 2025, 08:39
Forum: Suggestions (csf)
Topic: MaxMind custom download source
Replies: 1
Views: 91967

Re: MaxMind custom download source

I see this was posted a year ago. Did you find a solution to this?
by navyblue
22 Jun 2025, 04:06
Forum: General Discussion (csf)
Topic: Why CC_Deny doesn't block IR to block Iran
Replies: 1
Views: 16704

Why CC_Deny doesn't block IR to block Iran

Under CC_Deny I have IN,IR,IQ to block india, iran, and iraq.

When I do csf -r
I get
...
csf: FASTSTART loading CC_DENY [in] (IPv4)
csf: FASTSTART loading CC_DENY [iq] (IPv4)
...

It skips and doesn't list IR

Is IR not the correct country code for Iran for CSF? I'm using maxmind for the CC_Deny
by navyblue
16 Feb 2025, 10:24
Forum: General Discussion (csf)
Topic: IPTABLES, IPSET Deprecated
Replies: 1
Views: 24287

Re: IPTABLES, IPSET Deprecated

Does major release mean RHEL10 ? Or RHEL 9.6?
by navyblue
16 Feb 2025, 09:38
Forum: General Discussion (csf)
Topic: CSF + ModSec not working
Replies: 4
Views: 17070

Re: CSF + ModSec not working

It looks like I do not need to specify custom_1 log with this. I wasn't sure if I needed to specify custom_1 log to get the regex.custom.pm to scan, but it seems that is not necessary for this to function. I must not have had the syntax correct from post 2 in my first attempt: [(?:client|remote) \S+...
by navyblue
16 Feb 2025, 09:27
Forum: General Discussion (csf)
Topic: CSF + ModSec not working
Replies: 4
Views: 17070

Re: CSF + ModSec not working

OK, I searched the forum quite a bit, and found this older post https://forum.configserver.com/viewtopic.php?t=9951 I modified it changing [client \S+:\S+\] \[client (\S+)\] to [remote \S+:\S+\] \[client (\S+)\] if (($config{LF_MODSEC}) and ($globlogs{MODSEC_LOG}{$lgfile}) and ($line =~ /^\[\S+ \S+ ...
by navyblue
16 Feb 2025, 08:39
Forum: General Discussion (csf)
Topic: CSF + ModSec not working
Replies: 4
Views: 17070

Re: CSF + ModSec not working

Thanks very, very much for sharing this. To implement this, do I simply: 1.) add this to /usr/local/csf/bin/regex.custom.pm 2.) set Custom1 log to /usr/local/apache/logs/error_log I noticed tonight that I had one mod_security tigger an LFD ip block where their ip appears as [client IP:42846] [client...
by navyblue
16 Feb 2025, 07:43
Forum: Report Bugs (csf)
Topic: Issue/bug with AlmaLinux 9 mod_http2 CSF and mod_security?
Replies: 2
Views: 558048

Re: Issue/bug with AlmaLinux 9 mod_http2 CSF and mod_security?

Did you find any solution to this? Finding tonight on cloudlinux 9 sever with http2 enabled, despite hits showing up in the mod security tools from my tests of loading ?this=/etc/passwd CSF/LFD is not blocking the ip. Is there a solution to allow LFD to block mod_security hits on Cloudlinux 9 with t...
by navyblue
17 Apr 2021, 08:15
Forum: General Discussion (csf)
Topic: Cloudlinux 6 Support
Replies: 1
Views: 5023

Re: Cloudlinux 6 Support

Yes with Cloudlinux and cPanel supporting Cloudlinux 6 through June 2024 now, please continue to support Cloudlinux 6. With Cloudlinux 7 going EOL the same 2024 year as Cloudlinux 6 Extended support, I'd like to continue running Cloudlinux 6 extended support. I'm also a bit uncertain with Centos 8 g...
by navyblue
25 Mar 2021, 09:39
Forum: General Discussion (csf)
Topic: WHM/Cpanel root access alert email logic
Replies: 0
Views: 5124

WHM/Cpanel root access alert email logic

Is the intended behavior that csf /lfd will only email upon the first WHM root access from the same IP within so many hours? I'm trying to figure out why lfd only sent one email "WHM/Cpanel root access alert" when I logged in and out and then in again a few times to WHM. The cpanel login_l...