mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-14 07:27:09 +03:00
Better alert from SecReadStateLimit
This commit is contained in:
@@ -1116,7 +1116,7 @@ static int hook_connection_early(conn_rec *conn)
|
||||
}
|
||||
|
||||
if (ip_count > conn_read_state_limit) {
|
||||
ap_log_error(APLOG_MARK, APLOG_WARNING, 0, NULL, "ModSecurity: Access denied with code 400. Too many connections [%d] of %ld allowed in READ state from %s - Possible DoS Consumption Attack [Rejected]", ip_count,conn_read_state_limit,conn->remote_ip);
|
||||
ap_log_error(APLOG_MARK, APLOG_WARNING, 0, NULL, "ModSecurity: Access denied with code 400. Too many threads [%d] of %ld allowed in READ state from %s - Possible DoS Consumption Attack [Rejected]", ip_count,conn_read_state_limit,conn->remote_ip);
|
||||
return OK;
|
||||
} else {
|
||||
return DECLINED;
|
||||
|
||||
Reference in New Issue
Block a user