Table of Contents
, , ,

MLDonkey

MLDonkey is client for P2P networks under Linux.

The supported protocols are :

Moreover, it can be managed by several ways :

Installation

Package

To install mldonkey server, add the package :

Mldonkey is installed by default in the folder /var/lib/mldonkey.

Once the install done, mldonkey is only reachable from the localhost 127.0.0.1

Setup

The following paragraps details how to customize the installation.
Then all other tunning can be done through the web interface.

Define the admin network

To allow access from other computers, we need to edit /var/lib/mldonkey/downloads.ini :

 
 allowed_ips = [
  "127.0.0.1"; "192.168.10.0/24"; "192.168.11.0/24";]

Change the password

To protect the access, we need to setup a password with useradd command (telnet) :

# telnet localhost 4000
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
Welcome to MLDonkey 3.0.0
Welcome on mldonkey command-line

Use ? for help

> useradd admin xxx
Password of user admin changed

Administration

It's possible to manage mldonkey from several ways.

Interfaces

Incoming connections to allow on the firewall

Network Type Historical default MLdonkey default Configuration file
eDonkey2000 TCP 4662 port = random (before 2.8.0: 4662) donkey.ini
eDonkey2000 UDP 4672 (eMule) TCP port + 4 (before 2.8.0: 4666) donkey.ini
Kad TCP 6419 (eMule) Kademlia.port = random donkey.ini, Kademlia section
Kad1 UDP 6429 (eMule) Same as TCP donkey.ini, Kademlia section
Overnet TCP 4662 Overnet.port = random donkey.ini, Overnet section
Overnet UDP No default Same as TCP donkey.ini, Overnet section
Gnutella TCP 6346 client_port = 6346 gnutella.ini
Gnutella UDP (??)Same as TCP client_port = 6346 gnutella.ini
Gnutella2 TCP No default client_port = 6347 gnutella2.ini
Gnutella2 UDP Same as TCP client_port = 6347 gnutella2.ini
BitTorrent TCP 6881 client_port = 6882 bittorrent.ini
FastTrack TCP 1214 client_port = 1214 fasttrack.ini
OpenNapster TCP 6699 client_port = 9999 opennap.ini
DirectConnect TCP 1412 client_port = 4444 directconnect.ini
Direct Connect UDP Same as TCP client_port = 4444 directconnect.ini
Soulseek TCP 2234 client_port = 2234 soulseek.ini

Tunning

Some usefull parameters :

clients parameters by protocol :

For information, there is two kind of ID with eDonkey :

Two low ID cannot connect together.

Backup

Links