Arthur E. Johnston
arthurjohnston at verizon.net
Wed Jul 5 03:10:51 UTC 2017
From: Osama Elnaggar [mailto:oelnaggar04 at gmail.com]
Sent: Tuesday, July 04, 2017 6:56 PM
To: Arthur E. Johnston <arthurjohnston at verizon.net>; owasp-modsecurity-core-rule-set at lists.owasp.org
Subject: Re: [Owasp-modsecurity-core-rule-set] Whitelist?
If you are using CRS 3, you have your request exclusion rules in the file REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf.example Remove the .example and uncomment the exclusion rules you want. Here is an example of a commented rule that will whitelist an IP:
# White-list ASV network block (no blocking or logging of AVS traffic) Update
# IP network block as appropriate for your AVS traffic
# ModSec Rule Exclusion: Disable Rule Engine for known ASV IP
# SecRule REMOTE_ADDR "@ipMatch 192.168.1.100" \
Even if you aren't using CRS, you can use the above rule and customize it with the IP you want to whitelist
On July 5, 2017 at 11:27:31 AM, Arthur E. Johnston (arthurjohnston at verizon.net <mailto:arthurjohnston at verizon.net> ) wrote:
Does a method exist to whitelist an IP address?
Home of Seacrest Cocker Spaniels & Meadowbrook Border Terriers
Owasp-modsecurity-core-rule-set mailing list
Owasp-modsecurity-core-rule-set at lists.owasp.org <mailto:Owasp-modsecurity-core-rule-set at lists.owasp.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Owasp-modsecurity-core-rule-set