[Owasp-modsecurity-core-rule-set] Whitelist?

Arthur E. Johnston arthurjohnston at verizon.net
Wed Jul 5 03:10:51 UTC 2017


Thank you!

 

Arthur Johnston

Meadowbrook Kennels

 

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" \

#     "phase:1,id:1000,pass,nolog,ctl:ruleEngine=Off"

 

Even if you aren't using CRS, you can use the above rule and customize it with the IP you want to whitelist

 

-- 
Osama Elnaggar

 

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?

 

Thank you,

 

Arthur Johnston

Meadowbrook Kennels

Home of Seacrest Cocker Spaniels & Meadowbrook Border Terriers

http://www.seacrestcockers.com

http://www.meadowbrook.co

_______________________________________________ 
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>  
https://lists.owasp.org/mailman/listinfo/owasp-modsecurity-core-rule-set 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/owasp-modsecurity-core-rule-set/attachments/20170704/86c53bd0/attachment.html>


More information about the Owasp-modsecurity-core-rule-set mailing list