Forum Discussion
Patti_G_72768
Nimbostratus
Oct 29, 2013Convert LOIC client rule to an iRule
Hi, here is another one I need to be able to convert from its original formatted rule into an iRule. This one needs to alert when a LOIC client has been detected. The requirements are to check for a ...
Kevin_Stewart
Employee
Oct 29, 2013Your iRule looks about right. To perform a case insensitive string match, convert the value to lowercase with [string tolower ]
if { [string tolower [HTTP::header User-Agent]] contains "blah" }
Also, just curious, but from what source are these "signatures" being defined? At this point I think you'll be better off employing a web application firewall to protect against types of attacks, instead of creating logic in iRules to cover specific attacks.
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