Forum Discussion
Ken_Wong_48678
Sep 17, 2005Historic F5 Account
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_48678Historic F5 AccountHi,
- bl0ndie_127134Historic F5 AccountHi 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.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects