mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-users] [patch #8482] BT: fix missing client_ip bind on some po


From: stopdatrue
Subject: [Mldonkey-users] [patch #8482] BT: fix missing client_ip bind on some ports.
Date: Mon, 23 Jun 2014 11:35:43 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0

Follow-up Comment #2, patch #8482 (project mldonkey):

You're right, i don'use the right option here. But the bug remains, the right
option not correctly handled is client_bind_addr

# /usr/local/bin/mlnet -client_bind_addr 46.246.55.11 -client_ip 46.246.55.11

# sudo netstat -nlp  | grep mlnet
tcp        0      0 46.246.61.5:6881        0.0.0.0:*               LISTEN    
 20034/mlnet     
tcp        0      0 46.246.61.5:6882        0.0.0.0:*               LISTEN    
 20034/mlnet     
tcp        0      0 46.246.61.5:16771       0.0.0.0:*               LISTEN    
 20034/mlnet     
tcp        0      0 127.0.0.1:4080          0.0.0.0:*               LISTEN    
 20034/mlnet     
tcp        0      0 46.246.61.5:3504        0.0.0.0:*               LISTEN    
 20034/mlnet     
udp        0      0 46.246.61.5:16775       0.0.0.0:*                         
 20034/mlnet     
udp        0      0 0.0.0.0:16911           0.0.0.0:*                         
 20034/mlnet     
udp        0      0 46.246.61.5:13112       0.0.0.0:*                         
 20034/mlnet     
udp        0      0 46.246.61.5:3504        0.0.0.0:*                         
 20034/mlnet 

The DHT port is the only port not correctly binded on the given address.

In my case it results in an unwanted behavior, i uses different routing tables
depending if the process is binded on a VPN ip address or not, and here
packets went outside the vpn.

In attachment you will have the fixed using client_bind_addr instead of
client_ip


(file #31599)
    _______________________________________________________

Additional Item Attachment:

File name: 0001-DHT-fix-missing-client_bind_address-on-DHT-port.patch Size:3
KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?8482>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]