Forum Discussion
Manuel_60430
Nimbostratus
Mar 24, 2014Block a User-Agent with an iRule
Dear Community,
we have received some suspicious requests with a customized User-Agent in the HTTP header. Now the idea is to temporary block those Agents with an iRule to do some further invest...
Mar 24, 2014
Hi!
You convert your user agent header to lower case and match it against a string containing upper case. Change Mozilla/4.0 to mozilla/4.0 and you should be ok.
/Patrik
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