Forum Discussion
Kevin_Stewart
Oct 29, 2013Employee
Your 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.