Hello OpenLiteSpeed Community,
I am encountering an issue with the DOS Defense feature in OpenLiteSpeed where IPs do not get unbanned after the specified ban time has elapsed. I have reproduced this problem on two different operating systems:
Issue Details:
Best regards,
I am encountering an issue with the DOS Defense feature in OpenLiteSpeed where IPs do not get unbanned after the specified ban time has elapsed. I have reproduced this problem on two different operating systems:
- CentOS 7.9
- Debian 11
OLS Version: 1.7.19
Issue Details:
- Configuration:
- DoS Defense is configured with a 60-second hard limit ban time.
- When an IP exceeds the threshold, it gets banned as expected.
- Problem:
- The IP remains banned even after the specified ban time (60 seconds) has passed.
- The only way to unban the IP is to restart the LiteSpeed server (lsws service restart).
- Observations:
- I cannot find the banned IP in any configuration files.
- It seems that the ban might be held in memory, as a server restart is required to clear the ban.
- After the IP is unbanned by restarting the server, if it gets banned again, the same issue occurs.
- Configure DOS Defense with a 60-second hard limit ban time.
- Trigger a ban by exceeding the threshold from a specific IP. (Apache Bench is good for this)
- Wait for the ban time to elapse.
- Observe that the IP is still banned.
- Restart the LSWS service to unban the IP.
- LiteSpeed version: 1.7.19
- Configuration screenshot attached (30 seconds ban time)
- Guidance on how to properly manage or clear the ban list without needing to restart the service.
- Confirmation if this is a known issue or if there are any patches/updates available to address this problem.
- Any additional troubleshooting steps or configuration adjustments that might resolve this issue.
Best regards,
Attachments
-
27.9 KB Views: 6