2024-12-21 00:35:03 +00:00
|
|
|
# Apache ModSecurity rules for EXCEPTIONS
|
|
|
|
|
SecRuleEngine On
|
|
|
|
|
|
2025-01-04 00:25:48 +00:00
|
|
|
SecRule REQUEST_URI "@streq GET /" "id:1609,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
|
|
|
|
|
SecRule REQUEST_URI "@ipMatch 127.0.0.1,::1" "id:1610,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
|
|
|
|
|
SecRule REQUEST_URI "@ipMatch 127.0.0.1,::1" "id:1611,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
|
|
|
|
|
SecRule REQUEST_URI "@endsWith (internal dummy connection)" "id:1612,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
|
|
|
|
|
SecRule REQUEST_URI "@rx ^(?:GET /|OPTIONS *) HTTP/[12].[01]$" "id:1613,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
|