Forum Discussion
ASM: How to block a user holding down F5 Key
What TPS limits have you tried? You can always put an iRule in place while you workout the ASM policy. Something to display an error message or do an HTTP::close.
when HTTP_REQUEST {
if {[info exists refresh_count] } {
if { [HTTP::header value "If-Modified-Since"] ne "" } {
incr refresh_count
}
if { $refresh_count > 10 } {
HTTP::respond 200 content "Nope"
}
} else {
set refresh_count 0
}
}
Thanks, I am going to try the iRule.
The holding down F5 key doesn't even trigger a DOS most of the time yet we see hundreds of db connections. We are trying this in a test environment, so the increases TPS by 500% and 5 TPS does not trigger the DOS.
I can only trigger the DOS by putting the TPS at 1 and tapping F5, which gives me the CAPTCHA page (when set).
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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