mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-users] local tests: unable to dl/up anything from/to an "offi


From: lmiga
Subject: [Mldonkey-users] local tests: unable to dl/up anything from/to an "offical" donkey client
Date: Mon, 16 Jun 2003 20:00:49 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Hi, 

At the beginning, I was trying to import my in progress files from official
donkey v0.48.1 to mldonkey (v2.5-3)
lastest official clients seem to use different temp file system. It appears
mldonkey is unable to import them.

So I tried to connect one mldonkey client to the donkey client thru a local
server:

2 linux machines are connected in a LAN. both are in the same ip (rfc1918)
subnet. (donkey2000 and mldonkey are not using the same ip nor the same port)
One is hosting the two clients, the other one is hosting the edonkey2000
server (v16.39 from www.edonkey2000)

The two clients correctly connect to the server, they have high ids.
Both clients can search and find each others files *but* none is able
to download those.

this how i compiled and installed mldonkey
$ ./configure --prefix=/temp/mldonkey --disable-gui
$ make install
$ cd /temp/mldonkey
$ ./bin/mldonkey
[CTRL-C] (so that the ini files can be created)
and then donkey.ini, donkey_expert.ini, download.ini and download_expert.ini
are edited.
There are the changes I made:

* donkey.ini:
port=44662
update_server_list = false (i don't want mldonkey to get a new server list)

* donkey_expert.ini:
log_clients_on_console = true
black_list = false (sure i don't want rfc1918 ips to be banned)
propagate_servers = false
min_left_servers = 1 (i guess it means that only source is enough to
                 download data from)

* download.ini:
client_name = TEST
enable_overnet = false
web_infos = []
max_hard_upload_rate = 0
max_hard_download_rate = 0

* download_expert.ini
verbosity = "mc ms net verb loc sp sm do unk"
redirector = "127.0.0.1:3999"
log_file = "./log.txt"

servers.ini only contains the local server address:port.

dd if=/dev/urandom of=incoming/TEST.TEST bs=1M count=50 is used
to create a test file in the incoming edonkey2000 client.


from edonkey2000 console:
> g
ClientID: 3170893834 (open)
Connected to: 10.0.0.5
   Users: 2    Files: 58


from mldonkey console(telnet):
> id
For 10.0.0.5:4661  --->   10.0.0.188
> vm
--- Connected to 1 servers on the Donkey network ---
[Donkey 1    ] 10.0.0.5:4661                                                 2  
    58 Connected


from dserver console:
> vc
Num     ID      Name
(1)     10.0.0.189      test_donkey
(2)     10.0.0.188      TEST



I can search for TEST and find it:
> s TEST
Query 3 Sent to 1
> vr
Result of search 3
Reinitialising download selectors
1 results (done)
[    1] Donkey TEST.TEST
            52428800 770DFDE60C642295DAF549F25DE43A98 1   0   0   TEST 
> d 1
download started
> vd
Downloaded 0/1 files
   [ Num ]        File     Percent  Downloaded    Size    Old  Rate  Priority  
[Donkey 2    ]  TEST.TEST      0.0           0  52428800  0:-   -     0      

Downloaded 0 files

I can wait for days, the download never starts.
Doing the same with an edonkey2000 client, the download starts immediatly.

here are some debug messages from mldonkey:
MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 43
MASTER: clean 1 connected 0 masters
MESSAGE TO SERVER:
QUERYContains[TEST]

server to client 5
server to client 94
server_to_client
Message from server:
FOUND:
FILE:
  MD4: 770DFDE60C642295DAF549F25DE43A98
  ip: 10.0.0.189
  port: 46622
  tags:   "filename" = "TEST.TEST"  "size" = 52428800  "format" = "TEST"  "# 
Sent" = 0  "\019" = 0  "availability" = 1




MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 73
MASTER: clean 1 connected 0 masters


MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 103
MASTER: clean 1 connected 0 masters

Server: Query Location of TEST.TESTMESSAGE TO SERVER:
QUERY LOCATION OF 770DFDE60C642295DAF549F25DE43A98

server to client 5
server to client 24
server_to_client
Message from server:
LOCATION OF 770DFDE60C642295DAF549F25DE43A98
   10.0.0.189 : 46622



Server: Received 1 sources for TEST.TESTserver to client 5
server to client 9
server_to_client
Message from server:
INFO:
users: 2 files: 58




MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 20
MASTER: clean 1 connected 0 masters

Server: Query Location of TEST.TESTMESSAGE TO SERVER:
QUERY LOCATION OF 770DFDE60C642295DAF549F25DE43A98



MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 50
MASTER: clean 1 connected 0 masters
server to client 5
server to client 24
server_to_client
Message from server:
LOCATION OF 770DFDE60C642295DAF549F25DE43A98
   10.0.0.189 : 46622



Server: Received 1 sources for TEST.TESTserver to client 5
server to client 9
server_to_client
Message from server:
INFO:
users: 2 files: 58




MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 30
MASTER: clean 1 connected 0 masters

Server: Query Location of TEST.TESTMESSAGE TO SERVER:
QUERY LOCATION OF 770DFDE60C642295DAF549F25DE43A98

server to client 5
server to client 24
server_to_client
Message from server:
LOCATION OF 770DFDE60C642295DAF549F25DE43A98
   10.0.0.189 : 46622



Server: Received 1 sources for TEST.TEST

MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 0
MASTER: clean 1 connected 0 masters


MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 30
MASTER: clean 1 connected 0 masters
server to client 5
server to client 9
server_to_client
Message from server:
INFO:
users: 2 files: 58



Server: Query Location of TEST.TESTMESSAGE TO SERVER:
QUERY LOCATION OF 770DFDE60C642295DAF549F25DE43A98

server to client 5
server to client 24
server_to_client
Message from server:
LOCATION OF 770DFDE60C642295DAF549F25DE43A98
   10.0.0.189 : 46622



Server: Received 1 sources for TEST.TEST

MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 0
MASTER: clean 1 connected 0 masters


MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 30
MASTER: clean 1 connected 0 masters
server to client 5
server to client 9
server_to_client
Message from server:
INFO:
users: 2 files: 58


PRINT SOCKETS: 11
FD 8:    19:49  Mon 16 Jun Socket donkey to server (nread: 348 nwritten: 165) 
[U true,D true] 
  rtimeout  1784/ 1800 read true & true write false & true (born 342.709814)
FD 14:    19:31  Mon 16 Jun Socket telnet connection (nread: 130 nwritten: 
11235) [U false,D false] 
  rtimeout 31535775/31536000 read true & true write false & true (born 
1411.924805)
FD 3:    19:30  Mon 16 Jun Socket udp_socket 
  rtimeout 31534500/31536000 read true & true write false & true (born 
1500.017694)
FD 4:    19:30  Mon 16 Jun Socket donkey client server 
  rtimeout 31535658/31536000 read true & true write false & true (born 
1499.976570)
FD 5:    19:30  Mon 16 Jun Socket udp_socket 
  rtimeout 31534502/31536000 read true & true write false & true (born 
1499.974721)
FD 6:    19:30  Mon 16 Jun Socket udp_socket 
  rtimeout 31534500/31536000 read true & true write false & true (born 
1499.974527)
FD 7:    19:30  Mon 16 Jun Socket overnet client server 
  rtimeout 31534500/31536000 read true & true write false & true (born 
1499.974309)
FD 9:    19:30  Mon 16 Jun Socket http server 
  rtimeout 31534500/31536000 read true & true write false & true (born 
1499.972458)
FD 10:    19:30  Mon 16 Jun Socket telnet server 
  rtimeout 31534588/31536000 read true & true write false & true (born 
1499.972231)
FD 11:    19:30  Mon 16 Jun Socket chat server 
  rtimeout 31534500/31536000 read true & true write false & true (born 
1499.971929)
FD 13:    19:30  Mon 16 Jun Socket gui server 
  rtimeout 31534500/31536000 read true & true write false & true (born 
1499.971079)


Server: Query Location of TEST.TESTMESSAGE TO SERVER:
QUERY LOCATION OF 770DFDE60C642295DAF549F25DE43A98

server to client 5
server to client 24
server_to_client
Message from server:
LOCATION OF 770DFDE60C642295DAF549F25DE43A98
   10.0.0.189 : 46622



Server: Received 1 sources for TEST.TEST

MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 0
MASTER: clean 1 connected 0 masters


MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 30
MASTER: clean 1 connected 0 masters
server to client 5
server to client 9
server_to_client
Message from server:
INFO:
users: 2 files: 58



Server: Query Location of TEST.TESTMESSAGE TO SERVER:
QUERY LOCATION OF 770DFDE60C642295DAF549F25DE43A98

server to client 5
server to client 24
server_to_client
Message from server:
LOCATION OF 770DFDE60C642295DAF549F25DE43A98
   10.0.0.189 : 46622



Server: Received 1 sources for TEST.TEST

MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 0
MASTER: clean 1 connected 0 masters


MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 30
MASTER: clean 1 connected 0 masters

Server: Query Location of TEST.TESTMESSAGE TO SERVER:
QUERY LOCATION OF 770DFDE60C642295DAF549F25DE43A98

server to client 5
server to client 24
server_to_client
Message from server:
LOCATION OF 770DFDE60C642295DAF549F25DE43A98
   10.0.0.189 : 46622



Server: Received 1 sources for TEST.TEST

MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 0
MASTER: clean 1 connected 0 masters
server to client 5
server to client 9
server_to_client
Message from server:
INFO:
users: 2 files: 58




MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 30
MASTER: clean 1 connected 0 masters

Server: Query Location of TEST.TESTMESSAGE TO SERVER:
QUERY LOCATION OF 770DFDE60C642295DAF549F25DE43A98

server to client 5
server to client 24
server_to_client
Message from server:
LOCATION OF 770DFDE60C642295DAF549F25DE43A98
   10.0.0.189 : 46622



Server: Received 1 sources for TEST.TEST

MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 0
MASTER: clean 1 connected 0 masters
server to client 5
server to client 9
server_to_client
Message from server:
INFO:
users: 2 files: 58




MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 30
MASTER: clean 1 connected 0 masters

Server: Query Location of TEST.TESTMESSAGE TO SERVER:
QUERY LOCATION OF 770DFDE60C642295DAF549F25DE43A98

server to client 5
server to client 24
server_to_client
Message from server:
LOCATION OF 770DFDE60C642295DAF549F25DE43A98
   10.0.0.189 : 46622



Server: Received 1 sources for TEST.TEST

MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 0
MASTER: clean 1 connected 0 masters

Server: Received 1 sources for TEST.TEST

MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 0
MASTER: clean 1 connected 0 masters
server to client 5
server to client 9
server_to_client
Message from server:
INFO:
users: 2 files: 58




MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 30
MASTER: clean 1 connected 0 masters

Server: Query Location of TEST.TESTMESSAGE TO SERVER:
QUERY LOCATION OF 770DFDE60C642295DAF549F25DE43A98

server to client 5
server to client 24
server_to_client
Message from server:
LOCATION OF 770DFDE60C642295DAF549F25DE43A98
   10.0.0.189 : 46622



Server: Received 1 sources for TEST.TEST

MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 0
MASTER: clean 1 connected 0 masters
server to client 5
server to client 9
server_to_client
Message from server:
INFO:
users: 2 files: 58




MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 30
MASTER: clean 1 connected 0 masters

Server: Query Location of TEST.TESTMESSAGE TO SERVER:
QUERY LOCATION OF 770DFDE60C642295DAF549F25DE43A98

server to client 5
server to client 24
server_to_client
Message from server:
LOCATION OF 770DFDE60C642295DAF549F25DE43A98
   10.0.0.189 : 46622



Server: Received 1 sources for TEST.TEST

MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 0
MASTER: clean 1 connected 0 masters
server to client 5
server to client 9
server_to_client
Message from server:
INFO:
users: 2 files: 58




MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 30
MASTER: clean 1 connected 0 masters
PRINT SOCKETS: 11
FD 8:    19:49  Mon 16 Jun Socket donkey to server (nread: 549 nwritten: 275) 
[U true,D true] 
  rtimeout  1764/ 1800 read true & true write false & true (born 642.719815)
FD 14:    19:31  Mon 16 Jun Socket telnet connection (nread: 138 nwritten: 
11698) [U false,D false] 
  rtimeout 31535962/31536000 read true & true write false & true (born 
1711.934806)
FD 3:    19:30  Mon 16 Jun Socket udp_socket 
  rtimeout 31534200/31536000 read true & true write false & true (born 
1800.027695)
FD 4:    19:30  Mon 16 Jun Socket donkey client server 
  rtimeout 31535358/31536000 read true & true write false & true (born 
1799.986571)
FD 5:    19:30  Mon 16 Jun Socket udp_socket 
  rtimeout 31534202/31536000 read true & true write false & true (born 
1799.984722)
FD 6:    19:30  Mon 16 Jun Socket udp_socket 
  rtimeout 31534200/31536000 read true & true write false & true (born 
1799.984528)
FD 7:    19:30  Mon 16 Jun Socket overnet client server 
  rtimeout 31534200/31536000 read true & true write false & true (born 
1799.984310)
FD 9:    19:30  Mon 16 Jun Socket http server 
  rtimeout 31534200/31536000 read true & true write false & true (born 
1799.982459)
FD 10:    19:30  Mon 16 Jun Socket telnet server 
  rtimeout 31534288/31536000 read true & true write false & true (born 
1799.982232)
FD 11:    19:30  Mon 16 Jun Socket chat server 
  rtimeout 31534200/31536000 read true & true write false & true (born 
1799.981930)
FD 13:    19:30  Mon 16 Jun Socket gui server 
  rtimeout 31534200/31536000 read true & true write false & true (born 
1799.981080)

SAVING SHARED FILES AND SOURCES
SAVED
Options correctly saved
REMOVE OLD SERVERS
Delay to detect black-listed servers: 0.00
server 1 last_conn 55786366
Delay to detect old servers: 0.00
Delay to finally remove servers: 0.00
REMOVE 0 OLD SERVERS DONE

Server: Query Location of TEST.TESTMESSAGE TO SERVER:
QUERY LOCATION OF 770DFDE60C642295DAF549F25DE43A98

server to client 5
server to client 24
server_to_client
Message from server:
LOCATION OF 770DFDE60C642295DAF549F25DE43A98
   10.0.0.189 : 46622



Server: Received 1 sources for TEST.TEST

MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 0
MASTER: clean 1 connected 0 masters


MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 30
MASTER: clean 1 connected 0 masters
server to client 5
server to client 9
server_to_client
Message from server:
INFO:
users: 2 files: 58



Server: Query Location of TEST.TESTMESSAGE TO SERVER:
QUERY LOCATION OF 770DFDE60C642295DAF549F25DE43A98

server to client 5
server to client 24
server_to_client
Message from server:
LOCATION OF 770DFDE60C642295DAF549F25DE43A98
   10.0.0.189 : 46622



Server: Received 1 sources for TEST.TEST

MASTER: nmaster 0

MASTER: EXAM 10.0.0.5 0
MASTER: clean 1 connected 0 masters

</log>

The mldonkey is a 2.4.21-ac1 i386 SMP HIGHMEM host.


-- 
L.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]