mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Removes SecDebugLog directive from the test cases
This commit is contained in:
parent
8ac15e2915
commit
f3bbcfc7ef
@ -9,7 +9,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDefaultAction \"phase:2,deny,status:404\"",
|
"SecDefaultAction \"phase:2,deny,status:404\"",
|
||||||
"SecAction \"id:'900001',phase:request,nolog,status:403,t:none\""
|
"SecAction \"id:'900001',phase:request,nolog,status:403,t:none\""
|
||||||
]
|
]
|
||||||
@ -24,7 +23,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDefaultAction \"phase:2,deny,status:404\"",
|
"SecDefaultAction \"phase:2,deny,status:404\"",
|
||||||
"SecAction \"id:'1',phase:request,nolog,t:none\""
|
"SecAction \"id:'1',phase:request,nolog,t:none\""
|
||||||
]
|
]
|
||||||
@ -39,7 +37,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDefaultAction \"phase:2,deny,status:404\"",
|
"SecDefaultAction \"phase:2,deny,status:404\"",
|
||||||
"SecAction \"id:'1',phase:request,nolog,block,t:none\""
|
"SecAction \"id:'1',phase:request,nolog,block,t:none\""
|
||||||
]
|
]
|
||||||
@ -53,7 +50,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecAction \"id:'1',phase:request,nolog,t:none\""
|
"SecAction \"id:'1',phase:request,nolog,t:none\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -66,7 +62,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDefaultAction \"phase:2,deny,status:404\"",
|
"SecDefaultAction \"phase:2,deny,status:404\"",
|
||||||
"SecAction \"id:'1',phase:request,nolog,pass,t:none\""
|
"SecAction \"id:'1',phase:request,nolog,pass,t:none\""
|
||||||
]
|
]
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@rx (value1)\" \"id:111111111111222222222222222222222222222333333333333333333333333333444444444444444444444444444444555555555555555555555555666666666666666666666666666666666666666666,phase:2,pass,t:trim\""
|
"SecRule ARGS \"@rx (value1)\" \"id:111111111111222222222222222222222222222333333333333333333333333333444444444444444444444444444444555555555555555555555555666666666666666666666666666666666666666666,phase:2,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -82,12 +80,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"expected":{
|
"expected":{
|
||||||
"parser_error": "File: action-id.json. Line: 4. Column: 30. invalid character i"
|
"parser_error": "File: action-id.json. Line: 2. Column: 30. invalid character i"
|
||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@rx (value1)\" \"id:-1,phase:2,pass,t:trim\""
|
"SecRule ARGS \"@rx (value1)\" \"id:-1,phase:2,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -132,8 +128,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@rx (value1)\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ARGS \"@rx (value1)\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -178,8 +172,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@rx (value1)\" \"id:'1',phase:3,pass,t:trim\""
|
"SecRule ARGS \"@rx (value1)\" \"id:'1',phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -220,12 +212,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"expected":{
|
"expected":{
|
||||||
"parser_error": "action-id.json. Line: 4. Column: 30. invalid character i"
|
"parser_error": "action-id.json. Line: 2. Column: 30. invalid character i"
|
||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@rx (value1)\" \"id:'1,phase:2,pass,t:trim\""
|
"SecRule ARGS \"@rx (value1)\" \"id:'1,phase:2,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -266,12 +256,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"expected":{
|
"expected":{
|
||||||
"parser_error": "action-id.json. Line: 4. Column: 34. invalid character '"
|
"parser_error": "action-id.json. Line: 2. Column: 34. invalid character '"
|
||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@rx (value1)\" \"id:1',phase:2,pass,t:trim\""
|
"SecRule ARGS \"@rx (value1)\" \"id:1',phase:2,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'900018',phase:1,t:none,t:sha1,t:hexEncode,setvar:tx.ua_hash=%{matched_var},nolog,pass\"",
|
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'900018',phase:1,t:none,t:sha1,t:hexEncode,setvar:tx.ua_hash=%{matched_var},nolog,pass\"",
|
||||||
"SecRule &TX:REAL_IP \"@eq 0\" \"id:'900021',phase:1,t:none,initcol:global=global,initcol:ip=%{remote_addr}_%{tx.ua_hash},setvar:tx.real_ip=%{remote_addr},nolog,pass\"",
|
"SecRule &TX:REAL_IP \"@eq 0\" \"id:'900021',phase:1,t:none,initcol:global=global,initcol:ip=%{remote_addr}_%{tx.ua_hash},setvar:tx.real_ip=%{remote_addr},nolog,pass\"",
|
||||||
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'900019',phase:2,t:none,setvar:ip.auth_attempt=+1,nolog,pass\"",
|
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'900019',phase:2,t:none,setvar:ip.auth_attempt=+1,nolog,pass\"",
|
||||||
|
@ -53,8 +53,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,msg:'This is a test, %{REQUEST_HEADERS:Accept}%'\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,msg:'This is a test, %{REQUEST_HEADERS:Accept}%'\"",
|
||||||
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
||||||
]
|
]
|
||||||
@ -113,8 +111,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,capture,t:lowercase,t:none,msg:'This is a test: %{TX.0}% ops'\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,capture,t:lowercase,t:none,msg:'This is a test: %{TX.0}% ops'\"",
|
||||||
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,capture,t:none\""
|
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,capture,t:none\""
|
||||||
]
|
]
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'900018',phase:1,t:none,t:sha1,t:hexEncode,setsid:%{REQUEST_COOKIES:PHPSESSID}%,nolog,pass\"",
|
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'900018',phase:1,t:none,t:sha1,t:hexEncode,setsid:%{REQUEST_COOKIES:PHPSESSID}%,nolog,pass\"",
|
||||||
"SecRule REQUEST_HEADERS \".*\" \"id:'900021',phase:1,setvar:SESSION.score=+10\"",
|
"SecRule REQUEST_HEADERS \".*\" \"id:'900021',phase:1,setvar:SESSION.score=+10\"",
|
||||||
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'900068',phase:1,t:none,t:sha1,t:hexEncode,setsid:%{REQUEST_COOKIES:PHPSESSID}2,nolog,pass\"",
|
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'900068',phase:1,t:none,t:sha1,t:hexEncode,setsid:%{REQUEST_COOKIES:PHPSESSID}2,nolog,pass\"",
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'900018',phase:1,t:none,t:sha1,t:hexEncode,setuid:%{REQUEST_COOKIES:USER}%,nolog,pass\"",
|
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'900018',phase:1,t:none,t:sha1,t:hexEncode,setuid:%{REQUEST_COOKIES:USER}%,nolog,pass\"",
|
||||||
"SecRule REQUEST_HEADERS \".*\" \"id:'900021',phase:1,setvar:USER.score=+10\"",
|
"SecRule REQUEST_HEADERS \".*\" \"id:'900021',phase:1,setvar:USER.score=+10\"",
|
||||||
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'900068',phase:1,t:none,t:sha1,t:hexEncode,setsid:%{REQUEST_COOKIES:PHPSESSID}2,nolog,pass\"",
|
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'900068',phase:1,t:none,t:sha1,t:hexEncode,setsid:%{REQUEST_COOKIES:PHPSESSID}2,nolog,pass\"",
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'1',phase:1,skip:1\"",
|
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'1',phase:1,skip:1\"",
|
||||||
"SecRule REQUEST_HEADERS \"should be skipped\" \"id:'2',phase:1,setvar:SESSION.score=+10\"",
|
"SecRule REQUEST_HEADERS \"should be skipped\" \"id:'2',phase:1,setvar:SESSION.score=+10\"",
|
||||||
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'3',phase:1,t:none,nolog,pass\"",
|
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'3',phase:1,t:none,nolog,pass\"",
|
||||||
@ -39,7 +38,7 @@
|
|||||||
"version_min":300000,
|
"version_min":300000,
|
||||||
"title":"Testing skip action 2/3",
|
"title":"Testing skip action 2/3",
|
||||||
"expected":{
|
"expected":{
|
||||||
"parser_error": "Rules error. File: action-skip.json. Line: 3. Column: 61. invalid character s"
|
"parser_error": "Rules error. File: action-skip.json. Line: 2. Column: 61. invalid character s"
|
||||||
},
|
},
|
||||||
"client":{
|
"client":{
|
||||||
"ip":"200.249.12.31",
|
"ip":"200.249.12.31",
|
||||||
@ -62,7 +61,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'1',phase:1,skip:abc\"",
|
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'1',phase:1,skip:abc\"",
|
||||||
"SecRule REQUEST_HEADERS \"should be skipped\" \"id:'2',phase:1,setvar:SESSION.score=+10\"",
|
"SecRule REQUEST_HEADERS \"should be skipped\" \"id:'2',phase:1,setvar:SESSION.score=+10\"",
|
||||||
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'3',phase:1,t:none,nolog,pass\"",
|
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'3',phase:1,t:none,nolog,pass\"",
|
||||||
@ -97,7 +95,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'1',phase:1,skip:2\"",
|
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'1',phase:1,skip:2\"",
|
||||||
"SecRule REQUEST_HEADERS \"should be skipped\" \"id:'2',phase:1,setvar:SESSION.score=+10\"",
|
"SecRule REQUEST_HEADERS \"should be skipped\" \"id:'2',phase:1,setvar:SESSION.score=+10\"",
|
||||||
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'3',phase:1,t:none,nolog,pass\"",
|
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'3',phase:1,t:none,nolog,pass\"",
|
||||||
|
@ -53,8 +53,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,tag:'teste',t:lowercase,t:none\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,tag:'teste',t:lowercase,t:none\"",
|
||||||
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
||||||
]
|
]
|
||||||
@ -113,8 +111,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,tag:'teste %{REQUEST_HEADERS:Pragma}%',t:lowercase,t:none\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,tag:'teste %{REQUEST_HEADERS:Pragma}%',t:lowercase,t:none\"",
|
||||||
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
||||||
]
|
]
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
},
|
},
|
||||||
"rules": [
|
"rules": [
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test\" \"id:1,t:trim,deny\""
|
"SecRule ARGS \"@contains test\" \"id:1,t:trim,deny\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -117,8 +115,6 @@
|
|||||||
},
|
},
|
||||||
"rules": [
|
"rules": [
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test\" \"id:1,t:trim,redirect:'http://www.google.com'\""
|
"SecRule ARGS \"@contains test\" \"id:1,t:trim,redirect:'http://www.google.com'\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -179,8 +175,6 @@
|
|||||||
},
|
},
|
||||||
"rules": [
|
"rules": [
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test\" \"id:1,t:trim,status:500,redirect:'http://www.google.com'\""
|
"SecRule ARGS \"@contains test\" \"id:1,t:trim,status:500,redirect:'http://www.google.com'\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -240,8 +234,6 @@
|
|||||||
},
|
},
|
||||||
"rules": [
|
"rules": [
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test\" \"id:1,t:trim,deny,status:500\""
|
"SecRule ARGS \"@contains test\" \"id:1,t:trim,deny,status:500\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -301,8 +293,6 @@
|
|||||||
},
|
},
|
||||||
"rules": [
|
"rules": [
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test\" \"id:1,phase:2,t:trim,status:500,deny\""
|
"SecRule ARGS \"@contains test\" \"id:1,phase:2,t:trim,status:500,deny\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -362,8 +352,6 @@
|
|||||||
},
|
},
|
||||||
"rules": [
|
"rules": [
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test\" \"id:1,phase:4,t:trim,status:500,deny\""
|
"SecRule ARGS \"@contains test\" \"id:1,phase:4,t:trim,status:500,deny\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -46,8 +46,6 @@
|
|||||||
},
|
},
|
||||||
"rules": [
|
"rules": [
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test\" \"id:1,t:trim,deny,auditlog\"",
|
"SecRule ARGS \"@contains test\" \"id:1,t:trim,deny,auditlog\"",
|
||||||
"SecAuditEngine RelevantOnly",
|
"SecAuditEngine RelevantOnly",
|
||||||
"SecAuditLogParts ABCFHZ",
|
"SecAuditLogParts ABCFHZ",
|
||||||
@ -105,8 +103,6 @@
|
|||||||
},
|
},
|
||||||
"rules": [
|
"rules": [
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test\" \"id:1,t:trim,deny,auditlog\"",
|
"SecRule ARGS \"@contains test\" \"id:1,t:trim,deny,auditlog\"",
|
||||||
"SecAuditEngine RelevantOnly",
|
"SecAuditEngine RelevantOnly",
|
||||||
"SecAuditLogParts ABCFHZ",
|
"SecAuditLogParts ABCFHZ",
|
||||||
@ -165,8 +161,6 @@
|
|||||||
},
|
},
|
||||||
"rules": [
|
"rules": [
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test\" \"id:1,t:trim,deny,auditlog\"",
|
"SecRule ARGS \"@contains test\" \"id:1,t:trim,deny,auditlog\"",
|
||||||
"SecAuditEngine RelevantOnly",
|
"SecAuditEngine RelevantOnly",
|
||||||
"SecAuditLogParts ABCFHZ",
|
"SecAuditLogParts ABCFHZ",
|
||||||
|
@ -53,8 +53,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_headers \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,setvar:TX.something=matched_var:%{matched_var}%\"",
|
"SecRule REQUEST_headers \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,setvar:TX.something=matched_var:%{matched_var}%\"",
|
||||||
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
||||||
]
|
]
|
||||||
|
@ -53,8 +53,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS:/^id_/ \"@contains nops\" \"id:1,t:lowercase,block,status:404\""
|
"SecRule ARGS:/^id_/ \"@contains nops\" \"id:1,t:lowercase,block,status:404\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -112,8 +110,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS:/^id_/ \"@contains test\" \"id:1,t:lowercase,initcol:ip=%{REMOTE_ADDR},setvar:IP.id_a=test\"",
|
"SecRule ARGS:/^id_/ \"@contains test\" \"id:1,t:lowercase,initcol:ip=%{REMOTE_ADDR},setvar:IP.id_a=test\"",
|
||||||
"SecRule ARGS:/^id_/ \"@contains test\" \"id:3,t:lowercase,setvar:IP.nah=nops\"",
|
"SecRule ARGS:/^id_/ \"@contains test\" \"id:3,t:lowercase,setvar:IP.nah=nops\"",
|
||||||
"SecRule IP:/^id_/ \"@contains test\" \"id:2,t:lowercase,initcol:ip=%{REMOTE_ADDR}\"",
|
"SecRule IP:/^id_/ \"@contains test\" \"id:2,t:lowercase,initcol:ip=%{REMOTE_ADDR}\"",
|
||||||
|
@ -53,8 +53,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,setvar:TX.something=%{REQUEST_HEADERS:Cookie}%\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,setvar:TX.something=%{REQUEST_HEADERS:Cookie}%\"",
|
||||||
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
||||||
]
|
]
|
||||||
@ -113,8 +111,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,setvar:TX.something%{REQUEST_HEADERS:Cookie}%\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,setvar:TX.something%{REQUEST_HEADERS:Cookie}%\"",
|
||||||
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
||||||
]
|
]
|
||||||
@ -173,8 +169,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,setvar:TX.something=%{REQUEST_HEADERS:Keep-Alive}%\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,setvar:TX.something=%{REQUEST_HEADERS:Keep-Alive}%\"",
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:2,t:lowercase,t:none,setvar:TX.something=+10\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:2,t:lowercase,t:none,setvar:TX.something=+10\"",
|
||||||
"SecRule TX \"@contains to_test\" \"id:3,t:lowercase,t:none\""
|
"SecRule TX \"@contains to_test\" \"id:3,t:lowercase,t:none\""
|
||||||
@ -234,8 +228,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,setvar:TX.something=+10\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,setvar:TX.something=+10\"",
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:2,t:lowercase,t:none,setvar:TX.something_else=%{tx.something}%\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:2,t:lowercase,t:none,setvar:TX.something_else=%{tx.something}%\"",
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:3,t:lowercase,t:none,setvar:TX.something_else=-5\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:3,t:lowercase,t:none,setvar:TX.something_else=-5\"",
|
||||||
|
@ -53,8 +53,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,setvar:TX.something=to_test\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,setvar:TX.something=to_test\"",
|
||||||
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
||||||
]
|
]
|
||||||
@ -113,8 +111,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,setvar:TX.something\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,setvar:TX.something\"",
|
||||||
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
||||||
]
|
]
|
||||||
@ -173,8 +169,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,setvar:TX.something=+10\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,setvar:TX.something=+10\"",
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:2,t:lowercase,t:none,setvar:TX.something=+10\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:2,t:lowercase,t:none,setvar:TX.something=+10\"",
|
||||||
"SecRule TX \"@contains to_test\" \"id:3,t:lowercase,t:none\""
|
"SecRule TX \"@contains to_test\" \"id:3,t:lowercase,t:none\""
|
||||||
@ -234,8 +228,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,setvar:TX.something=+10\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,setvar:TX.something=+10\"",
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:2,t:lowercase,t:none,setvar:TX.something=+10\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:2,t:lowercase,t:none,setvar:TX.something=+10\"",
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:3,t:lowercase,t:none,setvar:TX.something=-5\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:3,t:lowercase,t:none,setvar:TX.something=-5\"",
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecResponseBodyLimitAction Reject",
|
"SecResponseBodyLimitAction Reject",
|
||||||
"SecResponseBodyLimit 5"
|
"SecResponseBodyLimit 5"
|
||||||
]
|
]
|
||||||
@ -77,8 +75,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecResponseBodyLimitAction ProcessPartial",
|
"SecResponseBodyLimitAction ProcessPartial",
|
||||||
"SecResponseBodyLimit 5"
|
"SecResponseBodyLimit 5"
|
||||||
]
|
]
|
||||||
@ -136,8 +132,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRequestBodyLimitAction Reject",
|
"SecRequestBodyLimitAction Reject",
|
||||||
"SecRequestBodyLimit 5"
|
"SecRequestBodyLimit 5"
|
||||||
]
|
]
|
||||||
@ -195,8 +189,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRequestBodyLimitAction ProcessPartial",
|
"SecRequestBodyLimitAction ProcessPartial",
|
||||||
"SecRequestBodyLimit 5"
|
"SecRequestBodyLimit 5"
|
||||||
]
|
]
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS:key \"@contains other_value\" \"id:1,phase:request,chain\"",
|
"SecRule ARGS:key \"@contains other_value\" \"id:1,phase:request,chain\"",
|
||||||
"SecRule MATCHED_VAR \"@contains asdf\" \"phase:request,pass\""
|
"SecRule MATCHED_VAR \"@contains asdf\" \"phase:request,pass\""
|
||||||
]
|
]
|
||||||
@ -77,8 +75,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS:key \"@contains other_value\" \"chain,phase:response,id:28\"",
|
"SecRule ARGS:key \"@contains other_value\" \"chain,phase:response,id:28\"",
|
||||||
"SecRule MATCHED_VAR \"@contains Aasdf\" \"pass\"",
|
"SecRule MATCHED_VAR \"@contains Aasdf\" \"pass\"",
|
||||||
"SecRule MATCHED_VAR \"@contains other_value\" \"id:29,phase:response,pass\"",
|
"SecRule MATCHED_VAR \"@contains other_value\" \"id:29,phase:response,pass\"",
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"Include test-cases/data/config_example3.txt",
|
"Include test-cases/data/config_example3.txt",
|
||||||
"SecRule ARGS \"@missing_operator test\" \"id:19,pass,t:trim\""
|
"SecRule ARGS \"@missing_operator test\" \"id:19,pass,t:trim\""
|
||||||
]
|
]
|
||||||
@ -19,12 +17,10 @@
|
|||||||
"version_min":300000,
|
"version_min":300000,
|
||||||
"title":"Include - missing file",
|
"title":"Include - missing file",
|
||||||
"expected":{
|
"expected":{
|
||||||
"parser_error": "Rules error. File: config-include-bad.json. Line: 4. Column: 46. test-cases/data/config_example-ops.txt: Not able to open file."
|
"parser_error": "Rules error. File: config-include-bad.json. Line: 2. Column: 46. test-cases/data/config_example-ops.txt: Not able to open file."
|
||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"Include test-cases/data/config_example-ops.txt",
|
"Include test-cases/data/config_example-ops.txt",
|
||||||
"SecRule ARGS \"@contains test\" \"id:19,pass,t:trim\""
|
"SecRule ARGS \"@contains test\" \"id:19,pass,t:trim\""
|
||||||
]
|
]
|
||||||
@ -38,8 +34,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"Include test-cases/data/config_example-ops-include.txt",
|
"Include test-cases/data/config_example-ops-include.txt",
|
||||||
"SecRule ARGS \"@contains test\" \"id:19,pass,t:trim\""
|
"SecRule ARGS \"@contains test\" \"id:19,pass,t:trim\""
|
||||||
]
|
]
|
||||||
@ -53,8 +47,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"Include test-cases/data/config_example.txt",
|
"Include test-cases/data/config_example.txt",
|
||||||
"Include test-cases/data/config_example.txt",
|
"Include test-cases/data/config_example.txt",
|
||||||
"SecRule ARGS \"@missing_operator test\" \"id:19,pass,t:trim\""
|
"SecRule ARGS \"@missing_operator test\" \"id:19,pass,t:trim\""
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"Include test-cases/data/config_example2.txt",
|
"Include test-cases/data/config_example2.txt",
|
||||||
"SecRule ARGS \"@contains test\" \"id:9,pass,t:trim\""
|
"SecRule ARGS \"@contains test\" \"id:9,pass,t:trim\""
|
||||||
]
|
]
|
||||||
@ -77,8 +75,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"Include test-cases/data/config_example.txt",
|
"Include test-cases/data/config_example.txt",
|
||||||
"SecRule ARGS \"@contains test\" \"id:9,pass,t:trim\""
|
"SecRule ARGS \"@contains test\" \"id:9,pass,t:trim\""
|
||||||
]
|
]
|
||||||
@ -119,8 +115,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"Include test-cases/data/config_example2.txt",
|
"Include test-cases/data/config_example2.txt",
|
||||||
"SecRule ARGS \"@contains test\" \"id:9,pass,t:trim\""
|
"SecRule ARGS \"@contains test\" \"id:9,pass,t:trim\""
|
||||||
]
|
]
|
||||||
@ -161,8 +155,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test\" \"id:9,pass,t:trim\"",
|
"SecRule ARGS \"@contains test\" \"id:9,pass,t:trim\"",
|
||||||
"Include test-cases/data/config_example2.txt"
|
"Include test-cases/data/config_example2.txt"
|
||||||
]
|
]
|
||||||
@ -203,8 +195,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test\" \"id:1,pass,t:trim\"",
|
"SecRule ARGS \"@contains test\" \"id:1,pass,t:trim\"",
|
||||||
"Include test-cases/data/config_example.txt",
|
"Include test-cases/data/config_example.txt",
|
||||||
"SecRule ARGS \"@contains test\" \"id:3,pass,t:trim\""
|
"SecRule ARGS \"@contains test\" \"id:3,pass,t:trim\""
|
||||||
@ -246,8 +236,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"Include test-cases/data/config_example2.txt",
|
"Include test-cases/data/config_example2.txt",
|
||||||
"SecRule ARGS \"@contains test\" \"id:9,pass,t:trim\""
|
"SecRule ARGS \"@contains test\" \"id:9,pass,t:trim\""
|
||||||
]
|
]
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecResponseBodyMimeType text\/plain text\/html text\/xml",
|
"SecResponseBodyMimeType text\/plain text\/html text\/xml",
|
||||||
"SecRule RESPONSE_BODY \"@contains RESPONSE_CONTENT_TYPE\" \"id:9,pass,t:trim,phase:4\""
|
"SecRule RESPONSE_BODY \"@contains RESPONSE_CONTENT_TYPE\" \"id:9,pass,t:trim,phase:4\""
|
||||||
]
|
]
|
||||||
@ -77,8 +75,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecResponseBodyMimeType application\/something",
|
"SecResponseBodyMimeType application\/something",
|
||||||
"SecRule RESPONSE_BODY \"@contains RESPONSE_CONTENT_TYPE\" \"id:9,pass,t:trim,phase:4\""
|
"SecRule RESPONSE_BODY \"@contains RESPONSE_CONTENT_TYPE\" \"id:9,pass,t:trim,phase:4\""
|
||||||
]
|
]
|
||||||
|
@ -53,8 +53,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecDefaultAction \"phase:2,t:lowercase\"",
|
"SecDefaultAction \"phase:2,t:lowercase\"",
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"phase:2,id:1,msg:'This is a test, %{REQUEST_HEADERS:Accept}%'\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"phase:2,id:1,msg:'This is a test, %{REQUEST_HEADERS:Accept}%'\"",
|
||||||
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
||||||
@ -114,8 +112,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecDefaultAction \"phase:2,t:lowercase\"",
|
"SecDefaultAction \"phase:2,t:lowercase\"",
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"t:none,phase:2,id:1,msg:'This is a test, %{REQUEST_HEADERS:Accept}%'\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"t:none,phase:2,id:1,msg:'This is a test, %{REQUEST_HEADERS:Accept}%'\"",
|
||||||
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
||||||
@ -131,8 +127,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecDefaultAction \"phase:2,t:none\"",
|
"SecDefaultAction \"phase:2,t:none\"",
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"t:none,phase:2,id:1,msg:'This is a test, %{REQUEST_HEADERS:Accept}%'\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"t:none,phase:2,id:1,msg:'This is a test, %{REQUEST_HEADERS:Accept}%'\"",
|
||||||
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
||||||
@ -192,8 +186,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecDefaultAction \"phase:2,log,auditlog,pass\"",
|
"SecDefaultAction \"phase:2,log,auditlog,pass\"",
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,msg:'This is a test, %{REQUEST_HEADERS:Accept}%'\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,msg:'This is a test, %{REQUEST_HEADERS:Accept}%'\"",
|
||||||
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
||||||
@ -209,8 +201,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecDefaultAction \"phase:2,id:1,log,auditlog,pass,tag:'teste'\"",
|
"SecDefaultAction \"phase:2,id:1,log,auditlog,pass,tag:'teste'\"",
|
||||||
|
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,tag:'teste',t:lowercase,t:none,msg:'This is a test, %{REQUEST_HEADERS:Accept}%'\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,tag:'teste',t:lowercase,t:none,msg:'This is a test, %{REQUEST_HEADERS:Accept}%'\"",
|
||||||
@ -227,8 +217,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecDefaultAction \"phase:2,log,auditlog,pass,tag:'teste'\"",
|
"SecDefaultAction \"phase:2,log,auditlog,pass,tag:'teste'\"",
|
||||||
"SecDefaultAction \"phase:2,log,auditlog,pass,tag:'teste'\"",
|
"SecDefaultAction \"phase:2,log,auditlog,pass,tag:'teste'\"",
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,tag:'teste',t:lowercase,t:none,msg:'This is a test, %{REQUEST_HEADERS:Accept}%'\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,tag:'teste',t:lowercase,t:none,msg:'This is a test, %{REQUEST_HEADERS:Accept}%'\"",
|
||||||
@ -289,8 +277,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecDefaultAction \"phase:2,log,auditlog,status:302\"",
|
"SecDefaultAction \"phase:2,log,auditlog,status:302\"",
|
||||||
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"phase:2,id:1,redirect:'http://www.google.com'\"",
|
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"phase:2,id:1,redirect:'http://www.google.com'\"",
|
||||||
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRemoteRules key https://www.modsecurity.org/modsecurity-regression-test-secremoterules.txt",
|
"SecRemoteRules key https://www.modsecurity.org/modsecurity-regression-test-secremoterules.txt",
|
||||||
"SecRule ARGS \"@contains somethingelse\" \"id:9,pass,t:trim\""
|
"SecRule ARGS \"@contains somethingelse\" \"id:9,pass,t:trim\""
|
||||||
]
|
]
|
||||||
@ -50,8 +48,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRemoteRulesFailAction Abort",
|
"SecRemoteRulesFailAction Abort",
|
||||||
"SecRemoteRules key https://www.modsecurity.org/modsecurity-regression-test-secremoterules-bonga.txt"
|
"SecRemoteRules key https://www.modsecurity.org/modsecurity-regression-test-secremoterules-bonga.txt"
|
||||||
]
|
]
|
||||||
@ -92,8 +88,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRemoteRulesFailAction Warn",
|
"SecRemoteRulesFailAction Warn",
|
||||||
"SecRemoteRules key https://www.modsecurity.org/modsecurity-regression-test-secremoterules-bonga.txt",
|
"SecRemoteRules key https://www.modsecurity.org/modsecurity-regression-test-secremoterules-bonga.txt",
|
||||||
"SecRule ARGS \"@contains somethingelse\" \"id:9,pass,t:trim\""
|
"SecRule ARGS \"@contains somethingelse\" \"id:9,pass,t:trim\""
|
||||||
|
@ -54,8 +54,6 @@
|
|||||||
},
|
},
|
||||||
"rules": [
|
"rules": [
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test\" \"id:3,pass\"",
|
"SecRule ARGS \"@contains test\" \"id:3,pass\"",
|
||||||
"SecRule ARGS \"@contains /test.txt\" \"id:4,allow\"",
|
"SecRule ARGS \"@contains /test.txt\" \"id:4,allow\"",
|
||||||
"SecRule ARGS:teste \"@contains /test.txt\" \" id:1,allow,deny\"",
|
"SecRule ARGS:teste \"@contains /test.txt\" \" id:1,allow,deny\"",
|
||||||
|
@ -36,9 +36,7 @@
|
|||||||
"SecAuditEngine On",
|
"SecAuditEngine On",
|
||||||
"SecAuditLogType Serial",
|
"SecAuditLogType Serial",
|
||||||
"SecAuditLog logs\/modsec_audit.log",
|
"SecAuditLog logs\/modsec_audit.log",
|
||||||
"SecAuditLogParts ABCDEFHJKZ",
|
"SecAuditLogParts ABCDEFHJKZ"
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -11,8 +11,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"secruleengine On",
|
"secruleengine On",
|
||||||
"secdebuglog \/tmp\/modsec_debug.log",
|
|
||||||
"secdebugloglevel 9",
|
|
||||||
"secrule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,msg:'This is a test, %{REQUEST_HEADERS:Accept}%'\"",
|
"secrule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,t:lowercase,t:none,msg:'This is a test, %{REQUEST_HEADERS:Accept}%'\"",
|
||||||
"secrule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
"secrule TX \"@contains to_test\" \"id:2,t:lowercase,t:none\""
|
||||||
]
|
]
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@UnconditionalMatch\" \"id:1,phase:2,pass,t:trim\""
|
"SecRule ARGS \"@UnconditionalMatch\" \"id:1,phase:2,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REMOTE_ADDR \"@ipMatchFromFile test-cases\/data\/ipMatchFromFile.txt\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule REMOTE_ADDR \"@ipMatchFromFile test-cases\/data\/ipMatchFromFile.txt\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -82,12 +80,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"expected":{
|
"expected":{
|
||||||
"parser_error":"File: operator-ipMatchFromFile.json. Line: 4. Column: 19. Failed to open file: file-not-found.txt"
|
"parser_error":"File: operator-ipMatchFromFile.json. Line: 2. Column: 19. Failed to open file: file-not-found.txt"
|
||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REMOTE_ADDR \"@ipMatchFromFile file-not-found.txt\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule REMOTE_ADDR \"@ipMatchFromFile file-not-found.txt\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -132,8 +128,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REMOTE_ADDR \"@ipMatchFromFile https://www.modsecurity.org/modsecurity-regression-test.txt\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule REMOTE_ADDR \"@ipMatchFromFile https://www.modsecurity.org/modsecurity-regression-test.txt\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@rx (value1)\" \"id:1,phase:2,pass,t:trim\""
|
"SecRule ARGS \"@rx (value1)\" \"id:1,phase:2,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -46,8 +46,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecComponentSignature \"OWASP_CRS/2.2.9\"",
|
"SecComponentSignature \"OWASP_CRS/2.2.9\"",
|
||||||
"SecRule ARGS \"@contains test\" \"id:1,t:trim,deny,status:403,auditlog\""
|
"SecRule ARGS \"@contains test\" \"id:1,t:trim,deny,status:403,auditlog\""
|
||||||
]
|
]
|
||||||
|
@ -54,8 +54,6 @@
|
|||||||
},
|
},
|
||||||
"rules": [
|
"rules": [
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test\" \"phase:2,id:1,t:trim\"",
|
"SecRule ARGS \"@contains test\" \"phase:2,id:1,t:trim\"",
|
||||||
"SecAction \"phase:2,nolog,pass\""
|
"SecAction \"phase:2,nolog,pass\""
|
||||||
]
|
]
|
||||||
|
@ -54,8 +54,6 @@
|
|||||||
},
|
},
|
||||||
"rules": [
|
"rules": [
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test\" \"phase:2,id:1,t:trim\"",
|
"SecRule ARGS \"@contains test\" \"phase:2,id:1,t:trim\"",
|
||||||
"SecAction \"phase:2,nolog,pass\"",
|
"SecAction \"phase:2,nolog,pass\"",
|
||||||
"SecMarker HERE_GOES_A_MARKER",
|
"SecMarker HERE_GOES_A_MARKER",
|
||||||
@ -117,8 +115,6 @@
|
|||||||
},
|
},
|
||||||
"rules": [
|
"rules": [
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test\" \"phase:2,id:1,t:trim,skipAfter:HERE_GOES_A_MARKER\"",
|
"SecRule ARGS \"@contains test\" \"phase:2,id:1,t:trim,skipAfter:HERE_GOES_A_MARKER\"",
|
||||||
"SecRule ARGS \"@contains test1\" \"phase:2,id:2,t:trim\"",
|
"SecRule ARGS \"@contains test1\" \"phase:2,id:2,t:trim\"",
|
||||||
"SecRule ARGS \"@contains test2\" \"phase:2,id:3,t:trim\"",
|
"SecRule ARGS \"@contains test2\" \"phase:2,id:3,t:trim\"",
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDefaultAction \"phase:2,deny,status:404\"",
|
"SecDefaultAction \"phase:2,deny,status:404\"",
|
||||||
"SecAction \"id:'900001',phase:request,nolog,status:403,t:none\""
|
"SecAction \"id:'900001',phase:request,nolog,status:403,t:none\""
|
||||||
@ -25,7 +24,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecRuleEngine Off",
|
"SecRuleEngine Off",
|
||||||
"SecDefaultAction \"phase:2,deny,status:404\"",
|
"SecDefaultAction \"phase:2,deny,status:404\"",
|
||||||
"SecAction \"id:'1',phase:request,nolog,t:none\""
|
"SecAction \"id:'1',phase:request,nolog,t:none\""
|
||||||
@ -41,7 +39,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecRuleEngine DetectionOnly",
|
"SecRuleEngine DetectionOnly",
|
||||||
"SecDefaultAction \"phase:2,deny,status:404\"",
|
"SecDefaultAction \"phase:2,deny,status:404\"",
|
||||||
"SecAction \"id:'1',phase:request,nolog,block,t:none\""
|
"SecAction \"id:'1',phase:request,nolog,block,t:none\""
|
||||||
@ -57,7 +54,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecRuleEngine Off",
|
"SecRuleEngine Off",
|
||||||
"SecDefaultAction \"phase:2,deny,status:404\"",
|
"SecDefaultAction \"phase:2,deny,status:404\"",
|
||||||
"SecAction \"id:'1',phase:request,nolog,t:none\""
|
"SecAction \"id:'1',phase:request,nolog,t:none\""
|
||||||
@ -73,7 +69,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecRuleEngine Off",
|
"SecRuleEngine Off",
|
||||||
"SecDefaultAction \"phase:2,deny,status:404\"",
|
"SecDefaultAction \"phase:2,deny,status:404\"",
|
||||||
"SecAction \"id:'1',phase:request,nolog,block,t:none\""
|
"SecAction \"id:'1',phase:request,nolog,block,t:none\""
|
||||||
|
@ -54,8 +54,6 @@
|
|||||||
},
|
},
|
||||||
"rules": [
|
"rules": [
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_COOKIES \"@contains test \" \"id:1,t:lowercase,t:none\""
|
"SecRule REQUEST_COOKIES \"@contains test \" \"id:1,t:lowercase,t:none\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -114,8 +112,6 @@
|
|||||||
},
|
},
|
||||||
"rules": [
|
"rules": [
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_COOKIES \"@contains test \" \"id:14,t:none,t:lowercase\""
|
"SecRule REQUEST_COOKIES \"@contains test \" \"id:14,t:none,t:lowercase\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -54,8 +54,6 @@
|
|||||||
},
|
},
|
||||||
"rules": [
|
"rules": [
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule ARGS \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -114,8 +112,6 @@
|
|||||||
},
|
},
|
||||||
"rules": [
|
"rules": [
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test \" \"id:1,pass,t:trim,t:lowercase\""
|
"SecRule ARGS \"@contains test \" \"id:1,pass,t:trim,t:lowercase\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule ARGS \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -76,8 +74,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule ARGS \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -122,8 +118,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ARGS \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -168,8 +162,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ARGS \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -214,8 +206,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ARGS \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -260,8 +250,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS:param3 \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ARGS:param3 \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -306,8 +294,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS:param2 \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ARGS:param2 \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_COMBINED_SIZE \"@gt 10 \" \"id:1,pass\""
|
"SecRule ARGS_COMBINED_SIZE \"@gt 10 \" \"id:1,pass\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -76,8 +74,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_COMBINED_SIZE \"@gt 10 \" \"id:1,pass\""
|
"SecRule ARGS_COMBINED_SIZE \"@gt 10 \" \"id:1,pass\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -122,8 +118,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_COMBINED_SIZE \"@gt 10 \" \"id:1,phase:3,pass\""
|
"SecRule ARGS_COMBINED_SIZE \"@gt 10 \" \"id:1,phase:3,pass\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -168,8 +162,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_COMBINED_SIZE \"@gt 10 \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ARGS_COMBINED_SIZE \"@gt 10 \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -214,8 +206,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_COMBINED_SIZE \"@gt 10 \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ARGS_COMBINED_SIZE \"@gt 10 \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -257,8 +247,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_COMBINED_SIZE \"@gt 10 \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ARGS_COMBINED_SIZE \"@gt 10 \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -300,8 +288,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_COMBINED_SIZE \"@gt 10 \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ARGS_COMBINED_SIZE \"@gt 10 \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_GET \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule ARGS_GET \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -76,8 +74,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_GET \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule ARGS_GET \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -117,8 +113,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_GET \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule ARGS_GET \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_GET_NAMES \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule ARGS_GET_NAMES \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -76,8 +74,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_GET_NAMES \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule ARGS_GET_NAMES \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_NAMES \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule ARGS_NAMES \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -76,8 +74,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_NAMES \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule ARGS_NAMES \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -122,8 +118,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_NAMES \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ARGS_NAMES \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -168,8 +162,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_NAMES \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ARGS_NAMES \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_POST \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ARGS_POST \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -86,8 +84,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_POST \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ARGS_POST \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_POST_NAMES \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ARGS_POST_NAMES \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -86,8 +84,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS_POST_NAMES \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ARGS_POST_NAMES \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -41,8 +41,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule AUTH_TYPE \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule AUTH_TYPE \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -88,8 +86,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule AUTH_TYPE \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule AUTH_TYPE \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -41,8 +41,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule DURATION \"@contains test \" \"id:1,phase:3,pass,t:trim\"",
|
"SecRule DURATION \"@contains test \" \"id:1,phase:3,pass,t:trim\"",
|
||||||
"SecRule DURATION \"@contains test \" \"id:2,phase:3,pass,t:trim\"",
|
"SecRule DURATION \"@contains test \" \"id:2,phase:3,pass,t:trim\"",
|
||||||
"SecRule DURATION \"@contains test \" \"id:3,phase:3,pass,t:trim\""
|
"SecRule DURATION \"@contains test \" \"id:3,phase:3,pass,t:trim\""
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ENV:PATH \"@contains test\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ENV:PATH \"@contains test\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -86,8 +84,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ENV:TERM \"@contains test\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ENV:TERM \"@contains test\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -132,8 +128,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ENV \"@contains test\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule ENV \"@contains test\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule FILES \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule FILES \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule FILES_COMBINED_SIZE \"@gt 70\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule FILES_COMBINED_SIZE \"@gt 70\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule FILES_NAMES \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule FILES_NAMES \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule FILES_SIZES \"@gt 70.000000\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule FILES_SIZES \"@gt 70.000000\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule FULL_REQUEST \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule FULL_REQUEST \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule FULL_REQUEST_LENGTH \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule FULL_REQUEST_LENGTH \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
||||||
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
||||||
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
||||||
@ -80,8 +78,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
||||||
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
||||||
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
||||||
@ -124,8 +120,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
||||||
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
||||||
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
||||||
@ -168,8 +162,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
||||||
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
||||||
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
||||||
@ -212,8 +204,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
||||||
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
||||||
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
||||||
@ -256,8 +246,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
||||||
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
||||||
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
||||||
@ -300,8 +288,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
||||||
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
||||||
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
||||||
@ -344,8 +330,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
||||||
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
||||||
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
||||||
@ -388,8 +372,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
||||||
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
||||||
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
||||||
@ -432,8 +414,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
||||||
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
||||||
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
||||||
@ -476,8 +456,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
"SecGeoLookupDb test-cases\/data\/geo\/GeoIPCity.dat",
|
||||||
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
"SecRule REMOTE_ADDR \"@geoLookup\" \"id:1,pass,t:trim\"",
|
||||||
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
"SecRule GEO \"@contains test \" \"id:2,pass,t:trim\""
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REMOTE_ADDR \"@contains 200.249\" \"id:1,pass,t:trim,severity:0\"",
|
"SecRule REMOTE_ADDR \"@contains 200.249\" \"id:1,pass,t:trim,severity:0\"",
|
||||||
"SecRule HIGHEST_SEVERITY \"@lt 10\" \"id:2,pass,t:trim\""
|
"SecRule HIGHEST_SEVERITY \"@lt 10\" \"id:2,pass,t:trim\""
|
||||||
]
|
]
|
||||||
@ -77,8 +75,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REMOTE_ADDR \"@contains 200.249\" \"id:1,pass,t:trim,severity:EMERGENCY\"",
|
"SecRule REMOTE_ADDR \"@contains 200.249\" \"id:1,pass,t:trim,severity:EMERGENCY\"",
|
||||||
"SecRule HIGHEST_SEVERITY \"@lt 10\" \"id:2,pass,t:trim\""
|
"SecRule HIGHEST_SEVERITY \"@lt 10\" \"id:2,pass,t:trim\""
|
||||||
]
|
]
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule INBOUND_DATA_ERROR \"@eq 1\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule INBOUND_DATA_ERROR \"@eq 1\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -96,9 +94,7 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecRequestBodyLimit 2",
|
"SecRequestBodyLimit 2",
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule INBOUND_DATA_ERROR \"@eq 1\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule INBOUND_DATA_ERROR \"@eq 1\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS:key \"@contains other_value\" \"chain,id:28\"",
|
"SecRule ARGS:key \"@contains other_value\" \"chain,id:28\"",
|
||||||
"SecRule MATCHED_VAR \"@contains asdf\" \"pass\""
|
"SecRule MATCHED_VAR \"@contains asdf\" \"pass\""
|
||||||
]
|
]
|
||||||
@ -77,8 +75,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS:key \"@contains other_value\" \"chain,id:28\"",
|
"SecRule ARGS:key \"@contains other_value\" \"chain,id:28\"",
|
||||||
"SecRule MATCHED_VAR \"@contains Aasdf\" \"pass\"",
|
"SecRule MATCHED_VAR \"@contains Aasdf\" \"pass\"",
|
||||||
"SecRule MATCHED_VAR \"@contains other_value\" \"id:29,pass\"",
|
"SecRule MATCHED_VAR \"@contains other_value\" \"id:29,pass\"",
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS:keyI \"@contains value\" \"chain,id:28\"",
|
"SecRule ARGS:keyI \"@contains value\" \"chain,id:28\"",
|
||||||
"SecRule ARGS:keyII \"@contains other_value\" \"chain\"",
|
"SecRule ARGS:keyII \"@contains other_value\" \"chain\"",
|
||||||
"SecRule MATCHED_VARS \"@contains asdf\" \"pass\""
|
"SecRule MATCHED_VARS \"@contains asdf\" \"pass\""
|
||||||
@ -78,8 +76,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS:keyI \"@contains value\" \"chain,id:28\"",
|
"SecRule ARGS:keyI \"@contains value\" \"chain,id:28\"",
|
||||||
"SecRule ARGS:keyII \"@contains other_value\" \"chain\"",
|
"SecRule ARGS:keyII \"@contains other_value\" \"chain\"",
|
||||||
"SecRule MATCHED_VARS \"@contains asdf\" \"pass\"",
|
"SecRule MATCHED_VARS \"@contains asdf\" \"pass\"",
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS:keyI \"@contains value\" \"chain,id:28\"",
|
"SecRule ARGS:keyI \"@contains value\" \"chain,id:28\"",
|
||||||
"SecRule ARGS:keyII \"@contains other_value\" \"chain\"",
|
"SecRule ARGS:keyII \"@contains other_value\" \"chain\"",
|
||||||
"SecRule MATCHED_VARS_NAMES \"@contains asdf\" \"pass\""
|
"SecRule MATCHED_VARS_NAMES \"@contains asdf\" \"pass\""
|
||||||
@ -78,8 +76,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS:keyI \"@contains value\" \"chain,id:28\"",
|
"SecRule ARGS:keyI \"@contains value\" \"chain,id:28\"",
|
||||||
"SecRule ARGS:keyII \"@contains other_value\" \"chain\"",
|
"SecRule ARGS:keyII \"@contains other_value\" \"chain\"",
|
||||||
"SecRule MATCHED_VARS_NAMES \"@contains asdf\" \"pass\"",
|
"SecRule MATCHED_VARS_NAMES \"@contains asdf\" \"pass\"",
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS:keyI \"@contains value\" \"chain,id:28\"",
|
"SecRule ARGS:keyI \"@contains value\" \"chain,id:28\"",
|
||||||
"SecRule ARGS:keyII \"@contains other_value\" \"chain\"",
|
"SecRule ARGS:keyII \"@contains other_value\" \"chain\"",
|
||||||
"SecRule MATCHED_VAR_NAME \"@contains asdf\" \"pass\""
|
"SecRule MATCHED_VAR_NAME \"@contains asdf\" \"pass\""
|
||||||
@ -78,8 +76,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS:keyI \"@contains value\" \"chain,id:28\"",
|
"SecRule ARGS:keyI \"@contains value\" \"chain,id:28\"",
|
||||||
"SecRule ARGS:keyII \"@contains other_value\" \"chain\"",
|
"SecRule ARGS:keyII \"@contains other_value\" \"chain\"",
|
||||||
"SecRule MATCHED_VAR_NAME \"@contains asdf\" \"pass\"",
|
"SecRule MATCHED_VAR_NAME \"@contains asdf\" \"pass\"",
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule MODSEC_BUILD \"@contains test\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule MODSEC_BUILD \"@contains test\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule MULTIPART_CRLF_LF_LINES \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule MULTIPART_CRLF_LF_LINES \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -116,8 +114,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule MULTIPART_CRLF_LF_LINES \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule MULTIPART_CRLF_LF_LINES \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule MULTIPART_FILENAME \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule MULTIPART_FILENAME \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -116,8 +114,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule MULTIPART_FILENAME \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule MULTIPART_FILENAME \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule MULTIPART_NAME \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule MULTIPART_NAME \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -116,8 +114,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule MULTIPART_NAME \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule MULTIPART_NAME \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule MULTIPART_STRICT_ERROR \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule MULTIPART_STRICT_ERROR \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -116,8 +114,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule MULTIPART_STRICT_ERROR \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule MULTIPART_STRICT_ERROR \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -177,8 +173,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule MULTIPART_STRICT_ERROR \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule MULTIPART_STRICT_ERROR \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -238,8 +232,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule MULTIPART_STRICT_ERROR \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule MULTIPART_STRICT_ERROR \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -299,8 +291,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule MULTIPART_STRICT_ERROR \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule MULTIPART_STRICT_ERROR \"@contains 0\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule MULTIPART_UNMATCHED_BOUNDARY \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule MULTIPART_UNMATCHED_BOUNDARY \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule OUTBOUND_DATA_ERROR \"@eq 1\" \"id:1,phase:4,pass,t:trim\""
|
"SecRule OUTBOUND_DATA_ERROR \"@eq 1\" \"id:1,phase:4,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -110,9 +108,7 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecResponseBodyLimit 2",
|
"SecResponseBodyLimit 2",
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule OUTBOUND_DATA_ERROR \"@eq 1\" \"id:1,phase:4,pass,t:trim\""
|
"SecRule OUTBOUND_DATA_ERROR \"@eq 1\" \"id:1,phase:4,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule PATH_INFO \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule PATH_INFO \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -86,8 +84,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule PATH_INFO \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule PATH_INFO \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -132,8 +128,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule PATH_INFO \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule PATH_INFO \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule QUERY_STRING \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule QUERY_STRING \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REMOTE_ADDR \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule REMOTE_ADDR \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -80,8 +78,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REMOTE_ADDR \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule REMOTE_ADDR \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REMOTE_HOST \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule REMOTE_HOST \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -80,8 +78,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REMOTE_HOST \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule REMOTE_HOST \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REMOTE_PORT \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule REMOTE_PORT \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -80,8 +78,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REMOTE_PORT \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule REMOTE_PORT \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -38,8 +38,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REMOTE_USER \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule REMOTE_USER \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -73,8 +73,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_HEADERS:Content-Type \"^text/xml$\" \"id:500005,phase:1,t:none,t:lowercase,nolog,pass,ctl:requestBodyProcessor=XML\"",
|
"SecRule REQUEST_HEADERS:Content-Type \"^text/xml$\" \"id:500005,phase:1,t:none,t:lowercase,nolog,pass,ctl:requestBodyProcessor=XML\"",
|
||||||
"SecRule REQBODY_PROCESSOR \"@contains test\" \"id:1,pass,phase:2,t:trim\""
|
"SecRule REQBODY_PROCESSOR \"@contains test\" \"id:1,pass,phase:2,t:trim\""
|
||||||
]
|
]
|
||||||
@ -134,8 +132,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQBODY_PROCESSOR \"@contains test\" \"id:1,pass,t:trim\""
|
"SecRule REQBODY_PROCESSOR \"@contains test\" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -180,8 +176,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQBODY_PROCESSOR \"@contains test\" \"id:1,pass,t:trim\""
|
"SecRule REQBODY_PROCESSOR \"@contains test\" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -73,8 +73,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_HEADERS:Content-Type \"^text/xml$\" \"id:500005,phase:1,t:none,t:lowercase,nolog,pass,ctl:requestBodyProcessor=XML\"",
|
"SecRule REQUEST_HEADERS:Content-Type \"^text/xml$\" \"id:500005,phase:1,t:none,t:lowercase,nolog,pass,ctl:requestBodyProcessor=XML\"",
|
||||||
"SecRule REQBODY_PROCESSOR_ERROR \"@contains test\" \"phase:2,id:1,pass,t:trim\"",
|
"SecRule REQBODY_PROCESSOR_ERROR \"@contains test\" \"phase:2,id:1,pass,t:trim\"",
|
||||||
"SecRule REQBODY_PROCESSOR_ERROR_MSG \"@contains test\" \"phase:2,id:2,pass,t:trim\""
|
"SecRule REQBODY_PROCESSOR_ERROR_MSG \"@contains test\" \"phase:2,id:2,pass,t:trim\""
|
||||||
@ -134,8 +132,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_HEADERS:Content-Type \"^text/xml$\" \"id:500005,phase:1,t:none,t:lowercase,nolog,pass,ctl:requestBodyProcessor=XML\"",
|
"SecRule REQUEST_HEADERS:Content-Type \"^text/xml$\" \"id:500005,phase:1,t:none,t:lowercase,nolog,pass,ctl:requestBodyProcessor=XML\"",
|
||||||
"SecRule REQBODY_PROCESSOR_ERROR \"@contains test\" \"phase:2,id:1,pass,t:trim\"",
|
"SecRule REQBODY_PROCESSOR_ERROR \"@contains test\" \"phase:2,id:1,pass,t:trim\"",
|
||||||
"SecRule REQBODY_PROCESSOR_ERROR_MSG \"@contains test\" \"phase:2,id:2,pass,t:trim\""
|
"SecRule REQBODY_PROCESSOR_ERROR_MSG \"@contains test\" \"phase:2,id:2,pass,t:trim\""
|
||||||
|
@ -37,8 +37,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_BASENAME \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule REQUEST_BASENAME \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_BODY \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule REQUEST_BODY \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_BODY_LENGTH \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule REQUEST_BODY_LENGTH \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_COOKIES \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule REQUEST_COOKIES \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -78,8 +76,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_COOKIES \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule REQUEST_COOKIES \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -120,8 +116,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_COOKIES \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule REQUEST_COOKIES \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_COOKIES_NAMES \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule REQUEST_COOKIES_NAMES \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -78,8 +76,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_COOKIES_NAMES \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule REQUEST_COOKIES_NAMES \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -120,8 +116,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_COOKIES_NAMES \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule REQUEST_COOKIES_NAMES \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_FILENAME \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule REQUEST_FILENAME \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_HEADERS \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule REQUEST_HEADERS \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_HEADERS_NAMES \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule REQUEST_HEADERS_NAMES \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_LINE \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule REQUEST_LINE \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_METHOD \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule REQUEST_METHOD \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_PROTOCOL \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule REQUEST_PROTOCOL \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_URI \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule REQUEST_URI \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule REQUEST_URI_RAW \"@contains test \" \"id:1,pass,t:trim\""
|
"SecRule REQUEST_URI_RAW \"@contains test \" \"id:1,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule RESPONSE_BODY \"@contains test \" \"id:1,phase:4,pass,t:trim\""
|
"SecRule RESPONSE_BODY \"@contains test \" \"id:1,phase:4,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule RESPONSE_CONTENT_LENGTH \"@contains test \" \"id:1,phase:4,pass,t:trim\""
|
"SecRule RESPONSE_CONTENT_LENGTH \"@contains test \" \"id:1,phase:4,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule RESPONSE_CONTENT_TYPE \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule RESPONSE_CONTENT_TYPE \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule RESPONSE_HEADERS \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule RESPONSE_HEADERS \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule RESPONSE_HEADERS_NAMES \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
"SecRule RESPONSE_HEADERS_NAMES \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule RESPONSE_PROTOCOL \"^HTTP\" \"id:1,phase:5,pass,t:trim\""
|
"SecRule RESPONSE_PROTOCOL \"^HTTP\" \"id:1,phase:5,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule RULE:id \"@contains test\" \"id:1,phase:3,rev:1.3,pass,t:trim\""
|
"SecRule RULE:id \"@contains test\" \"id:1,phase:3,rev:1.3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -86,8 +84,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule RULE:rev \"@contains test\" \"id:1,rev:200,phase:3,pass,t:trim\""
|
"SecRule RULE:rev \"@contains test\" \"id:1,rev:200,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -132,8 +128,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule RULE:severity \"@contains test\" \"id:1,phase:3,severity:critical,pass,t:trim\""
|
"SecRule RULE:severity \"@contains test\" \"id:1,phase:3,severity:critical,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -178,8 +172,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule RULE:logdata \"@contains test\" \"id:1,logdata:'data123',phase:3,pass,t:trim\""
|
"SecRule RULE:logdata \"@contains test\" \"id:1,logdata:'data123',phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -224,8 +216,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule RULE:msg \"@contains test\" \"id:1,msg:'message123',phase:3,pass,t:trim\""
|
"SecRule RULE:msg \"@contains test\" \"id:1,msg:'message123',phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -270,8 +260,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule rule:msg \"@contains test\" \"id:1,msg:'message123',phase:3,pass,t:trim\""
|
"SecRule rule:msg \"@contains test\" \"id:1,msg:'message123',phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -316,8 +304,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule rule:msg \"@contains message\" \"id:1,setvar:'ip.block_reason=%{RULE.msg}%',msg:'message123',phase:3,pass,t:trim\""
|
"SecRule rule:msg \"@contains message\" \"id:1,setvar:'ip.block_reason=%{RULE.msg}%',msg:'message123',phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule SERVER_ADDR \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule SERVER_ADDR \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -80,8 +78,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule SERVER_ADDR \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule SERVER_ADDR \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule SERVER_NAME \"^HTTP\" \"id:1,phase:5,pass,t:trim\""
|
"SecRule SERVER_NAME \"^HTTP\" \"id:1,phase:5,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -80,8 +78,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule SERVER_NAME \"^HTTP\" \"id:1,phase:5,pass,t:trim\""
|
"SecRule SERVER_NAME \"^HTTP\" \"id:1,phase:5,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule SERVER_PORT \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule SERVER_PORT \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -80,8 +78,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule SERVER_PORT \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule SERVER_PORT \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'900018',phase:1,t:none,t:sha1,t:hexEncode,setsid:%{REQUEST_COOKIES:PHPSESSID}%,nolog,pass\"",
|
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'900018',phase:1,t:none,t:sha1,t:hexEncode,setsid:%{REQUEST_COOKIES:PHPSESSID}%,nolog,pass\"",
|
||||||
"SecRule REQUEST_HEADERS \".*\" \"id:'900021',phase:1,setvar:SESSION.score=+10\"",
|
"SecRule REQUEST_HEADERS \".*\" \"id:'900021',phase:1,setvar:SESSION.score=+10\"",
|
||||||
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'900068',phase:1,t:none,t:sha1,t:hexEncode,setsid:%{REQUEST_COOKIES:PHPSESSID}2,nolog,pass\"",
|
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'900068',phase:1,t:none,t:sha1,t:hexEncode,setsid:%{REQUEST_COOKIES:PHPSESSID}2,nolog,pass\"",
|
||||||
@ -63,7 +62,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'900018',phase:1,t:none,t:sha1,t:hexEncode,setsid:%{REQUEST_COOKIES:PHPSESSID}%,nolog,pass\"",
|
"SecRule REQUEST_HEADERS:User-Agent \"^(.*)$\" \"id:'900018',phase:1,t:none,t:sha1,t:hexEncode,setsid:%{REQUEST_COOKIES:PHPSESSID}%,nolog,pass\"",
|
||||||
"SecRule REQUEST_HEADERS \".*\" \"id:'900021',phase:1,setvar:SESSION.score=+10\"",
|
"SecRule REQUEST_HEADERS \".*\" \"id:'900021',phase:1,setvar:SESSION.score=+10\"",
|
||||||
"SecRule SESSIONID \".*\" \"id:1239,phase:1,log,pass\""
|
"SecRule SESSIONID \".*\" \"id:1239,phase:1,log,pass\""
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule STATUS \"@contains test\" \"id:1,phase:5,rev:1.3,pass,t:trim\""
|
"SecRule STATUS \"@contains test\" \"id:1,phase:5,rev:1.3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -87,8 +85,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule ARGS \"@pm value\" \"id:1,phase:2,t:trim,status:500,deny\"",
|
"SecRule ARGS \"@pm value\" \"id:1,phase:2,t:trim,status:500,deny\"",
|
||||||
"SecRule STATUS \"@contains test\" \"id:2,phase:5,rev:1.3,pass,t:trim\""
|
"SecRule STATUS \"@contains test\" \"id:2,phase:5,rev:1.3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
|
@ -37,8 +37,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule TIME \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule TIME \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule TIME_DAY \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule TIME_DAY \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule TIME_EPOCH \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule TIME_EPOCH \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,6 @@
|
|||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
|
||||||
"SecDebugLogLevel 9",
|
|
||||||
"SecRule TIME_HOUR \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
"SecRule TIME_HOUR \"@contains test \" \"id:1,phase:3,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user