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 18:29] – [Initializing the server list] niccolo | doc:appunti:software:mldonkey_3_2_1 [2024/10/22 12:45] (current) – [Initializing the Kademlia network] niccolo | ||
---|---|---|---|
Line 71: | Line 71: | ||
===== Opening the firewall ===== | ===== Opening the firewall ===== | ||
+ | |||
+ | The ports used by the program are declared in several configuration **.ini** files: | ||
+ | |||
+ | < | ||
+ | downloads.ini: | ||
+ | downloads.ini: | ||
+ | downloads.ini: | ||
+ | |||
+ | # ED2k TCP port. The UDP port is TCP + 4. | ||
+ | donkey.ini: port = 16566 | ||
+ | |||
+ | donkey.ini: Kademlia = { port = 10709 } | ||
+ | |||
+ | bittorrent.ini: | ||
+ | bittorrent.ini: | ||
+ | bittorrent.ini: | ||
+ | </ | ||
===== Using the Command Line Interface ===== | ===== Using the Command Line Interface ===== | ||
Line 77: | Line 94: | ||
telnet localhost 4000 | telnet localhost 4000 | ||
</ | </ | ||
+ | |||
+ | < | ||
+ | > auth admin MySecret | ||
+ | Full access enabled | ||
+ | </ | ||
+ | |||
===== Initializing the server list ===== | ===== Initializing the server list ===== | ||
- | As explaind into this [[https:// | + | As explaind into this [[https:// |
The default URL used by MLDonkey to fetch the server list is **[[http:// | The default URL used by MLDonkey to fetch the server list is **[[http:// | ||
- | FIXME: How to fetch from the URL or alternatively how to get the file and copy it into the MLDonkey home directory. | + | To change |
- | To view the servers listed by the emule-security.org site in an human-readable format, visit the URL **[[https:// | + | < |
+ | | ||
+ | (" | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | 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 94: | 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 126: | 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 133: | Line 187: | ||
* **[[https:// | * **[[https:// | ||
* **[[https:// | * **[[https:// | ||
+ | * **[[https:// | ||
doc/appunti/software/mldonkey_3_2_1.1729268948.txt.gz · Last modified: 2024/10/18 18:29 by niccolo