Re: ultramonkey and asterisk
Ron <[email protected]> Wed, 15 Oct 2008 11:43:06 +0800
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
Simon Horman wrote: > On Wed, Oct 15, 2008 at 12:48:39AM +0800, Ron wrote: >> hi, >> >> anyone able to se ultramonkey lvs for sip (specifically asterisk). >> >> i am testing it now but my phone could not register, it seems like when >> ultramonkey forwards it to the real server, the auth header is missing. >> any idea? > > Hi, > > it is a long time since I have tried to use SIP with LVS. > But as I recall the main problem is that a) the protocol is > UDP and thus doesn't have connections that can be tracked > at layer 4 and b) in the case of the tests that I was running > it wasn't entirely obvious how to identify connections > based on the source and destination port and IP address, > which is essetnailly how LVS works. Julian's One Packet scheuler > is an attempt to address this. > > http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/ > > The discussion here also seems relevant > > http://www.gossamer-threads.com/lists/lvs/users/20871 hi, i actually saw this before and followed it. i used packet mangling using iptables. the only difference is that i use direct routing since my servers are already on public IP. i got this on my iptables /sbin/iptables -t mangle -A PREROUTING -p udp -d 202.201.200.155 --dport 5060 -j MARK --set-mark 2 /sbin/iptables -t mangle -A PREROUTING -p udp -d 202.201.200 --dport 16834:32767 -j MARK --set-mark 2 FWM 2 rr persistent 600 -> 202.201.200.131:0 Route 1 0 0 -> 202.201.200.130:0 Route 1 0 0 but what i am experiencing right now is that i cant register, and doing a sip debug show that the auth header is missing. any idea on where i should sart troubleshooting? thanks regards, ron > > As for stripping out the auth header, that seems > a little unlikely to me as LVS doesn't alter the > contents of packets. > _______________________________________________ Ultramonkey-users mailing list [email protected] http://lists.vergenet.net/listinfo/ultramonkey-users