I see that csf blocked ips are logged in /var/log/messages.
Is there a way to have it log the name of the blocklist that triggered the block?
I am using /etc/csf/csf.blocklists to specify blocklists.
something like iptables LOG --log-prefix some name: ?
I have the following port range open in TCP-OUT in firewall configuration 49152:65534
I'm trying to use ftp client to copy some backups on FTP, which cannot switch to passive mode.
I changed from cPanel to CWP Control Panel and I am running the latest version of CSF and everything was fine until the otherday I could not access any domain on my server, yet I can access any IP on the server so when I need to access a domain I have to disable CSF.
I have my IP in csf.allow & csf.ignore and it is still blocking me on Port 80 and I cannot figure out why, anyone have...
I recently installed CSF with default rules in a cPanel/AlmaLinux with LiteSpeed.
When accessing a link like Safari keeps loading until error connecting...
If I disable CSF it works.
I can't find any logs about this issue... no logs for blocked or other issues, it just drops...
HI I enabled the web UI for CSF, getting connection reset by peer while doing a curl
The webpage at might be temporarily down or it may have moved permanently to a new web address.
ERR_UNSAFE_PORT
UI = 1
# Set this to the port that want to bind this service to. You should configure
# this port to be >1023 and different from any other port already being used
#
# Do NOT enable access to this...
Hi guys, I'm new here, but I've been using CSF for many years! Over 2024, there has been a surge in Internet attacks and I've recently discovered something with my CSF install that I think is weird and wanted your opinion and eventually maybe a suggestion to mitigate the issue:
In my config, I have:
LF_TRIGGER = 0
LF_APACHE_404 = 200
LF_APACHE_404_PERM = 3600 (1 hour)
LF_INTERVAL = 300 (5...
I have a VPS with Almalinux8, Cpanel and CSF installed and with a 600Mpbs port. I started experiencing speed issues with FTP uploads (because it limited data upload) and so to check the speeds from the server, I installed speedtest cli.
I have setup a modsec script to help protect my wp-login.php file. Essentially the script that I've found will block access for the offending IP address for 5 minutes upon 10 failed login attempts over a 3 minute duration.
I'd like to utilize the LF_MODSEC portion of CSF to add them to the iptables firewall so that they're blocked right at the front door.
We allow remote MySQL access for specific IP adress, by adding a rule to the csf.allow file as following;
d=3306|s= #
This has been working fine for a couple of years now.
However, since a few days we got multiple complaints that MySQL access is blocked. When checking the logs I see these entries; indicating that the port is blocked. I have seen multiple cases of this, on...
OK I know, CSF is an IP based firewall, but we are already working with domain name.
In csf.dyndns.
Could we get something like csf.blockeddomain that will work the other way?
Check every 10min what IP the domain has and add it to block list?
Hi, I'm looking at logs and finding that src ip's are looking for trouble, but they are spreading their attack times to a couple of tries over a spread of minutes. Cannot find a way in csf config to set a ban for this. Here is a sample of the syslog to show what I'm seeing (pruned the log down for viewing):
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum