Re: RTP relaying is broken

Thomas Ries <[email protected]> Wed, 28 Jan 2004 01:16:58 +0100 (CET)
Newsgroups gmane.network.siproxd
Message-ID <[email protected]>
Hi Christof,

Thanks for the patch, I just integrated it.

Regards,
/Thomas

On 25 Jan, Christof Meerwald wrote:
> Hi,
> 
> RTP relaying is currently broken in siproxd. The problem is that siproxd
> uses a "random" socket to forward RTP packets (which means that the source
> IP address and the source port of the UDP packets will be random values).
> Instead siproxd should use the same socket for sending and receiving RTP
> packets from/to the client.
> 
> Siproxd uses one socket to receive packets on the inbound interface and
> another socket to receive packets on the outbound interface. When a packet
> arrives on the outbound socket, siproxd should send the packet through the
> corresponding inbound socket. And when a packet arrives on the inbound
> socket, siproxd should send the packet through the corresponding outbound
> socket. But the current behaviour is that siproxd uses a random socket for
> forwarding all RTP packets (and therefore clients will see the RTP packets
> coming from random ports and maybe also "random" IP addresses).
> 
> 
> Here is a patch (against yesterday's 0.5.2 snapshot) to fix this behaviour.
> 
> 
> bye, Christof
> 
> -- 
> http://cmeerw.org                                 JID: [email protected]
> mailto cmeerw at web.de

-- 
GnuPG: pub  1024D/87BCDC94 2000-03-19 Thomas Ries <[email protected]>
-      Fingerprint = 13D1 19F5 77D0 4CEC 8D3F  A24E 09FC C18A 87BC DC94
-      Key via pgp.openpkg.org / http://www.ries.ch.vu/87BCDC94.pub
VoIP:  sip:17476691342-rne+wJe3e/u3Jhga2bR/9VaTQe2KTcn/@public.gmane.org | sip:[email protected]
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQBAFv96CfzBioe83JQRAgXRAJ40As2qsCpE33PPYADJUocnr0pjwgCePmEi
B/l1vidUpsfbQmVr/WxvXlA=
=gqnJ
-----END PGP SIGNATURE-----