Forum Discussion

Gortguy_105156's avatar
Gortguy_105156
Icon for Nimbostratus rankNimbostratus
Jan 23, 2014

Regarding CCTV, LTM, and RTSP

I have two CCTV DVR systems that need both HTTP 8080 and RSTP 5100 open in order for them to be viewed remotely. (The boss wants to be able to see who's doing what, when from anywhere in the world...) Each DVR system is self-contained as far as visibility over the Internet is concerned, so what I have essentially are two web servers serving up streaming content.

 

I've created two VIPs for DVR1, aaa.bbb.ccc.ddd:8080 and aaa.bbb.ccc.ddd:5100, each with its own corresponding pool, and can get to dvr1.mydomain.com just fine. Rather than create two more VIPs/pools for DVR2, I'd like to only set up pools for DVR2 and redirect requests based on the FDQN. I know that for the HTTP 8080 server, I can use SWITCH to accomplish this: when HTTP_REQUEST { switch [HTTP::host] { "dvr1.mydomain.com" { pool dvr1_pool } "dvr2.mydomain.com" { pool dvr2_pool } } }

 

Unfortuntely, it doesn't look like the RTSP protocol has anything that corresponds to "::host".

 

So, is this even doable or should I just bite the bullet and set up a separate set of VIPs and pools?

 

1 Reply

  • I would recommend doing a tcpdump to capture the rtsp traffic as there are fairly good rtsp header management libraries. There is possibly a Host header although RFC 2326 says that this is not required. Or just bite the bullet and create a new VS as it might be faster :0)