Hi all,
I am experiencing a weird issue. For some reason, how many times you try to login on the DirectAdmin interface, you will nog get blocked.
It doesn't matter if try 200 times by clicking the login button. It simply does not block...
In the log under /var/log/directadmin/2022_date.log I see the following:
The IP-address mentioned is from one of my VPN's, so I could monitor (watch) the logs as well when logged in on my real network in the DirectAdmin interface.
Anyways, there is no ban whatsoever! At first I thought it was an issue with csf.conf, so reinstalled the original (unmodified one), but still the same issue. Also tried using the original csf.pignore, but still nothing. In between I reloaded CSF with "csf -R".
I also check all admin settings in regards to the blacklist settings, but all seem fine. I also tried using the script supplied by Poralix here. But it didn't help (didn't expect it would as DirectAdmin has BFM by default nowadays). I also checked all directadmin.conf options; nothing weird and everything enabled.
So now I have no clue what it could be or what is causing it... I am baffled. Maybe it's a bug in the latest DirectAdmin version (running v1.63.7). So I have no clue why it does not block/ban wrong logins on the DirectAdmin interface login...
FYI: blocking other aspects on the server works. For example:
Anyone has an idea? Or can tell me what to try or where to look?
Thanks in advance.
I am experiencing a weird issue. For some reason, how many times you try to login on the DirectAdmin interface, you will nog get blocked.
It doesn't matter if try 200 times by clicking the login button. It simply does not block...
In the log under /var/log/directadmin/2022_date.log I see the following:
Code:
09/03/2022:18:04:17 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:17 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:17 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:17 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:18 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:18 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:18 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:18 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:18 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:18 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:19 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:19 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:19 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:19 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:19 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:19 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:19 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:20 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:20 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:20 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
09/03/2022:18:04:20 185.232.21.XX POST /CMD_LOGIN HTTP/1.1 admin
The IP-address mentioned is from one of my VPN's, so I could monitor (watch) the logs as well when logged in on my real network in the DirectAdmin interface.
Anyways, there is no ban whatsoever! At first I thought it was an issue with csf.conf, so reinstalled the original (unmodified one), but still the same issue. Also tried using the original csf.pignore, but still nothing. In between I reloaded CSF with "csf -R".
I also check all admin settings in regards to the blacklist settings, but all seem fine. I also tried using the script supplied by Poralix here. But it didn't help (didn't expect it would as DirectAdmin has BFM by default nowadays). I also checked all directadmin.conf options; nothing weird and everything enabled.
So now I have no clue what it could be or what is causing it... I am baffled. Maybe it's a bug in the latest DirectAdmin version (running v1.63.7). So I have no clue why it does not block/ban wrong logins on the DirectAdmin interface login...
FYI: blocking other aspects on the server works. For example:
Mar 9 15:36:33 ns1 lfd[23069]: (sshd) Failed SSH login from 116.105.212.31 (VN/Vietnam/-): 5 in the last 3600 secs - *Blocked in csf* [LF_SSHD]
Mar 9 15:37:13 ns1 lfd[26844]: (sshd) Failed SSH login from 116.110.103.67 (VN/Vietnam/-): 5 in the last 3600 secs - *Blocked in csf* [LF_SSHD]
Mar 9 17:46:35 ns1 lfd[10155]: (eximsyntax) Exim syntax errors from 185.165.190.34 (US/United States/red.census.shodan.io): 5 in the last 900 secs - *Blocked in csf* for 915 secs [LF_TRIGGER]
Anyone has an idea? Or can tell me what to try or where to look?
Thanks in advance.