mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Adds the SecRemoteRulesFailAction directive
This directive allows the user to set a default action whenever the SecRemoteRules failed to download a set of rules. Current the supported values are: Warn and Abort. By default `Abort' is selected.
This commit is contained in:
@@ -69,6 +69,7 @@ unsigned long int DSOLOCAL msc_pcre_match_limit = 0;
|
||||
unsigned long int DSOLOCAL msc_pcre_match_limit_recursion = 0;
|
||||
|
||||
msc_remote_rules_server DSOLOCAL *remote_rules_server = NULL;
|
||||
int DSOLOCAL remote_rules_fail_action = REMOTE_RULES_ABORT_ON_FAIL;
|
||||
|
||||
int DSOLOCAL status_engine_state = STATUS_ENGINE_DISABLED;
|
||||
|
||||
@@ -82,6 +83,7 @@ unsigned long int DSOLOCAL conn_write_state_limit = 0;
|
||||
TreeRoot DSOLOCAL *conn_write_state_whitelist = 0;
|
||||
TreeRoot DSOLOCAL *conn_write_state_suspicious_list = 0;
|
||||
|
||||
|
||||
#if defined(WIN32) || defined(VERSION_NGINX)
|
||||
int (*modsecDropAction)(request_rec *r) = NULL;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user