mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Adds SecStatusEngine On/Off switch
Add the possibility to turn the Status Engine On or Off using the directive SecStatusEngine [On/Off]. By default it is On.
This commit is contained in:
@@ -142,6 +142,8 @@ extern DSOLOCAL unsigned long int msc_pcre_match_limit;
|
||||
|
||||
extern DSOLOCAL unsigned long int msc_pcre_match_limit_recursion;
|
||||
|
||||
extern DSOLOCAL int status_engine_state;
|
||||
|
||||
extern DSOLOCAL unsigned long int conn_read_state_limit;
|
||||
|
||||
extern DSOLOCAL unsigned long int conn_write_state_limit;
|
||||
@@ -182,6 +184,9 @@ extern DSOLOCAL int *unicode_map_table;
|
||||
#define MODSEC_DETECTION_ONLY 1
|
||||
#define MODSEC_ENABLED 2
|
||||
|
||||
#define STATUS_ENGINE_ENABLED 1
|
||||
#define STATUS_ENGINE_DISABLED 0
|
||||
|
||||
#define HASH_DISABLED 0
|
||||
#define HASH_ENABLED 1
|
||||
|
||||
|
Reference in New Issue
Block a user