bugmldonkey, a multi-networks file-sharing client - Bugs: bug #16514, client_ip ignored in BitTorrent;...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #16514: client_ip ignored in BitTorrent; client_bind_addr works

Submitted by:  Kozarezov Artem <artemgr>
Submitted on:  Wed 03 May 2006 08:51:18 PM UTC  
 
Category: HTTP interfaceSeverity: 3 - Normal
Item Group: Program malfunctionStatus: None
Assigned to: NoneOpen/Closed: Closed
Release: Release: 2.7.5
Operating System: FreeBSDBinaries Origin: None
CPU type: Intel x86

Thu 25 May 2006 04:29:22 PM UTC, comment #1:

client_ip is not meant to choose which network interface to bind
to, the *_bind_addr options have to be used for that, as you
already find out.
You are right, client_bind_addr is missing from HTML, Options menu.
The attached patch adds this.

spiralvoice <spiralvoice>
Project Administrator
Wed 03 May 2006 08:51:18 PM UTC, original submission:

Here is excerpt from "options network":

client_ip [client_ip]= 83.222.4.119
force_client_ip [force_client_ip]= true

with these options MLDonkey still uses the default address for BT:

root@dopler:~/# sockstat | grep mlnet
mlnet mlnet-real 1127 3 tcp4 :34782 :*
mlnet mlnet-real 1127 6 tcp4 83.222.4.119:41271 :
mlnet mlnet-real 1127 7 tcp4 127.0.0.1:4000 :
mlnet mlnet-real 1127 8 tcp4 83.222.4.117:34782 85.206.49.241:4662
mlnet mlnet-real 1127 9 tcp4 83.222.4.117:34782 88.222.19.229:3043
mlnet mlnet-real 1127 10 tcp4 83.222.4.117:60776 213.85.100.159:48633
mlnet mlnet-real 1127 12 tcp4 83.222.4.117:56685 83.222.4.117:34782
mlnet mlnet-real 1127 13 tcp4 83.222.4.117:63697 88.154.239.44:6346

Using "options network" i discovered another option, "client_bind_addr", which was set to "0.0.0.0". When set to "83.222.4.119", it works.
This option isn't visible from the usual HTTP options interface! Either make it visible (maybe from the BitTorrent plugin section of the interface) or fix "client_ip".

Kozarezov Artem <artemgr>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 25 May 2006 04:29:24 PM UTCspiralvoiceReassign ItemFrom group mldonkey, a multi-networks file-sharing client, bugs tracker=>To group mldonkey, a multi-networks file-sharing client, patch tracker
Thu 25 May 2006 04:29:23 PM UTCspiralvoiceAttached File-=>Added html_client_bind_addr.patch, #10051

Back to the top


Powered by Savane 3.1-cleanup1