Hello,

I have ModSecurity running as a reverse proxy behind an haproxy LB. Because 
we're behind HAProxy, we're getting LB IP addresses for REMOTE_ADDR.

I have a large number of IPs that I have to whitelist, and would therefore 
really take advantage of the ipMatch and ipMatchFromFile functions. However, 
those can only be used on REMOTE_ADDR.

Does anyone have a creative way of taking the X-Forwarded-For value and somehow 
setting REMOTE_ADDR to that, and then using ipMatch on the result?

Thanks,
Brian

_______________________________________________
Owasp-modsecurity-core-rule-set mailing list
Owasp-modsecurity-core-rule-set@lists.owasp.org
https://lists.owasp.org/mailman/listinfo/owasp-modsecurity-core-rule-set

Reply via email to