You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 14, 2020. It is now read-only.
The condition does not work and an error in site_error_log:
ModSecurity: Access denied with code 500 (phase 1). Match of "streq %{tx.geo_x-forwarded-for}" against "GEO:COUNTRY_CODE" required. [file "/etc/modsecurity'/crs/modsecurity_crs_11_proxy_abuse.conf"] [line "25"] [id "981050"] [rev "2.2.9"] [msg "Potential Open Proxy Abuse - GeoIP Country Code Mismatch of X-Forwarded-For Request Header and Client REMOTE_ADDR"]
The error in the logs is not lost.
The text was updated successfully, but these errors were encountered:
muxcc
changed the title
No fixed rule id "981 050"
No fixed rule id "981050"
Jan 20, 2016
This is likely due to the fact that SecRuleRemoveById needs to be included AFTER the rule is declared. If it is written before it attempts to remove a non-existant rule ID. Sorry for the delay.
Server version: Apache/2.4.10 (Debian)
Architecture: 64-bit
Server MPM: prefork
libapache2-mod-security2 (2.8.0-3)
modsecurity-crs (2.2.9-1)
/crs/modsecurity_crs_11_proxy_abuse.conf
If the fix in /etc/apache2/sites-enabled/site.conf
The condition does not work and an error in site_error_log:
ModSecurity: Access denied with code 500 (phase 1). Match of "streq %{tx.geo_x-forwarded-for}" against "GEO:COUNTRY_CODE" required. [file "/etc/modsecurity'/crs/modsecurity_crs_11_proxy_abuse.conf"] [line "25"] [id "981050"] [rev "2.2.9"] [msg "Potential Open Proxy Abuse - GeoIP Country Code Mismatch of X-Forwarded-For Request Header and Client REMOTE_ADDR"]
The error in the logs is not lost.
The text was updated successfully, but these errors were encountered: