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 
 
Mulus seems not to download the guarding.p2p
Goto page 1, 2  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    MLDonkey Forum Index -> Mulus - Archive
View previous topic :: View next topic  
Author Message
redleader
neophyte


Joined: 26 Jul 2005
Posts: 6
Location: Spain

PostPosted: Tue Jul 26, 2005 10:59 am    Post subject: Mulus seems not to download the guarding.p2p Reply with quote

Mulus seems to not download guarding.p2p.
Here is my web_infos section in downloads.ini:

Code:
 web_infos = [
  ("guarding.p2p", 1, "http://www.bluetack.co.uk/config/antip2p.txt");
  ("server.met", 1, "http://ocbMaurice.dyndns.org/pl/slist.pl?download");
  ("server.met", 1, "http://2z4u.de/jlmabnv1/min/server.met");
  ("server.met", 1, "http://www.esel-paradies.de/server/all/server.met");
  (ocl, 1, "http://members.lycos.co.uk/appbyhp2/FlockHelpApp/contact-files/contact.ocl");]


Note: If you manually download a guarding.p2p file in the mldonkey directory, mldonkey seems to load it correctly.

Im using Mulus 0.17.2 on a Debian Sarge distro (Linux kernel 2.6.12.3)
Back to top
View user's profile Send private message
Camarade_Tux
skilled


Joined: 14 Nov 2003
Posts: 340
Location: Paris

PostPosted: Wed Jul 27, 2005 10:36 am    Post subject: Reply with quote

Have you tried with this : http://dialspace.dial.pipex.com/town/pipexdsl/s/ashu56/bluetack/level1.txt ?

It seems the address is a dynamic link.


Increase the delay in web_infos; 1 is too low.




