mcaballe_135435
May 22, 2014Nimbostratus
iRule for cloned request and response traffic
I have a IDS that I need to send all request and response traffic to. However, to send the cloned traffic from either direction to the IDS I need to change the URI. I've created the following iRule but its not successfully sending any traffic to pool Aand I'm not sure on how to procede in redirecting the response traffic.
when HTTP_REQUEST { if {[HTTP::uri] contains "/WebpageA"}{ pool pool_A HTTP::uri "/ids/sink" clone pool pool_B }
I have to send the response out as normal as well as send the cloned response traffic to the modified URI. }