Search found 7 matches

by navyblue
16 Feb 2025, 10:24
Forum: General Discussion (csf)
Topic: IPTABLES, IPSET Deprecated
Replies: 1
Views: 19478

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: 10280

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: 10280

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: 10280

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: 258605

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: 3380

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: 3418

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...