[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openser-users
Subject:    Re: [Users] x-lite and nat_uac_test(16)
From:       "raviprakash sunkara" <sunkara.raviprakash.feb14 () gmail ! com>
Date:       2007-05-18 14:49:27
Message-ID: f0f0f9340705180749u13631eebrbbcc5155e04decd () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Alex

Am using  fix_nated_sdp("11")
and fix_nayed_uac(16");

its workking fine ......
in All cases of NAT sections

On 5/18/07, Alexander Bergolth <leo@strike.wu-wien.ac.at> wrote:
>
> Hi!
>
> I've noticed that (at least on my boxes) x-lite uses a different
> source-port for the sip-connection than the one that is announced in the
> Via-header. (See the example below.)
>
> This behavior results in nat_uac_test(16) always reporting that the
> client is behind a NAT.
>
> Can anyone confirm this behavior? Is it a bug in X-Lite or is there any
> good reason for it?
>
> Cheers,
> --leo
>
> -------------------- 8< --------------------
> No.     Time        Source                Destination           Protocol
> Info
>       4 0.000808    137.208.90.164        137.208.89.45         SIP
> Request: REGISTER sip:wu-wien.ac.at
>
> Frame 4 (640 bytes on wire, 640 bytes captured)
> Ethernet II, Src: DellEsgP_85:83:ea (00:0b:db:85:83:ea), Dst:
> Cisco_f3:2e:80 (00:0d:29:f3:2e:80)
> Internet Protocol, Src: 137.208.90.164 (137.208.90.164), Dst:
> 137.208.89.45 (137.208.89.45)
> Transmission Control Protocol, Src Port: 1831 (1831), Dst Port: 5060
> (5060), Seq: 1, Ack: 1, Len: 586
>     Source port: 1831 (1831)
>     Destination port: 5060 (5060)
>     Sequence number: 1    (relative sequence number)
>     [Next sequence number: 587    (relative sequence number)]
>     Acknowledgement number: 1    (relative ack number)
>     Header length: 20 bytes
>     Flags: 0x18 (PSH, ACK)
>     Window size: 1028096 (scaled)
>     Checksum: 0x491e [correct]
> Session Initiation Protocol
>     Request-Line: REGISTER sip:wu-wien.ac.at SIP/2.0
>     Message Header
>         Via: SIP/2.0/TCP
> 137.208.90.164:1676
> ;branch=z9hG4bK-d87543-bd24cf102007467f-1--d87543-;rport
>         Max-Forwards: 70
>         Contact:
> <sip:30001@137.208.90.164:1676;rinstance=7ce462f932219953;transport=TCP>
>         To: "Alexander Bergolth"<sip:30001@wu-wien.ac.at>
>         From: "Alexander Bergolth"<sip:30001@wu-wien.ac.at>;tag=b904b134
>         Call-ID: N2VjNGQxYzZlOWNiYWU5OTMwNzQ4OTZkMWU3NmRkYTE.
>         CSeq: 1 REGISTER
>         Expires: 3600
>         Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY,
> MESSAGE, SUBSCRIBE, INFO
>         User-Agent: X-Lite release 1006e stamp 34025
>         Content-Length: 0
> -------------------- 8< --------------------
>
> --
> e-mail   ::: Alexander.Bergolth (at) wu-wien.ac.at
> fax      ::: +43-1-31336-906050
> location ::: Computer Center | Vienna University of Economics | Austria
>
>
> _______________________________________________
> Users mailing list
> Users@openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>



-- 
Thanks &Regards
Ravi Prakash Sunkara

[Attachment #5 (text/html)]

Hi Alex<br><br>Am using&nbsp; fix_nated_sdp(&quot;11&quot;) <br>and \
fix_nayed_uac(16&quot;);<br><br>its workking fine ......<br>in All cases of NAT \
sections <br><br><div><span class="gmail_quote">On 5/18/07, <b \
class="gmail_sendername"> Alexander Bergolth</b> &lt;<a \
href="mailto:leo@strike.wu-wien.ac.at">leo@strike.wu-wien.ac.at</a>&gt; \
wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi!<br><br>I&#39;ve \
noticed that (at least on my boxes) x-lite uses a different<br>source-port for the \
sip-connection than the one that is announced in the<br>Via-header. (See the example \
below.)<br><br>This behavior results in nat_uac_test(16) always reporting that the \
<br>client is behind a NAT.<br><br>Can anyone confirm this behavior? Is it a bug in \
X-Lite or is there any<br>good reason for \
it?<br><br>Cheers,<br>--leo<br><br>-------------------- 8&lt; \
--------------------<br>No.&nbsp;&nbsp;&nbsp;&nbsp; \
Time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Source&nbsp;&nbsp;&nbsp;&nbsp;&nbs \
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Destination&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
Protocol <br>Info<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4 \
0.000808&nbsp;&nbsp;&nbsp;&nbsp;<a \
href="http://137.208.90.164">137.208.90.164</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a \
href="http://137.208.89.45">137.208.89.45</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
SIP<br> Request: REGISTER sip:<a href="http://wu-wien.ac.at">wu-wien.ac.at \
</a><br><br>Frame 4 (640 bytes on wire, 640 bytes captured)<br>Ethernet II, Src: \
DellEsgP_85:83:ea (00:0b:db:85:83:ea), Dst:<br>Cisco_f3:2e:80 \
(00:0d:29:f3:2e:80)<br>Internet Protocol, Src: <a href="http://137.208.90.164"> \
137.208.90.164</a> (<a href="http://137.208.90.164">137.208.90.164</a>), Dst:<br><a \
href="http://137.208.89.45">137.208.89.45</a> (<a \
href="http://137.208.89.45">137.208.89.45</a>)<br>Transmission Control Protocol, Src \
Port: 1831 (1831), Dst Port: 5060 <br>(5060), Seq: 1, Ack: 1, Len: \
586<br>&nbsp;&nbsp;&nbsp;&nbsp;Source port: 1831 \
(1831)<br>&nbsp;&nbsp;&nbsp;&nbsp;Destination port: 5060 \
(5060)<br>&nbsp;&nbsp;&nbsp;&nbsp;Sequence number: 1&nbsp;&nbsp;&nbsp;&nbsp;(relative \
sequence number)<br>&nbsp;&nbsp;&nbsp;&nbsp;[Next sequence number: \
587&nbsp;&nbsp;&nbsp;&nbsp;(relative sequence number)] \
<br>&nbsp;&nbsp;&nbsp;&nbsp;Acknowledgement number: \
1&nbsp;&nbsp;&nbsp;&nbsp;(relative ack number)<br>&nbsp;&nbsp;&nbsp;&nbsp;Header \
length: 20 bytes<br>&nbsp;&nbsp;&nbsp;&nbsp;Flags: 0x18 (PSH, \
ACK)<br>&nbsp;&nbsp;&nbsp;&nbsp;Window size: 1028096 \
(scaled)<br>&nbsp;&nbsp;&nbsp;&nbsp;Checksum: 0x491e [correct]<br>Session Initiation \
Protocol <br>&nbsp;&nbsp;&nbsp;&nbsp;Request-Line: REGISTER sip:<a \
href="http://wu-wien.ac.at">wu-wien.ac.at</a> \
SIP/2.0<br>&nbsp;&nbsp;&nbsp;&nbsp;Message \
Header<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Via: SIP/2.0/TCP<br><a \
href="http://137.208.90.164:1676">137.208.90.164:1676</a>;branch=z9hG4bK-d87543-bd24cf102007467f-1--d87543-;rport
 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Max-Forwards: \
70<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Contact:<br>&lt;sip:30001@137.20 \
8.90.164:1676;rinstance=7ce462f932219953;transport=TCP&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To: \
&quot;Alexander Bergolth&quot;&lt;<a href="mailto:sip:30001@wu-wien.ac.at"> \
sip:30001@wu-wien.ac.at</a>&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;From: \
&quot;Alexander Bergolth&quot;&lt;<a \
href="mailto:sip:30001@wu-wien.ac.at">sip:30001@wu-wien.ac.at</a>&gt;;tag=b904b134<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Call-ID: \
N2VjNGQxYzZlOWNiYWU5OTMwNzQ4OTZkMWU3NmRkYTE. \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CSeq: 1 \
REGISTER<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Expires: \
3600<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allow: INVITE, ACK, CANCEL, \
OPTIONS, BYE, REFER, NOTIFY,<br>MESSAGE, SUBSCRIBE, \
INFO<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;User-Agent: X-Lite release \
1006e stamp 34025<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Content-Length: \
0 <br>-------------------- 8&lt; --------------------<br><br>--<br>e-mail&nbsp;&nbsp; \
::: Alexander.Bergolth (at) <a \
href="http://wu-wien.ac.at">wu-wien.ac.at</a><br>fax&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;::: \
+43-1-31336-906050<br>location ::: Computer Center | Vienna University of Economics | \
Austria <br><br><br>_______________________________________________<br>Users mailing \
list<br><a href="mailto:Users@openser.org">Users@openser.org</a><br><a \
href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users
 </a><br></blockquote></div><br><br clear="all"><br>-- <br>Thanks \
&amp;Regards<br>Ravi Prakash Sunkara



_______________________________________________
Users mailing list
Users@openser.org
http://openser.org/cgi-bin/mailman/listinfo/users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic