F5 iRule Class Match Crash

Problem: F5 iRules with “class match” crash sometimes with this message: /Common/UA_DETECT – ambiguous option “-“: must be -all, -index, -element, -name, or -value while executing “class match [string tolower [HTTP::header User-Agent]] contains UA_STRINGS” Discussion: the class match command has optional parameters, when the HTTP header User-Agent starts with a “-” it gets intepreted by …

Continue reading ‘F5 iRule Class Match Crash’ »