Forum Discussion
Company_B_88989
Nimbostratus
Mar 02, 2017ASM: How to block a user holding down F5 Key
A user holding down the F5 key causes constant refreshes and creates too much traffic in our backend. We have the ASM Module and have tried different DOS profile settings, specifically TPS-based and...
Jason0_309417
Cirrus
Mar 02, 2017What 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
}
}
Jason0_309417
Cirrus
Mar 02, 2017You may also want to look the the "Connection Rate Limit" and "Connection Limit" fields on the virtual server configuration page.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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