logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: Mod_Security and CDIR addresses
Author
coronad0



Joined: 12 May 2015
Posts: 3
Location: CO

PostPosted: Tue 23 Aug '16 17:41    Post subject: Mod_Security and CDIR addresses Reply with quote

We do quite a bit of IP blocking in mod_sec using:
SecRULE REMOTE_ADDR "@ipMatchFromFile blah.txt"

And I've run into a bug where any CIDR address that ends in /32, meaning just the single IP, or any address that ends with a single digit, like /8, throws an error when performing a httpd -t for validation.

I've found a work around in our ip match files for /32 addresses by just deleting the /32, but for the single digits, as in the case of /8, I have no work around and that /8 represents some 8.3 million addresses. A pretty huge security risk for a block I need to add.

Anyone else run into this or find a work around?
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 692

PostPosted: Wed 24 Aug '16 10:24    Post subject: Reply with quote

Better to ask it also at https://lists.sourceforge.net/lists/listinfo/mod-security-users
Back to top


Reply to topic   Topic: Mod_Security and CDIR addresses View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules