LWN.net Logo

Apache attacked by a "slow loris"

Apache attacked by a "slow loris"

Posted Jun 24, 2009 19:22 UTC (Wed) by guus (subscriber, #41608)
In reply to: Apache attacked by a "slow loris" by mcmanus
Parent article: Apache attacked by a "slow loris"

A simple solution would be this: if you exhausted all threads/sockets/whatever resource, and a new request comes in, drop an old thread/socket/resource. Of course, there should be some tweaks to make things fair for slow but legitimate clients.


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds