I don't have full confidence in how bruteforce blocking to the firewall works.
I use: csf v14.17 and directadmin Version 1.642 on Centos 7 64bitt.
In the brute force i see In Failed Logins on the webinterface:
212.70.x.x 4168 2022-09-16 17:59 2022-09-17 08:08 (block yes)
5.34.x.x 3085 2022-09-15 18:11 2022-09-18 16:28 (block yes)
So the ip 212.70.x.x. have login wrong for 4168 times. I like to stop this on 150 times and block.
In the block list on brute force list i see 364 items.
When i check the firewall i see on csf.deny, the IP address deny file (Currently: 17 permanent IP bans)
Only what i do by hand..17 times. This must be the same items so 364 or?
Also i see a other problem the log file is 85mb big.. and see some high CPU use
dataskq is using sometimes 175% CPU.
In the past i use the arno-firewall so i remove it and delete own scripts like:
rm /usr/local/directadmin/scripts/custom/block_ip.sh
rm /usr/local/directadmin/scripts/custom/brute_force_notice_ip.sh
rm /usr/local/directadmin/scripts/custom/show_blocked_ips.sh
rm /usr/local/directadmin/scripts/custom/unblock_ip.sh
rm /root/blocked_ips.txt
rm /root/exempt_ips.txt
And then i install:
wget -O csf-bfm-install.sh https://raw.githubusercontent.com/poralix/directadmin-bfm-csf/master/install.sh
chmod 700 csf-bfm-install.sh
./csf-bfm-install.sh
I'm not very confident this will work. Since I use the csf I have 4 times as much high load. And I see too many x wrong logged in..
I hope someone can help me to do a few checks or give some tips
I use: csf v14.17 and directadmin Version 1.642 on Centos 7 64bitt.
In the brute force i see In Failed Logins on the webinterface:
212.70.x.x 4168 2022-09-16 17:59 2022-09-17 08:08 (block yes)
5.34.x.x 3085 2022-09-15 18:11 2022-09-18 16:28 (block yes)
So the ip 212.70.x.x. have login wrong for 4168 times. I like to stop this on 150 times and block.
In the block list on brute force list i see 364 items.
When i check the firewall i see on csf.deny, the IP address deny file (Currently: 17 permanent IP bans)
Only what i do by hand..17 times. This must be the same items so 364 or?
Also i see a other problem the log file is 85mb big.. and see some high CPU use
dataskq is using sometimes 175% CPU.
In the past i use the arno-firewall so i remove it and delete own scripts like:
rm /usr/local/directadmin/scripts/custom/block_ip.sh
rm /usr/local/directadmin/scripts/custom/brute_force_notice_ip.sh
rm /usr/local/directadmin/scripts/custom/show_blocked_ips.sh
rm /usr/local/directadmin/scripts/custom/unblock_ip.sh
rm /root/blocked_ips.txt
rm /root/exempt_ips.txt
And then i install:
wget -O csf-bfm-install.sh https://raw.githubusercontent.com/poralix/directadmin-bfm-csf/master/install.sh
chmod 700 csf-bfm-install.sh
./csf-bfm-install.sh
I'm not very confident this will work. Since I use the csf I have 4 times as much high load. And I see too many x wrong logged in..
I hope someone can help me to do a few checks or give some tips