MLDonkey Forum Index
Homepage •  Bugs •  Tasks •  Patches •  SF.net Project Page •  ChangeLog •  German forum •  Links •  Wiki •  Downloads
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Direct Connect support
Goto page 1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    MLDonkey Forum Index -> Problems with MLDonkey Client (Bittorrent, DirectConnect, Gnutella,...)
View previous topic :: View next topic  
Author Message
Rotgier
neophyte


Joined: 04 Nov 2005
Posts: 3
Location: Poland

PostPosted: Fri Nov 04, 2005 8:10 pm    Post subject: Direct Connect support Reply with quote

Does anyone has tried to run Direct Connect support in mldonkey ?
If so ... how did he do it ? (using webinterface , telnet or other ) and
was in pretty much functional ?
Back to top
View user's profile Send private message
pango
Sage


Joined: 31 Oct 2002
Posts: 2436

PostPosted: Fri Nov 04, 2005 8:21 pm    Post subject: Reply with quote

Moved to alternate network supports forum.
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3983
Location: Germany

PostPosted: Fri Jun 01, 2007 7:46 pm    Post subject: Reply with quote

New DC++ code, done by Alffa, has been committed to CVS today
Quote:
2007/06/01
5905: Replace old DirectConnect module with new DC++ code (alffa)
- enable it with ./configure --enable-directconnect
- bzip2 support is manditory

_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3983
Location: Germany

PostPosted: Fri Jun 01, 2007 11:59 pm    Post subject: Reply with quote

Here is an IRC log which describes how to use the new DC++ module:
http://mldonkey.sourceforge.net/DirectConnect

I am personally not that interested in using DC++ so I would like to
urge all people interested to use the new code, update the Wiki docs
to a more readable layout and report results.
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
iceman
neophyte


Joined: 29 Nov 2006
Posts: 25
Location: Spain

PostPosted: Sat Jun 02, 2007 10:27 am    Post subject: Reply with quote

Very impressive that are good news for mldonkey community Smile.

I have tested it, and now I'm downloading a couple of files but I had some issues, mainly adding hubs, I used
Code:
dchublist load
Trying to load http://dchublist.com/hublist.config.bz2

but i was not able to get some hubs with these commands
Code:
dchublist show *
dchublist show a

The file was downloaded at web_infos directory so i decompressed manually and used dcn to add manually some of them, also, Is there a way to search files by user?

I also get that message from log
Code:
2007/06/02 13:50:28 [dcPro] Error in MyInfo parsing


