Forum Discussion
Philip_Jacob_69
Nimbostratus
Jun 23, 2010Reject httprequest on certain Cookievalue
We seem do have a scanner comming from many different Locations, trying to bring down our site with a series of http-Requests. They all have a spec. Cookie set.
Is it possible to reject the...
hoolio
Cirrostratus
Jun 23, 2010Hi Phil,
You can check for a cookie in requests and reject them if there is a specific value:
when HTTP_REQUEST {
Check for an apache cookie with a value of 78689768967896
if {[HTTP::cookie apache] eq "78689768967896"}{
Reset the connection
reject
}
}
Aaron
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
