Hi
I'm trying to set up the quicktime (darwin) streaming server through
lvs. It kind of works, but it is very slow, much slower than just
accessing the stream without going through lvs.
I have set it up exactly the same as the Real rtsp examples. I am using
lvs-dr with fwmark on ports.
Here are the iptables commands I used:
iptables -t mangle -A PREROUTING -i eth0 -p tcp -s 0.0.0.0/0 -d 209.174.123.48
--dport 80 -j MARK --set-mark 1
iptables -t mangle -A PREROUTING -i eth0 -p tcp -s 0.0.0.0/0 -d 209.174.123.48
--dport 554 -j MARK --set-mark 1
iptables -t mangle -A PREROUTING -i eth0 -p udp -s 0.0.0.0/0 -d 209.174.123.48
--dport 6970:7170 -j MARK --set-mark 1
Then I added the lvs-dr like the examples:
ipvsadm -A -f 1 -s rr
ipvsadm -a -f 1 -r 209.174.123.45
ipvsadm -a -f 1 -r 209.174.123.47
And I get this with ipvsadm:
FWM 1 rr
-> lead.web.cait.org:0 Route 1 0 1
-> tin.web.cait.org:0 Route 1 1 1
I am also unable to access the stream on port 80 through lvs.
If anyone has experience with quicktime please let me know if there is
anything further that I need to do.
Thanks
Andy
|