
Full Disclosure mailing list archives
Re: Apache Killer
From: Douglas Huff <dhuff () jrbobdobbs org>
Date: Wed, 24 Aug 2011 08:45:59 -0500
That should say more than 4 not 4 or more. And this will almost definitely break webdav. -- Douglas Huff On Aug 24, 2011, at 8:40 AM, Douglas Huff wrote:
I think this is a more complete rule that should be slightly more efficient and thorough even though it's 3 separate matches: RewriteEngine On RewriteCond %{HTTP:Range} bytes=0-[0-9]+, [NC,OR] RewriteCond %{HTTP:Range} bytes=([0-9-],){4,} [NC,OR] RewriteCond %{HTTP:Range} bytes=[0-9,-]+,0-(,|$) [NC] RewriteRule .? http://%{SERVER_NAME}/ [NS,L,F] I cannot remember if the second RewriteCond's syntax is supported by mod_rewrite and don't have a machine handy right this moment to test effectiveness anyhow. This should stop any requests with a range starting with 0- specified as a range (first and third rule) or 4 or more ranges included (second rule). -- Douglas Huff
_______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.grok.org.uk/full-disclosure-charter.html Hosted and sponsored by Secunia - http://secunia.com/
Current thread:
- Re: Apache Killer, (continued)
- Re: Apache Killer Davide Guerri (Aug 24)
- Re: Apache Killer Jan Gehring (Aug 24)
- Re: Apache Killer Jari Fredriksson (Aug 24)
- Re: Apache Killer Davide Guerri (Aug 24)
- Re: Apache Killer Jari Fredriksson (Aug 24)
- Re: Apache Killer ZOne (Aug 25)
- Re: Apache Killer Marco Ermini (Aug 25)
- Re: Apache Killer David (Aug 25)
- Re: Apache Killer Douglas Huff (Aug 24)
- Re: Apache Killer Douglas Huff (Aug 24)
- Re: Apache Killer Davide Guerri (Aug 24)
- Message not available
- Re: Apache Killer -= Glowing Sex =- (Aug 24)
- Re: Apache Killer -= Glowing Sex =- (Aug 20)
- Re: Apache Killer Sheran Gunasekera (Aug 21)
- Re: Apache Killer Georgi Guninski (Aug 25)
- Re: Apache Killer Valdis . Kletnieks (Aug 25)
- Re: Apache Killer Georgi Guninski (Aug 26)
- Re: Apache Killer Valdis . Kletnieks (Aug 26)