Forum Discussion
TTrautman_94620
Nimbostratus
Jun 19, 2009Slowloris
Does any know how ASM would handle this recently posted Denial of Service attack:
http://ha.ckers.org/slowloris/
The concept is the client hogs sockets by slowly trickling http headers to keep the sockets from closing. Over time, it consumes enough sockets & resources to bring the server down...especially those that have threading.
Just curious how the ASM would react under these circumstances.
17 Replies
Sort By
- Benjamin_9036Historic F5 AccountHeya,
- KAi_3066
Nimbostratus
Today i tested, too - up to 1000 SSL conx to the VS and everything is fine. - KAi_3066
Nimbostratus
Tested with 8k Slowloris Sessions (8 Clients á 1k Sessions)- everything fine with BIP 6400 - James_Yang_9981
Altostratus
does this will cause ASM's own memory or connection full? - Benjamin_9036Historic F5 AccountThis shouldn't happen in most circumstances. The principal behind Slowloris to remain fairy low profile on the wire. It would only take ~600 connections and a very negligible amount of bandwidth to affect one of the threaded web servers that is vulnerable to this which should be little more than a drop in the proverbial bucket for the ASM devices. Even when the volume is increased, nearing more of a 'DoS-by-volume' than a 'Slowloris' type attack, the network layer on the ASM and LTM use a handful of methods to control this type of attack (SynCookies, aggressive connection reaping, et cetera). Though when the volume is increased, this truly becomes a traditional DoS attack, using simple volume in an attempt to overwhelm, rather than the more targeted and light-on-the-wire approach that the 'Slowloris' method uses.
- TTrautman_94620
Nimbostratus
Thanks for the testing updates! - Wong_Onn_Chee_6
Nimbostratus
Can this attack be mitigated by ASM alone without any help from LTM? - hoolio
Cirrostratus
LTM on its own (and ASM standalone) can protect against the slow header attack as a VIP with an HTTP profile buffers the HTTP request headers before opening a new or using an existing serverside TCP connection. ASM provides an even higher level of protection in that it buffers the HTTP headers and payload before sending the request to the servers. - Wong_Onn_Chee_6
Nimbostratus
Thanks for the prompt response, Aaron. - hoolio
Cirrostratus
Hi Onn Chee,
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects