Edonkey 2000

Aus Mikiwiki
Version vom 16. Januar 2009, 14:31 Uhr von Michi (Diskussion | Beiträge) (New page: <b>Edonkey2000 / ed2k</b> (auch: eDonkey 2000) und <b>Overnet</b> sind Peer-to-Peer-Software von Jed McCaleb zum Dateientausch. leichzeitig wird unter Edonkey 2000 auch das mittels Edo...)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Edonkey2000 / ed2k (auch: eDonkey 2000) und Overnet sind Peer-to-Peer-Software von Jed McCaleb zum Dateientausch. leichzeitig wird unter Edonkey 2000 auch das mittels Edonkey 2000-Clients aufgebaute Netz zum Dateientausch bezeichnet.

Bei ed2k kommen sowohl das Peer-to-Peer-Prinzip als auch das Client-Server-Prinzip zum Einsatz. Die Software, die vom Benutzer zur Teilnahme am Netz installiert wird, wird trotzdem Client genannt.

Ein besonders bekannter ed2k-Client ist Mldonkey, der auch eine Anzahl weiterer Protokolle unterstützt.

Installation

1. Installation von ocaml

FAQ: http://caml.inria.fr/FAQ/index-eng.html

$ tar xzf ocaml-3.07pl2.tar.gz
$ cd ocaml-3.07
$ ./configure
$ export LC_ALL=C
$ make world
$ make opt
# umask 022
# checkinstall
# yast -i /usr/src/packages/RPMS/i386/ocaml-3.07-1.i386.rpm

2. Installation LablGTK

Download: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html

$ tar xzf lablgtk-1.2.6.tar.gz
$ cd lablgtk-1.2.6
$ make configure
$ make
$ make opt
# checkinstall

Falls checkinstall nicht funktioniert, dann geht's vielleicht so:

# mkdir /usr/local/lib/ocaml/lablgtk
# cd src
# cp -p *.mli /usr/local/lib/ocaml/lablgtk
# cp -p gaux.ml gpointer.ml glib.ml gdk.ml gdkEvent.ml gdkKeysyms.ml gtk.ml
gtkArgv.ml gtkSignal.ml gtkData.ml gtkBase.ml gtkPack.ml gtkButton.ml
gtkMenu.ml gtkMisc.ml gtkWindow.ml gtkTree.ml gtkList.ml gtkBin.ml gtkEdit.ml
gtkRange.ml gtkMain.ml gtkNew.ml gDraw.ml gObj.ml gMain.ml gData.ml
gContainer.ml gPack.ml gButton.ml gMenu.ml gMisc.ml gTree.ml gList.ml
gWindow.ml gBin.ml gEdit.ml gRange.ml gUtil.ml gToolbox.ml gtkInit.ml
gtkThread.ml gtkThInit.ml /usr/local/lib/ocaml/lablgtk
# cp -p *.h /usr/local/lib/ocaml/lablgtk
# checkinstall
# yast -i /usr/src/packages/RPMS/i386/lablgtk-1.2.6-1.i386.rpm

3. Installation MLdonkey

Download: http://ftp.berlios.de/pub/mldonkey/spiralvoice/
FAQ: http://www.nongnu.org/mldonkey/faq.html.de
FAQ: http://mldonkey.berlios.de/modules.php?name=Wiki&pagename=FAQs

$ tar xzf mldonkey-2.5.21.tar.gz
$ cd mldonkey-2.5.21
$ ./configure --enable-pthread --enable-directconnect --enable-soulseek
--enable-fasttrack --enable-opennap
$ make depend
$ make

This creates the following files:
- mldonkey (the daemon with edonkey/overnet support)
- mlnet (the daemon with all network support)
- mldonkey_gui (the interface)
 
The mldonkey/distrib/ directory includes:
- all documentation, especially Readme.txt and FAQ.html files for more
information
on how to use mldonkey
- default configuration files
- a list of servers for edonkey in the servers.ini file.

mldonkey should be executed in the in the distrib/ directory, where a
list of servers is present with other files. It will create other
configuration files in this directory.
 
mldonkey_gui has its own configuration file in the user directory
(~/.mldonkey_gui.ini).
 
It is recommended to move mldonkey, mldonkey_gui, mldonkey_gui2 and mlchat to
distrib/, then move this directory where you want to put your downloads, and
then remove mldonkey sources.

$ mv ml* distrib
$ mv distrib mldonkey
# mv mldonkey /opt
$ cd /opt/mldonkey
$ rmdir incoming

Auf dem Router müssen folgende ports für 10.0.5.4 geöffnet werden:
1214	Fasttrack
2234	Soulseek
4444	DirectConnect
4662	eDonkey2000
4666	eDonkey2000
6346	Gnutella
6393	Overnet
6699	OpenNap
6882	BitTorrent

Starten von mldonkey:

$ cd /opt/mldonkey
$ ./mlnet -daemon

Weitere Startmöglichkeiten:

Simple, displaying initial output, then silent in shell:
$ ./mlnet

Displaying continuous output:
$ ./mlnet -stdout true

As a daemon, instantly in the background:
$ mlnet -daemon
or
$ mlnet &> /dev/null &

Logging startup messages to file:
$ mlnet &> file &

Logging runtime messages to file:
$ mlnet -log_file file (or set log_file in configuration file)


Nach dem Starten von mldonkey kann mit telnet in die MLdonkey-Konsole
gewechselt werden:

$ telnet localhost 4000
> add_user admin donkeypass
> add_user mlnet donkeypass
> add_user mik mikpass
> auth mik mikpass
> set allowed_ips "127.0.0.1 10.0.5.2"
> q

Jetzt ist auch ein Einloggen in die Konsole von 10.0.5.2 aus möglich:

login: mik
$ telnet 10.0.5.4 4000

oder

http://10.0.5.4:4080
mik
mikpass

Verwendung

This package contains three files: 'mldonkey', 'mldonkey_gui' and servers.ini'.

'mldonkey' is the main program, a daemon which is used to download files. It 
takes no argument, and outputs some debugging messages on his terminal, so you
should not close it. So, to start your program in the background, you can use:

prompt> ./mldonkey > mldonkey.log &

'mldonkey' expects to find several .ini files in the directory where it is started.
You can use the file provided in this package, or your old one if you already used
'mldonkey' before. It contains a list of servers that were available when the 
release was done. You can edit 'downloads.ini' to modify its parameters before 
starting 'mldonkey', but you can also modify the parameters in the graphical user
interface 'mldonkey_gui'. 

'mldonkey_gui', the graphical user interface, can be started by:

prompt> ./mldonkey_gui &

 'mldonkey_gui' doesn't need to be started in the same directory as
'mldonkey'. Without parameters, it expects to find 'mldonkey' running on the
same computer on the default port. If you started 'mldonkey' on another
computer, you should specify the hostname (myhost.mydomain.mydot for example)
on the command line:

prompt> ./mldonkey_gui myhost.mydomain.mydot

 If you also modified the GUI port, you can also specify it (here 9999 for
example) on the command line:

prompt>  ./mldonkey_gui myhost.mydomain.mydot 9999

 You can also start the GUI, and modify these settings in the Options panel,
and then try to reconnect. This is anyway necessary if you have put a
password.

 Instead of using the GUI, you can also telnet to the daemon:

prompt> telnet localhost 4000

(on your local computer) or

prompt> telnet myhost.mydomain.mydot

(if the client was started on that host).

Using the config the standard core :
===================================
  Connect to mldonkey by telnet:

prompt> telnet localhost 4000

  Use the 'import' command with the donkey directory containing your old
config as parameter.

import '/.../donkey2000'

  All the files which were currently downloading will be moved to mldonkey
temp directory, and the server list will be imported too.

  If you only want to import the server.met file, use the 'servers' command:

servers '/.../donkey2000/server.met'

  Filenames containing special characters (such as spaces) should be put
inside ''.

*) The GUI/telnet/WEB can't connect to the core.
-----------------------------------------------

Since version 1.12, there is an option to control which computers can
connect to mldonkey: allowed_ips

By default, this option only allows your local computer to connect to the
core. You can change this either by editing the downloads.ini file, or, in
the console, using the

set allowed_ips '127.0.0.1 A.B.C.D ...'

command, where A.B.C.D ... are IP addresses separated by spaces.




*) How can I communicate with the client ?
------------------------------------------

There are three ways to communicate with the client. In all the cases, you
can run the client on one computer and control it from another computer.
In these examples, we suppose they both run on the local computer 'localhost':

  1) Use the GUI, called 'mldonkey_gui':

prompt> ./mldonkey_gui localhost

  2) Use the command-line client:

prompt> telnet localhost 4000

  3) Use a WEB browser:

prompt> lynx http://localhost:4080/

ed2k-Server

  • SEDG: ed2k://|server|38.119.96.15|4661|/
  • Elitemusic: [ed2k://|server|66.111.52.200|4224|/
  • PortalPirata: [ed2k://|server|66.90.75.103|4661|/
  • www.VIVELARED.com: [ed2k:|server|64.246.38.98|6667|/
  • Cyndi-eDonkey: [ed2k:|server|140.115.10.150|4661|/
  • Silent-Bob: [ed2k:|server|194.97.40.162|4242|/
  • www.eselshare.net: [ed2k:|server|62.67.57.115|6666|/
  • PETERTECH: [ed2k:|server|212.202.198.252|4661|/
  • ed2k://|server|195.245.244.243|4661|/
  • ed2k://|server|194.97.40.162|4242|/
  • ed2k://|server|195.69.196.58|4242|/
  • ed2k://|server|193.111.198.137|4242|/
  • ed2k://|server|207.44.222.54|4242|/
  • ed2k://|server|207.44.200.52|4242|/
  • ed2k://|server|193.111.198.139|4242|/
  • ed2k://|server|66.111.54.190|4224|/
  • ed2k://|server|66.227.96.151|4661|/
  • ed2k://|server|38.119.96.15|4661|/
  • ed2k://|server|38.119.96.17|3000|/

Serverlisten:

Weblinks