(now we can download zipped guarding.p2ps, don't forget to set a HIGH HIGH delay in web_infos, not 1, at least 180.)
Back to top
View user's profile Send private message
Knocker
professional


Joined: 05 Nov 2002
Posts: 612
Location: Germany

PostPosted: Wed Jul 27, 2005 2:39 pm    Post subject: Reply with quote

Camarade_Tux wrote:

(now we can download zipped guarding.p2ps,

Not mulus at the moment.

Quote:

don't forget to set a HIGH HIGH delay in web_infos, not 1, at least 180.)

You want to update only twice a year?
This numbers are in days, aren't they?
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Wed Jul 27, 2005 6:36 pm    Post subject: Reply with quote

Knocker wrote:
This numbers are in days, aren't they?

Thats right, but the description in downloads.ini is wrong since 2-5-22

In 2-5-22 the description of web_infos was changed from days to hours:
http://savannah.nongnu.org/cgi-bin/viewcvs/mldonkey/mldonkey/src/daemon/common/commonOptions.ml.diff?r1=1.40&r2=1.41

But commonWeb.ml was not changed:
http://savannah.nongnu.org/cgi-bin/viewcvs/mldonkey/mldonkey/src/daemon/common/commonWeb.ml?rev=1.5&content-type=text/vnd.viewcvs-markup
Code:
  List.iter (fun (kind, period, url) ->
      if !days mod period = 0 then load_url kind url
  ) !!CommonOptions.web_infos

Code:
let hourly_timer timer =
  incr CommonWeb.hours;
  if !CommonWeb.hours mod 24 = 0 then do_daily ();

I believe it is better to have the value in hours so users can update some
data more than once a day, also the defaults in downloads.ini are meant
to be in hours so it is better to change the binary than the ini files.
I will post a patch for changing the execution interval to hours soon.

EDIT: Applied to CVS
https://savannah.nongnu.org/patch/index.php?func=detailitem&item_id=4244
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
Camarade_Tux
skilled


Joined: 14 Nov 2003
Posts: 340
Location: Paris

PostPosted: Wed Jul 27, 2005 9:51 pm    Post subject: Reply with quote

A list with all little option differences between Mulus and 2.6 would be nice.


PS: I've never edited web_infos without editing downloads.ini Smile
Back to top
View user's profile Send private message
redleader
neophyte


Joined: 26 Jul 2005
Posts: 6
Location: Spain

PostPosted: Wed Jul 27, 2005 11:44 pm    Post subject: Reply with quote

Does the guarding.p2p in webinfos download for everyone else, or is it just not working me?
Back to top
View user's profile Send private message
Knocker
professional


Joined: 05 Nov 2002
Posts: 612
Location: Germany

PostPosted: Thu Jul 28, 2005 8:53 am    Post subject: Reply with quote

redleader wrote:
Does the guarding.p2p in webinfos download for everyone else, or is it just not working me?


I just tested it. It really seems that no guarding.p2p is loaded.

And didn't get it with 2.6.0 either.

Quote:

I believe it is better to have the value in hours so users can update some
data more than once a day,


And this is necessary?

These are the types to be downloaded:
Code:

            'server.met' for a server.met file containing ed2k server, or
            'comments.met' for a file of comments, or
            'guarding.p2p' for a blocklist file, or
            'ocl' for file in the ocl format containing overnet peers, or
            'contact.dat' for an contact.dat file containing overnet peers,

Which of these should be leeched more often than once a day?
I would be glad if you would revert this.

And yes, we definitly need an overview of differences between mldonkey and mulus.
Back to top
View user's profile Send private message
Camarade_Tux
skilled


Joined: 14 Nov 2003
Posts: 340
Location: Paris

PostPosted: Thu Jul 28, 2005 9:29 am    Post subject: Reply with quote

At the moment, my delays for web_infos are 96, 24, 96..... Confused
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Thu Jul 28, 2005 9:41 am    Post subject: Reply with quote

Camarade_Tux wrote:
At the moment, my delays for web_infos are 96, 24, 96..... Confused

And lots of users have these settings, so changing the core to handle these
values as hours is the right way to go.
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
Knocker
professional


Joined: 05 Nov 2002
Posts: 612
Location: Germany

PostPosted: Thu Jul 28, 2005 9:58 am    Post subject: Reply with quote

But how many users with 2.5.16 mldonkeys have an 1 or 2 and will load the URLs every hour if I change the option?

@redleader:
I found the error. The URL you are using gives an "301"-error for "permenantly moved". Could you try a different one?
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Thu Jul 28, 2005 9:58 am    Post subject: Reply with quote

Knocker wrote:
redleader wrote:
Does the guarding.p2p in webinfos download for everyone else, or is it just not working me?

I just tested it. It really seems that no guarding.p2p is loaded.
And didn't get it with 2.6.0 either.

I saw this weird behaviour either, try changing the order of the URLs in web_infos.
Default is this, no guarding.p2p is loaded:
Code:
 web_infos = [
  ("server.met", 24, "http://ocbmaurice.dyndns.org/pl/slist.pl/server.met?download/server-best.met");
  ("contact.dat", 168, "http://download.overnet.org/contact.dat");
  ("guarding.p2p", 96, "http://www.bluetack.co.uk/config/antip2p.txt");]

Put the guarding.p2p as first line and it gets loaded:
Quote:
2005/07/28 11:54:40 CommonWeb: Loading http://www.bluetack.co.uk/config/antip2p.txt
2005/07/28 11:54:40 [DNS]: Resolving [www.bluetack.co.uk] ...
2005/07/28 11:55:01 web_infos.file_kinds p2p f:\tmp\http_5e1eb3.txt
2005/07/28 11:55:01 [IPblock] loading f:\tmp\http_5e1eb3.txt
2005/07/28 11:55:01 [IPblock] creating block table from f:\tmp\http_5e1eb3.txt
2005/07/28 11:55:03 [IPblock] 77621 ranges loaded

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


Joined: 14 Nov 2003
Posts: 340
Location: Paris

PostPosted: Thu Jul 28, 2005 10:35 am    Post subject: Reply with quote

Why not a new value in downloads.ini

It could be current_version.

Then, I run Mulus, current_version is "2.6.0". Mulus detects this and converts hours to days. After startup is complete, Mulus changes current_version to "0.17.2"

This is just an example and it can also be done the other way round.




PS: during my different core upgrades (now 2.6.0), I've noticed ov and kad nodes store method changed. One day (don"t know when), they became obsolete_options. At the end of the servers.ini, I had all of them, taking more than 700Ko (each node used several lines).

With the current_version option, they could have been removed or converted (don't really care about them Wink )
Back to top
View user's profile Send private message
Kuro-Neko
user


Joined: 25 Dec 2002
Posts: 93

PostPosted: Thu Jul 28, 2005 4:00 pm    Post subject: Reply with quote

Camarade_Tux wrote:
Why not a new value in downloads.ini

It could be current_version.

Then, I run Mulus, current_version is "2.6.0". Mulus detects this and converts hours to days. After startup is complete, Mulus changes current_version to "0.17.2"

...

With the current_version option, they could have been removed or converted (don't really care about them Wink )


Such a mechanism already exists. The variable is named options_version.
It was used e.g. when converting 1.x to 2x options.
Back to top
View user's profile Send private message
Camarade_Tux
skilled


Joined: 14 Nov 2003
Posts: 340
Location: Paris

PostPosted: Thu Jul 28, 2005 4:29 pm    Post subject: Reply with quote

Always good to know. I don't think it has been used.

With 2.6.0 or 2.5.30.16 I have "options_version = 4".
Is it different on 2.5.16 ?
Back to top
View user's profile Send private message
redleader
neophyte


Joined: 26 Jul 2005
Posts: 6
Location: Spain

PostPosted: Fri Jul 29, 2005 4:20 pm    Post subject: Reply with quote

Knocker wrote:
redleader wrote:
Does the guarding.p2p in webinfos download for everyone else, or is it just not working me?


I just tested it. It really seems that no guarding.p2p is loaded.

And didn't get it with 2.6.0 either.
.


Thanks. I was wondondering if my computer is cursed or something Twisted Evil
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    MLDonkey Forum Index -> Mulus - Archive All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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