Forum Discussion

Ken_Wong_48678's avatar
Ken_Wong_48678
Historic F5 Account
Sep 17, 2005

tcp payload in rtsp to redirect different pool

Hi guys,

 

 

I need to write a irule to check the tcp payload in rtsp request, and then load balancing to different pools. I have written a testing rule, but seems do not work. Anyone can help?

 

Thanks!

 

 

rtsp://VIP/abc.sdp --> Pool_abc

 

rtsp://VIP/xyz.sdp --> Pool_xyz

 

 

Regards,

 

Ken

 

 

 

 

when CLIENT_ACCEPTED {

 

TCP::collect

 

}

 

 

when CLIENT_DATA {

 

if { [TCP::payload] contains "abc.sdp" } {

 

log local0. "abc request"

 

pool Pool_abc

 

}

 

elseif { [TCP::payload] contains "xyz.sdp" } {

 

log local0. "xyz request"

 

pool Pool_xyz

 

}

 

TCP::release

 

}
  • Ken_Wong_48678's avatar
    Ken_Wong_48678
    Historic F5 Account
    Hi,

     

     

    I have upgraded BIG-IP v9.2 but I do not find any information about new RTSP support. Do you minding posting some RTSP info here. Thanks!

     

     

    Regards,

     

    Ken

     

  • bl0ndie_127134's avatar
    bl0ndie_127134
    Historic F5 Account
    Hi Ken, RTSP was added in 9.2 but is provided only as an EA feature and you need a special EA license to enable it. If you have already received an EA license, I would recommend that you open a case with support (as the RTSP filter does not necessarily require rules to function) and they will be able to assist you with all of your questions.