doc:appunti:software:mldonkey_3_2_1
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:software:mldonkey_3_2_1 [2024/10/18 17:56] – [Initializing the server list] niccolo | doc:appunti:software:mldonkey_3_2_1 [2024/10/22 12:45] (current) – [Initializing the Kademlia network] niccolo | ||
---|---|---|---|
Line 70: | Line 70: | ||
FIXME Need to create the **/ | FIXME Need to create the **/ | ||
+ | ===== Opening the firewall ===== | ||
+ | The ports used by the program are declared in several configuration **.ini** files: | ||
- | ===== Opening the firewall ===== | + | < |
+ | downloads.ini: | ||
+ | downloads.ini: | ||
+ | downloads.ini: | ||
- | ===== Initializing the server list ===== | + | # ED2k TCP port. The UDP port is TCP + 4. |
+ | donkey.ini: port = 16566 | ||
- | To start a client you need a list of servers **[[https://www.emule-security.org/ | + | donkey.ini: Kademlia = { port = 10709 } |
+ | |||
+ | bittorrent.ini: tracker_port = 6881 | ||
+ | bittorrent.ini: client_port = 6882 | ||
+ | bittorrent.ini: | ||
+ | </code> | ||
+ | |||
+ | ===== Using the Command Line Interface ===== | ||
< | < | ||
telnet localhost 4000 | telnet localhost 4000 | ||
</ | </ | ||
+ | |||
+ | < | ||
+ | > auth admin MySecret | ||
+ | Full access enabled | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Initializing the server list ===== | ||
+ | |||
+ | As explaind into this [[https:// | ||
+ | |||
+ | The default URL used by MLDonkey to fetch the server list is **[[http:// | ||
+ | |||
+ | To change the source URL for **server.met**, | ||
+ | |||
+ | < | ||
+ | | ||
+ | (" | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | The number zero is the period between updates (in hours), a period of zero means the file is only loaded once on startup. The file will be fetched and stored into the **$HOME/ | ||
+ | |||
+ | Alternatively you can add single servers by hand: to view the servers listed by the emule-security.org site in an human-readable format, visit the URL **[[https:// | ||
< | < | ||
Line 88: | Line 125: | ||
===== Initializing the Kademlia network ===== | ===== Initializing the Kademlia network ===== | ||
+ | |||
+ | FIXME It seems that the [[wp> | ||
+ | |||
+ | The implementation of Kademlia in MLDonkey was derived from the Overnet component. Overnet, which is now discontinued, | ||
As explained by this [[https:// | As explained by this [[https:// | ||
Line 120: | Line 161: | ||
===== The GeoIP database ===== | ===== The GeoIP database ===== | ||
+ | |||
+ | MLDonkey uses a GeoIP database to show the country of servers and peers by the respective IP addresses. That database must be updated regularly, because IP assignments change over time. Unfortunately the default URL to download the database contained into the configuration file is outdated: [[http:// | ||
+ | |||
+ | It seems that the GeoIP is a // | ||
+ | |||
+ | If you set this in **download.ini**: | ||
+ | |||
+ | < | ||
+ | (* WARNING: cannot use https URLs *) | ||
+ | | ||
+ | (" | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | the MLDonkey program will try to connect the mailfud.org server on port TCP/0 instead of TCP/443. Specifying the port into the URL (e.g. **%%https:// | ||
+ | |||
+ | Fortunately you can download the **GeoIP.dat.gz** file using your browser and copy it into the **$HOME/ | ||
+ | |||
+ | If you want the auto-update to work, you have to find (or host yourself) an **HTTP/ | ||
===== Web References ===== | ===== Web References ===== | ||
Line 127: | Line 187: | ||
* **[[https:// | * **[[https:// | ||
* **[[https:// | * **[[https:// | ||
+ | * **[[https:// | ||
doc/appunti/software/mldonkey_3_2_1.1729266972.txt.gz · Last modified: 2024/10/18 17:56 by niccolo