irule ltm logs
1 TopicBlock Irule
Hi Guys, i have written an irule in order to block some specific user agents when HTTP_REQUEST { if {[class match [string tolower [HTTP::header "User-Agent"]] contains Blocked_Users]}{ log local0. "Request from ip: [IP::client_addr] - User-Agent: [HTTP::header User-Agent] to: [HTTP::host] [HTTP::uri]" drop } } and i get logs like this: TCL error: /Common/<http_request> - Can't call after responding - ERR_NOT_SUPPORTED (line 1) invoked from within "HTTP::header "User-Agent""</http_request></131> I would like to know what does this mean more precisily , if the traffic is passing anyway even if its part of the blocked DG, does irule has any error or something . Many thnx, Daniel507Views0likes3Comments