Forum Discussion
royceking_18057
May 29, 2015Cirrus
iRule to block multiple user agents.
I have this clunky iRule to block unwanted user agent bots that I have identified hit our site. Unfortunately it is a pain to manage. Is there a better way to write this and not have to use a big i...
Tim_K_92675
May 29, 2015Cirrostratus
Go to Local Traffic ›› iRules : Data Group List and then hit Create...
From there you type in the data group name (this will be the variable name you insert into the irule) and select 'String' for the type.
Enter in the String Records String field the names of the user agents. I would recommend all lower case. This way the irule logic 'string tolower' will be able to compare apples-to-apples.
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