bugmldonkey, a multi-networks file-sharing client - Bugs: bug #15622, mlnet opens a random udp port...

 
 

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

bug #15622: mlnet opens a random udp port which is not documented...

Submitted by:  Mathias Homann <lemmy98>
Submitted on:  Sat 04 Feb 2006 12:20:37 PM UTC  
 
Category: CoreSeverity: 3 - Normal
Item Group: Feature requestStatus: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: Release: 2.7.2
Operating System: LinuxBinaries Origin: CVS / Self compiled
CPU type: Intel x86

(Jump to the original submission Jump to the original submission)

Sun 05 Feb 2006 09:20:51 AM UTC, comment #9:

ok, i applied the patch, and the random udp port is gone, but now i have serious trouble with edonkey search results... see bug #15626

Mathias Homann <lemmy98>
Sat 04 Feb 2006 11:51:55 PM UTC, comment #8:

lots of new patches were made to CVS after 2.7.3 has been released:

cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/mldonkey co -P mldonkey

The port was used to send data to the (deactivated) redirector.
Although users could deactivate redirector use (set enable_mlnet_redirector false) the port was opened nonetheless.
The patch removes the redirector stuff completely.

spiralvoice <spiralvoice>
Project Administrator
Sat 04 Feb 2006 11:28:29 PM UTC, comment #7:

ok, found it.... but it doesnt apply cleanly to the offical 2.7.3 source:

lemmy@celebrimbor:~/mldonkey-2.7.3> patch -p0 < /eregion/public/linux/mldonkey/redirector.patch
patching file ./src/daemon/common/commonOptions.ml
Hunk #1 succeeded at 453 (offset -15 lines).
Hunk #2 succeeded at 884 (offset -15 lines).
Hunk #3 succeeded at 1043 (offset -15 lines).
Hunk #4 succeeded at 1624 (offset -20 lines).
Hunk #5 succeeded at 1656 (offset -20 lines).
Hunk #6 succeeded at 1683 (offset -20 lines).
Hunk #7 succeeded at 1716 (offset -20 lines).
patching file ./src/daemon/common/commonUploads.ml
patching file ./src/daemon/common/commonWeb.ml
Hunk #2 succeeded at 172 (offset -1 lines).
patching file ./src/daemon/driver/driverCommands.ml
Hunk #1 succeeded at 1796 (offset 13 lines).
patching file ./src/daemon/driver/driverMain.ml
patching file ./src/networks/donkey/donkeyInteractive.ml
Hunk #1 FAILED at 950.
1 out of 1 hunk FAILED -- saving rejects to file ./src/networks/donkey/donkeyInteractive.ml.rej
patching file ./src/networks/donkey/donkeyNeighbours.ml
patching file ./src/networks/donkey/donkeyOvernet.ml
patching file ./src/networks/donkey/donkeyServers.ml

Mathias Homann <lemmy98>
Sat 04 Feb 2006 11:20:24 PM UTC, comment #6:

where do i get that patch, and what's the purpose of that port?

Mathias Homann <lemmy98>
Sat 04 Feb 2006 11:14:34 PM UTC, comment #5:

Patch #4869 should fix this

spiralvoice <spiralvoice>
Project Administrator
Sat 04 Feb 2006 06:10:04 PM UTC, comment #4:

root@orb:~/.mldonkey # netstat -ulnp |grep mlnet
udp 0 0 0.0.0.0:9856 0.0.0.0:* 454/mlnet
udp 0 0 0.0.0.0:32769 0.0.0.0:* 454/mlnet
udp 0 0 0.0.0.0:11039 0.0.0.0:* 454/mlnet
udp 0 0 0.0.0.0:4666 0.0.0.0:* 454/mlnet

root@orb:~/.mldonkey # grep -i -E "(9856|32769|11039|4666)" *.ini
donkey.ini: port = 11039
donkey.ini: port = 9856

root@orb:~/.mldonkey # grep "port =" *.ini
bittorrent.ini: client_port = 6882
bittorrent.ini: tracker_port = 6881
donkey.ini: port = 4662
donkey.ini: port = 11039
donkey.ini: port = 9856
downloads.ini: gui_port = 4001
downloads.ini: gift_port = 0
downloads.ini: http_port = 4080
downloads.ini: telnet_port = 4000
downloads.ini: http_proxy_port = 8080
downloads.ini: smtp_port = 25
downloads.ini: chat_app_port = 5036
downloads.ini: chat_port = 4002
downloads.ini: dp500_port = 8000
fasttrack.ini: client_port = 1214
gnutella2.ini: client_port = 6347
gnutella2.ini: supernode_port = 6348
gnutella.ini: client_port = 6346
gnutella.ini: supernode_port = 6348

port 4666 = ed2k_port + 4

but the 2nd port changes on each start

orbit <orbit>
Sat 04 Feb 2006 04:12:57 PM UTC, comment #3:

no it is not.

the port appears nowhere in any ini file,
the port is a different one on every start of mlnet,
the port stays open even if i DISABLE ALL networks.
and i already mentioned all that...

Mathias Homann <lemmy98>
Sat 04 Feb 2006 03:13:37 PM UTC, comment #2:

checkout donkey.ini, its either overnet_port or kademlia_port.
If you have enabled on of these nets this port is in use.

spiralvoice <spiralvoice>
Project Administrator
Sat 04 Feb 2006 12:22:02 PM UTC, comment #1:

whats the purpose of that port, and does it have to be forwarded/opened on the firewall or not?

Mathias Homann <lemmy98>
Sat 04 Feb 2006 12:20:37 PM UTC, original submission:

mlnet opens a random high udp port which is not documented, so its rather hard to figure out what that port is for, and wether it should be forwarded on a router or not.
the port stays open even with all networks disabled, though.

Mathias Homann <lemmy98>

 

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
Sun 05 Feb 2006 12:36:21 PM UTCspiralvoiceStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1