#241: Bind to wrong IP / interface
----------------------------+-----------------------------------------------
 Reporter:  bcx             |       Owner:  vadim          
     Type:  defect          |      Status:  new            
 Priority:  major           |   Milestone:  QuteCom 2.2-RC4
Component:  3rd party libs  |     Version:  2.2            
 Keywords:                  |    Field_os:  linux64        
----------------------------+-----------------------------------------------
 On initiating a connection to my asterisk server, QuteCom uses a false IP
 address to bind to.
 I'm using the 2.2~rc3 ubuntu version.
 I used wiresharke to monitor the traffic, the only packet that qutecom
 sends is this "SIP REGISTER" packet:

 ---------------------------------------------
 REGISTER sip:172.24.1.8 SIP/2.0
 Via: SIP/2.0/UDP 192.168.1.16:5060;rport;branch=1372600058
 Route: <sip:172.24.1.8;lr>
 From: nobody <sip:[email protected]>;tag=450342120
 To: <sip:[email protected]>
 Call-ID: 478487930
 Contact: <sip:[email protected]>
 CSeq: 2058777079 REGISTER
 X-Wengo-Ping: network test
 Content-Length: 0
 ---------------------------------------------

 This packets source IP is 192.168.1.16, destination IP is 172.24.1.8

 192.168.1.x is on my eth0 interface, my local lan (home network).
 172.24.x.x is on my ppp0 interface, a VPN connection to my work network.

 My VPN connection is functioning fine, for both tcp and udp traffic.

 I think the source IP should be: 172.24.4.15.

 ---------------------------------------------
 Some relevant information:

 $ ifconfig
 eth0      Link encap:Ethernet  HWaddr 00:21:70:c8:80:37
           inet addr:192.168.1.16  Bcast:192.168.1.255  Mask:255.255.255.0
           inet6 addr: fe80::221:70ff:fec8:8037/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:1202267 errors:1 dropped:0 overruns:0 frame:1
           TX packets:749244 errors:0 dropped:0 overruns:0 carrier:0
           collisions:7552 txqueuelen:1000
           RX bytes:1320740879 (1.3 GB)  TX bytes:76259220 (76.2 MB)
           Memory:f6fe0000-f7000000

 lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           inet6 addr: ::1/128 Scope:Host
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:438735 errors:0 dropped:0 overruns:0 frame:0
           TX packets:438735 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:129424634 (129.4 MB)  TX bytes:129424634 (129.4 MB)

 ppp0      Link encap:Point-to-Point Protocol
           inet addr:172.24.4.15  P-t-P:172.24.4.1  Mask:255.255.255.255
           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1400  Metric:1
           RX packets:7215 errors:0 dropped:0 overruns:0 frame:0
           TX packets:7293 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:3
           RX bytes:1544524 (1.5 MB)  TX bytes:664163 (664.1 KB)

 wlan0     Link encap:Ethernet  HWaddr 00:21:6a:0e:e4:34
           inet addr:192.168.1.22  Bcast:192.168.1.255  Mask:255.255.255.0
           inet6 addr: fe80::221:6aff:fe0e:e434/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:53502 errors:0 dropped:0 overruns:0 frame:0
           TX packets:1441 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:17415166 (17.4 MB)  TX bytes:381153 (381.1 KB)

 $ route -n
 Kernel IP routing table
 Destination     Gateway         Genmask         Flags Metric Ref    Use
 Iface
 172.24.4.1      0.0.0.0         255.255.255.255 UH    0      0        0
 ppp0
 188.202.125.121 192.168.1.1     255.255.255.255 UGH   0      0        0
 eth0
 188.202.125.121 192.168.1.1     255.255.255.255 UGH   0      0        0
 eth0
 192.168.1.0     0.0.0.0         255.255.255.0   U     1      0        0
 eth0
 192.168.1.0     0.0.0.0         255.255.255.0   U     2      0        0
 wlan0
 172.24.0.0      0.0.0.0         255.255.0.0     U     10     0        0
 ppp0
 169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0
 eth0
 0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0
 eth0


 If you need some more information, I'll be glad to help you out.

-- 
Ticket URL: <http://trac.qutecom.org/ticket/241>
QuteCom <http://trac.qutecom.org>

_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Reply via email to