mirror of
https://github.com/fabriziosalmi/patterns.git
synced 2025-12-29 16:15:12 +00:00
Update: [Thu Jan 30 00:24:54 UTC 2025]
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Apache ModSecurity rules for EXCEPTIONS
|
||||
SecRuleEngine On
|
||||
|
||||
SecRule REQUEST_URI "@ipMatch\ 127\.0\.0\.1,::1" "id:1034,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
|
||||
SecRule REQUEST_URI "\^\(\?:GET\ /\|OPTIONS\ \*\)\ HTTP/\[12\]\.\[01\]\$" "id:1037,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
|
||||
SecRule REQUEST_URI "@endsWith\ \(internal\ dummy\ connection\)" "id:1036,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
|
||||
SecRule REQUEST_URI "@ipMatch\ 127\.0\.0\.1,::1" "id:1035,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
|
||||
SecRule REQUEST_URI "@streq\ GET\ /" "id:1033,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
|
||||
SecRule REQUEST_URI "@ipMatch\ 127\.0\.0\.1,::1" "id:1085,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
|
||||
SecRule REQUEST_URI "\^\(\?:GET\ /\|OPTIONS\ \*\)\ HTTP/\[12\]\.\[01\]\$" "id:1087,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
|
||||
SecRule REQUEST_URI "@streq\ GET\ /" "id:1083,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
|
||||
SecRule REQUEST_URI "@ipMatch\ 127\.0\.0\.1,::1" "id:1084,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
|
||||
SecRule REQUEST_URI "@endsWith\ \(internal\ dummy\ connection\)" "id:1086,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
|
||||
|
||||
Reference in New Issue
Block a user