Better alert from SecReadStateLimit

This commit is contained in:
brenosilva
2010-11-24 13:13:29 +00:00
parent d795bdd9e8
commit b90325cb71
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
22 Nov 2010 - 2.5.13-dev3
* Add SecReadStateLimit to limit the number of BUSY connections
* Add SecReadStateLimit to limit the number threads in BUSY connections per ip address
* Fixed redirect action was not expanding macros in chained rules

View File

@@ -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;