[Blink] SIP Problem with private IP addr

Fabrice Rochette blink at uche.org
Thu Nov 11 09:18:58 CET 2010


It looks like blink is taking the first private ip address from my local interfaces, no matter to which interface the packets will get routed.
The routing is working as on the server a tcpdump show the incoming packets from 10.20.20.6 to 172.18.0.5, but inside the SIP protocol, IP is 192.168.0.12 which is wrong and makes the server trying to answer Register/Subscribe to 192.168.0.12.

Fabrice 

On 11/11/2010, at 09:13 , Fabrice Rochette wrote:

> for both Register and Subscribe.
> 
> On 08/11/2010, at 18:24 , Adrian Georgescu wrote:
> 
>> Register or Subscribe?
>> 
>> 
>> On Nov 7, 2010, at 8:56 PM, Fabrice Rochette wrote:
>> 
>>> Hi BLINK team,
>>> I'm trying 0.20.2 on 10.6.4.
>>> 
>>> I'm trying to setup a SIP account. The SIP server is behind a VPN tunnel (which is configured properly), no NAT, only direct private range routing.
>>> On my mac I have several interfaces and several local IP addr.
>>> 
>>> I have 2 interfaces, en1 and tun0.
>>> 
>>> I'm trying to connect to 172.18.0.5 which is behind tun0.
>>> route : 172.18/24          10.20.20.5         UGSc            2        0    tun0
>>> 
>>> en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>>> 	inet 192.168.0.12 netmask 0xffffff00 broadcast 192.168.0.255
>>> 	media: <unknown subtype>
>>> 	status: active
>>> tun0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>>> 	inet 10.75.75.6 --> 10.20.20.5 netmask 0xffffffff 
>>> 	open (pid 82632)
>>> 
>>> When I try to register, the IP 10.20.20.6 should be sent in the SIP msgs. What I'm seeing in the logs is that the 192.168.0.12 is included instead of the 10.20.20.6.
>>> 
>>> SENDING: Packet 214, +0:16:35.492415
>>> 2010-11-07 20:49:17.539795: 192.168.0.12:53845 -(SIP over UDP)-> 172.18.0.5:5060
>>> SUBSCRIBE sip:1777 at 172.18.0.5 SIP/2.0
>>> Via: SIP/2.0/UDP 192.168.0.12:53845;rport;branch=qwerty
>>> Max-Forwards: 70
>>> From: "Fabrice Rochette" <sip:1777 at 172.18.0.5>;tag=abcd
>>> To: <sip:1777 at 172.18.0.5>
>>> Contact: <sip:deadbeef at 10.20.20.6:53845>
>>> Call-ID: uiguggiu
>>> CSeq: 29653 SUBSCRIBE
>>> Route: <sip:172.18.0.5;lr>
>>> Event: message-summary
>>> Expires: 3600
>>> Accept: application/simple-message-summary
>>> Allow-Events: presence.winfo, message-summary, xcap-diff, presence
>>> User-Agent: Blink 0.20.2 (MacOSX)
>>> Content-Length:  0
>>> 
>>> 
>>> 
>>> Any clue?
>>> 
>>> Thanks for your feedback.
>>> 
>>> Cheers,
>>> 
>>> Fabrice
>>> _______________________________________________
>>> Blink mailing list
>>> Blink at lists.ag-projects.com
>>> http://lists.ag-projects.com/mailman/listinfo/blink
>> 
>> _______________________________________________
>> Blink mailing list
>> Blink at lists.ag-projects.com
>> http://lists.ag-projects.com/mailman/listinfo/blink
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/blink/attachments/20101111/2f246085/attachment.html>


More information about the Blink mailing list