[Modsecurity] Rules for rulsets

Brian Rectanus brectanu at gmail.com
Fri Jun 23 23:56:44 EDT 2006


On 6/23/06, Brian Rectanus <brectanu at gmail.com> wrote:
>
> SecFilterSelective REMOTE_ADDR "^194\.72\.238\." chain
> SecFilterSelective REMOTE_ADDR "(?:1[034569]|6[12])$"
>

Actually, I originally had a more complex example and cut it down.
For that single subnet example, this is probably better:

SecFilterSelective REMOTE_ADDR "^194\.72\.238\.(?:1[034569]|6[12])$"

-B


More information about the Modsecurity mailing list