User Tools

Site Tools


doc:appunti:software:mldonkey_3_2_1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:software:mldonkey_3_2_1 [2024/10/22 09:49] – [The GeoIP database] niccolodoc: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:
 +
 +<code>
 +downloads.ini: telnet_port = 4000
 +downloads.ini: gui_port = 4001
 +downloads.ini: http_port = 4080
 +
 +# ED2k TCP port. The UDP port is TCP + 4.
 +donkey.ini: port = 16566
 +
 +donkey.ini: Kademlia = { port = 10709 }
 +
 +bittorrent.ini: tracker_port = 6881
 +bittorrent.ini: client_port = 6882
 +bittorrent.ini: dht_port = 16873
 +</code>
  
 ===== Using the Command Line Interface ===== ===== Using the Command Line Interface =====
Line 108: Line 125:
  
 ===== Initializing the Kademlia network ===== ===== Initializing the Kademlia network =====
 +
 +FIXME It seems that the [[wp>Kademlia]] implementation of MLDonky is not compatible with e.g. the aMule 2.3.3 implementation (which is know as the [[wp>Kad network]]). See the **[[https://github.com/ygrek/mldonkey/issues/93|issue 93]]**.
 +
 +The implementation of Kademlia in MLDonkey was derived from the Overnet component. Overnet, which is now discontinued, was an attempt to enhance the [[wp>eDonkey2000]] program, to make it working without the use of central servers.
  
 As explained by this [[https://www.emule-security.org/e107_plugins/faq/faq.php?0.cat.6.6|eMule FAQ]], a list of some other users already connected to the Kademlia network can be downloaded here: **[[http://upd.emule-security.org/nodes.dat]]**. As explained by this [[https://www.emule-security.org/e107_plugins/faq/faq.php?0.cat.6.6|eMule FAQ]], a list of some other users already connected to the Kademlia network can be downloaded here: **[[http://upd.emule-security.org/nodes.dat]]**.
Line 154: Line 175:
 </file> </file>
  
-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://mailfud.org:443%%/...**) does not solve the problem because the HTTPS session does not start.+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://mailfud.org:443%%/...**) does not solve the problem because the HTTPS session does not start. I opened **[[https://github.com/ygrek/mldonkey/issues/119|issue 119]]**.
  
 Fortunately you can download the **GeoIP.dat.gz** file using your browser and copy it into the **$HOME/.mldonkey/web_infos/** directory; at the starting of the program it will be uncompressed and used. Fortunately you can download the **GeoIP.dat.gz** file using your browser and copy it into the **$HOME/.mldonkey/web_infos/** directory; at the starting of the program it will be uncompressed and used.
 +
 +If you want the auto-update to work, you have to find (or host yourself) an **HTTP/1.0** server which provides that file.
  
 ===== Web References ===== ===== Web References =====
Line 164: Line 187:
   * **[[https://medium.com/coinmonks/a-brief-overview-of-kademlia-and-its-use-in-various-decentralized-platforms-da08a7f72b8f|A Brief Overview of Kademlia]]**   * **[[https://medium.com/coinmonks/a-brief-overview-of-kademlia-and-its-use-in-various-decentralized-platforms-da08a7f72b8f|A Brief Overview of Kademlia]]**
   * **[[https://mailfud.org/geoip-legacy/|Free updated GeoIP legacy databases]]**   * **[[https://mailfud.org/geoip-legacy/|Free updated GeoIP legacy databases]]**
 +  * **[[https://pages.di.unipi.it/ricci/A-performance-evaluation-of-the-Kad-protocol.pdf|A performance evaluation of the Kad protocol]]**
  
doc/appunti/software/mldonkey_3_2_1.1729583372.txt.gz · Last modified: 2024/10/22 09:49 by niccolo