On Mon, 19 Nov 2007 09:59:20 -0500
"Greg Boyington" <[EMAIL PROTECTED]> wrote:

> On Nov 19, 2007 3:21 AM, Christian Folini <[EMAIL PROTECTED]>
> wrote:
> > Hey Greg,
> >
> > could you elaborate on this? How would you prevent this
> > attack with mod_access?
> 
> In one case where an attack was under way but I didn't have access to
> the firewall, I added something like:
> 
> Order Deny,Allow
> # offending requests coming from this class C
> Deny from 192.168.123

"This class C" is in 192.168, which means it's your organisation's
internal network!

> Allow from all
> 
> to the docroot's .htaccess file.

Then you just played quite a big part in DOSing yourself.
Enabling .htaccess is a BIG performance hit, affecting
all HTTP traffic - including what you subsequently allow.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to