Resuming downloads worked well although I had to reconnect manually to the hub i was downloading these files from. (some hubs don't allow downloads if you are not connected to them)

Also would be nice know how many data is shared in dc.

I hope this will be useful.
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3983
Location: Germany

PostPosted: Thu Jul 05, 2007 6:20 pm    Post subject: Reply with quote

This patch introduces support for DC++ hublists in downloads.ini, web_infos:
https://savannah.nongnu.org/patch/?6065

Please test.
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
vezede
neophyte


Joined: 28 Jul 2007
Posts: 9

PostPosted: Sat Jul 28, 2007 4:20 pm    Post subject: Direct Reply with quote

Just wanted to report a minor bug when enabling DC++.

Code:
[dMain] ---- enabling Direct Connect ----
error mkdir failed on direct_connect/filelists: Permission denied for directory direct_connect/filelists


The directory tree "direct_connect/filelists" is created 644 instead the needed 755.

workarround:
Code:
cd .mldonkey
mkdir -p direct_connect/filelists
chown "your_user.your_group" --recursive direct_connect
chmod 755 --recursive direct_connect

Regards.
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3983
Location: Germany

PostPosted: Sun Jul 29, 2007 11:16 am    Post subject: Re: Direct Reply with quote

vezede wrote:
Code:
error mkdir failed on direct_connect/filelists: Permission denied for directory direct_connect/filelists

The directory tree "direct_connect/filelists" is created 644 instead the needed 755.

I can not reproduce the bug in an empty directory using umask 022
Quote:
2007/07/29 13:12:15 [dMain] ---- enabling Direct Connect ----
2007/07/29 13:12:15 [dMain] using port 4444 (client_port TCP+UDP)
2007/07/29 13:12:15 [dMain] ---- enabling interfaces ----
...
drwxr-xr-x 3 root root 80 2007-07-29 13:12 direct_connect
...
.mldonkey/direct_connect:
drwxr-xr-x 2 root root 48 2007-07-29 13:12 filelists

_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
vezede
neophyte


Joined: 28 Jul 2007
Posts: 9

PostPosted: Mon Jul 30, 2007 10:43 am    Post subject: Re: Direct Reply with quote

spiralvoice wrote:
I can not reproduce the bug in an empty directory using umask 022


You are completely right. I had mldoneky running in a paranoid chrootsuid mode with inherited umask 0133. Reading the man page (long ago) thought that was only the file mask and not both file and directory mask. Was only my fault.

I'm very sorry, please accept my apologies. Embarassed
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3983
Location: Germany

PostPosted: Mon Jul 30, 2007 12:04 pm    Post subject: Reply with quote

For your paranoid chroot, have a look at the new options
create_dir_mode and create_file_mode, maybe they
are interesting for you Wink
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
ciberkids
neophyte


Joined: 02 Aug 2007
Posts: 4

PostPosted: Thu Aug 02, 2007 9:12 pm    Post subject: Reply with quote

hi to all, i'm in a troubles i have compiled the 2.9 version and i had enabled the direct connect network...

i've read the post but is was unusefull beacuse this is my problem

Code:
2007/08/02 22:57:05 [cWeb] request hublist (http://www.p2pitalia.com/dclist.php?list=it_hublist.config.bz2)
2007/08/02 22:57:07 [HTTPcl] Exception Not_found in loading downloaded file web_infos/it_hublist.config.bz2


actually there isn't the file in directory... but i don't known the reason....

the site is exact beacuse is i launch a wget the file is downloaded rightly....

can you help me?
Back to top
View user's profile Send private message
ciberkids
neophyte


Joined: 02 Aug 2007
Posts: 4

PostPosted: Mon Aug 06, 2007 10:13 am    Post subject: Reply with quote

any can help me?
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3983
Location: Germany

PostPosted: Mon Aug 06, 2007 11:31 am    Post subject: Reply with quote

ciberkids wrote:
hi to all, i'm in a troubles i have compiled the 2.9 version and i had enabled the direct connect network...

I can not reproduce the problem, please try to compile MLDonkey again.
Unpack the sourcecode into a clean dir and use ./configure without any
special options, does it work then?

Here it works:
Quote:
2007/08/06 13:33:33 [cWeb] request hublist (http://www.p2pitalia.com/dclist.php?list=it_hublist.config.bz2)
2007/08/06 13:33:44 [dcInt] loaded dc++ hublist, 305 entries

_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
ciberkids
neophyte


Joined: 02 Aug 2007
Posts: 4

PostPosted: Mon Aug 06, 2007 6:56 pm    Post subject: Reply with quote

ok
Code:

./configure

i have recompiled

and now works thanks a lot spiral voice!!!!!

for suggestion not try this configuration:

Code:

./configure --enable-directconnet --enable-gd


thanks for the answer spiralvoice you are the best:D


Last edited by ciberkids on Mon Aug 06, 2007 7:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3983
Location: Germany

PostPosted: Mon Aug 06, 2007 7:09 pm    Post subject: Reply with quote

ciberkids wrote:
now if i'll compile ml donkey without any arguments

Just re-compile the source _unpacked into a clean dir_ without changing
any ini files, DirectConnect and gd should work as expected.
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MLDonkey Forum Index -> Problems with MLDonkey Client (Bittorrent, DirectConnect, Gnutella,...) All times are GMT
Goto page 1, 2, 3, 4, 5, 6, 7  Next
Page 1 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Sourceforge.net Logo