[Serusers] ANNOUNCE: IPv6 now fully supported in nathelper/RTPProxy [Fwd: [Serdev] CVS:commitlog: sip_router/modules/nathelper nathelper.c sip_router/modules/nathelper/examples 4to6.cfg alg.cfg]

Maxim Sobolev sobomax at portaone.com
Sat Mar 13 22:18:28 CET 2004


With the great pleasure I'm announcing immediate availability of full 
IPv6 support in RTPproxy/nathelper, which allows to relay IPv6 RTP 
streams as well as create IPv4<->IPv6 gateways.

I've committed a short example, due to absense of the IPv6-capable phone 
so far it has been tested in the following configuration:

UA1->IPv4->SER/RTPproxy->IPv6->SER/RTPproxy->IPv4->UA2

I've committed short example, which illustrates usage of this feature.

Enjoy!

I'd like to thank Armin Brunner for his donation which made this happen.

Regards,

Maxim
P.S. For those curious, following is the log of one of my test calls:

rtpproxy: new session 1e0d3524-4f79dacc at 192.168.0.100, tag 
79b50153b98e6976 requested
rtpproxy: new session on a port 35016 created, tag 79b50153b98e6976
rtpproxy: pre-filling caller's address with 192.168.0.100:16412
rtpproxy: lookup on a ports 35016/35022, session timer restarted
rtpproxy: pre-filling callee's address with 2002:c3ea:d4b2::3:35030
rtpproxy: lookup on a ports 35016/35022, session timer restarted
rtpproxy: forcefully deleting session on ports 35016/35022
rtpproxy: RTP stats: 2061 in from callee, 972 in from caller, 3033 
relayed, 0 dropped
rtpproxy: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 
dropped
rtpproxy: session on ports 35016/35022 is cleaned up

rtpproxy: new session 1e0d3524-4f79dacc at 192.168.0.100, tag 
79b50153b98e6976 requested
rtpproxy: new session on a port 35008 created, tag 79b50153b98e6976
rtpproxy: pre-filling caller's address with 2002:c3ea:d4b2::1:35016
rtpproxy: lookup on a ports 35008/35030, session timer restarted
rtpproxy: pre-filling callee's address with 192.168.0.105:16384
rtpproxy: lookup on a ports 35008/35030, session timer restarted
rtpproxy: forcefully deleting session on ports 35008/35030
rtpproxy: RTP stats: 2062 in from callee, 972 in from caller, 3034 
relayed, 0 dropped
rtpproxy: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 
dropped
rtpproxy: session on ports 35008/35030 is cleaned up

-------- Original Message --------
Subject: [Serdev] CVS:commitlog: sip_router/modules/nathelper 
nathelper.c sip_router/modules/nathelper/examples 4to6.cfg alg.cfg
Date: Sat, 13 Mar 2004 20:57:11 +0100
From: Maxim Sobolev <sobomax at portaone.com>
To: serdev at lists.iptel.org

sobomax     2004/03/13 20:57:11 CET

   SER CVS Repository

   Modified files:
     modules/nathelper    nathelper.c
     modules/nathelper/examples alg.cfg
   Added files:
     modules/nathelper/examples 4to6.cfg
   Log:
   Added support for extracting/rewriting IPv6 addresses in SDPs.
   Particularly, force_rtp_proxy now can work with IPv6-aware RTP
   proxy, replacing IPv4 address in SDP with IPv6 one and vice versa.
   This allows creating full-fledged IPv4<->IPv6 gateway.
   See 4to6.cfg file for example.

   Two new options added into force_rtp_proxy:

   `f' - instructs nathelper to ignore marks inserted
         by another nathepler in transit to indicate
         that the session is already goes through another
         proxy. Allows creating chain of proxies.
   `d' - flags that IP address in SDP should be trusted.
         Without this flag, nathelper ignores address in the
         SDP and uses source address of the SIP message
         as media address which is passed to the RTP proxy.

   Revision  Changes    Path
   1.1       +113 -0    sip_router/modules/nathelper/examples/4to6.cfg (new)
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/nathelper/examples/4to6.cfg?rev=1.1&content-type=text/plain
   1.3       +6 -6      sip_router/modules/nathelper/examples/alg.cfg
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/nathelper/examples/alg.cfg.diff?r1=1.2&r2=1.3
   1.47      +216 -76   sip_router/modules/nathelper/nathelper.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/nathelper/nathelper.c.diff?r1=1.46&r2=1.47

_______________________________________________
Serdev mailing list
serdev at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serdev







More information about the sr-users mailing list