| View previous topic :: View next topic |
| Author |
Message |
Rotgier neophyte
Joined: 04 Nov 2005 Posts: 3 Location: Poland
|
Posted: Fri Nov 04, 2005 8:10 pm Post subject: Direct Connect support |
|
|
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 |
|
 |
pango Sage

Joined: 31 Oct 2002 Posts: 2436
|
Posted: Fri Nov 04, 2005 8:21 pm Post subject: |
|
|
| Moved to alternate network supports forum. |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3983 Location: Germany
|
Posted: Fri Jun 01, 2007 7:46 pm Post subject: |
|
|
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 |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3983 Location: Germany
|
|
| Back to top |
|
 |
iceman neophyte
Joined: 29 Nov 2006 Posts: 25 Location: Spain
|
Posted: Sat Jun 02, 2007 10:27 am Post subject: |
|
|
Very impressive that are good news for mldonkey community .
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 |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3983 Location: Germany
|
|
| Back to top |
|
 |
vezede neophyte
Joined: 28 Jul 2007 Posts: 9
|
Posted: Sat Jul 28, 2007 4:20 pm Post subject: Direct |
|
|
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 |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3983 Location: Germany
|
Posted: Sun Jul 29, 2007 11:16 am Post subject: Re: Direct |
|
|
| 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 |
|
 |
vezede neophyte
Joined: 28 Jul 2007 Posts: 9
|
Posted: Mon Jul 30, 2007 10:43 am Post subject: Re: Direct |
|
|
| 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.  |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3983 Location: Germany
|
Posted: Mon Jul 30, 2007 12:04 pm Post subject: |
|
|
For your paranoid chroot, have a look at the new options
create_dir_mode and create_file_mode, maybe they
are interesting for you  _________________ Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks |
|
| Back to top |
|
 |
ciberkids neophyte
Joined: 02 Aug 2007 Posts: 4
|
Posted: Thu Aug 02, 2007 9:12 pm Post subject: |
|
|
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 |
|
 |
ciberkids neophyte
Joined: 02 Aug 2007 Posts: 4
|
Posted: Mon Aug 06, 2007 10:13 am Post subject: |
|
|
| any can help me? |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3983 Location: Germany
|
Posted: Mon Aug 06, 2007 11:31 am Post subject: |
|
|
| 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 |
|
 |
ciberkids neophyte
Joined: 02 Aug 2007 Posts: 4
|
Posted: Mon Aug 06, 2007 6:56 pm Post subject: |
|
|
ok
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 |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3983 Location: Germany
|
Posted: Mon Aug 06, 2007 7:09 pm Post subject: |
|
|
| 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 |
|
 |
|