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 
 
Cycling the offered chunks of shared files....
Goto page 1, 2  Next
 
Post new topic   Reply to topic    MLDonkey Forum Index -> Development
View previous topic :: View next topic  
Author Message
Piece
neophyte


Joined: 05 Mar 2003
Posts: 4
Location: USA

PostPosted: Sun Aug 17, 2003 3:32 pm    Post subject: Cycling the offered chunks of shared files.... Reply with quote

Hi!

Actually that's two features. First, i'd like never to offer any shared file 100%. and 2nd i'd like to cycle the offered chunks for shared files, say every 6h. is there such a feature? is it on the to-do list?

piece
Back to top
View user's profile Send private message
kokamomi
user


Joined: 29 Oct 2002
Posts: 89

PostPosted: Sun Aug 17, 2003 9:53 pm    Post subject: Reply with quote

no, i hope not. (not that it would save you from the mpaa anyway)
Back to top
View user's profile Send private message
vnc
Site Admin


Joined: 07 Dec 2002
Posts: 455
Location: Behind your Mind

PostPosted: Sun Aug 17, 2003 10:09 pm    Post subject: Reply with quote

This kinda sounds like the emule-plus "kickstart" releaser feature.
Back to top
View user's profile Send private message
Piece
neophyte


Joined: 05 Mar 2003
Posts: 4
Location: USA

PostPosted: Mon Aug 18, 2003 8:35 am    Post subject: Reply with quote

i don't care about the mpaa but here (germany) a new law is about to be released which could get us into serious problems. but still leeching is more legal then offering. so obviously they will will first hunt all those who offer full sources. in that case i see 2 possibilities: either such a feature or it's getting to hot 4 me. don't understand this as a request to program that. i just want to know if such a feature has a chance to be included into the project. the work would be ours.

piece
Back to top
View user's profile Send private message
kokamomi
user


Joined: 29 Oct 2002
Posts: 89

PostPosted: Mon Aug 18, 2003 8:58 am    Post subject: Reply with quote

Piece wrote:
so obviously they will will first hunt all those who offer full sources.


personally, i don't think that enforcers care to complete the entire download of 2 gigs of the two towers from each and everyone, just to be able to rank out the ones who share the highest percentage. you're not even allowed to redistribute trailers you know... the donkey protocol is really efficient at giving you up, all they need to do is to see what md4:s they can get from you, that's pretty strong evidence.

and, yeah, i think that the mpaa are the guys that already have your ip and are just waiting for that new law of yours... you're probably fucked already, in wich case you need to do something really radical, join the raf or something Confused otherwise try GNUnet or freenet or something.
Back to top
View user's profile Send private message
Piece
neophyte


Joined: 05 Mar 2003
Posts: 4
Location: USA

PostPosted: Mon Aug 18, 2003 9:08 am    Post subject: Reply with quote

still the laws here are different from usa. and i don't know a single case where a american association (mpaa, riaa etc.) could benefit from a german law. besides that would means a lot work for a really small achievement.
.... still, that wasn't my question
Back to top
View user's profile Send private message
dvj
neophyte


Joined: 08 May 2003
Posts: 7
Location: Norway

PostPosted: Tue Aug 19, 2003 3:20 pm    Post subject: Reply with quote

this feauture whould be liked by many, so if it isnt to hard to code, it whould be nice to be implented.

Eavin thou you think its stupid kokamomi Rolling Eyes
Back to top
View user's profile Send private message Yahoo Messenger
suxxx
user


Joined: 05 Nov 2002
Posts: 170

PostPosted: Thu Sep 04, 2003 9:01 pm    Post subject: Reply with quote

i started working on something like that..
ist not much tested!

first version :

http://mitglied.lycos.de/esel2ksearch/mld/suxxx-randomchunksv1.patch

todo:
currently the patch hides on EVERY filechunkrequest some chunks from COMPLETE files.. the next version will update the list of hidden chunks only every x hours.

bye suxxx
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Thu Sep 04, 2003 11:59 pm    Post subject: Reply with quote

Hi,

your patch sounds very interesting. What I would like to see (but unable to code;-))
is a limitation of this mechanism to a certain amount of files, lets say only
for a special directory. A quick hack would be to define an option which
would look like this:

minimum amount of slots for a shared directory which gets random chunks

0 = disable
1 - ... = number of chunks, for example 3

List of shared directories in this example looks like this:

prio0 -> 1 slot - low priority
prio1 -> 2 slots - medium priority
prio2 -> 3 slots -> medium power release with random chunks
prio3 -> 5 slots -> maximum power release with random chunks

Greetings, spiralvoice
Back to top
View user's profile Send private message
suxxx
user


Joined: 05 Nov 2002
Posts: 170

PostPosted: Fri Sep 05, 2003 2:17 pm    Post subject: Reply with quote

after some tests, i think the patch is a bit buggy.. i will check it tonight again and fix the bugs (if i found some)

bye suxxx
Back to top
View user's profile Send private message
pango
Sage


Joined: 31 Oct 2002
Posts: 2436

PostPosted: Fri Sep 05, 2003 3:25 pm    Post subject: Reply with quote

[*] Array.length file.file_chunks = file.file_nchunks (by construction)
[*] The if ... then stop at the end of the statement (that is, just above the (*change by suxx*) comment, not before the next "in". You can try
Code:

let hide1 = if chunklistcount > 3 then Random.int (Array.length file.file_chunks) else -1 in
let hide2 = ...

[*] Be very careful about doing side effects on file.file_chunks elements. I'm almost sure you're actually losing the chunks you're trying to hide.

Resurrecting the "hide chunks being uploaded" patch to hide 10% of the visible chunks (if Random.int 10 = 0 then visible_chunks.(x) <- false) should work too.
Back to top
View user's profile Send private message
suxxx
user


Joined: 05 Nov 2002
Posts: 170

PostPosted: Fri Sep 05, 2003 4:53 pm    Post subject: Reply with quote

thanx pango Wink

here is my new version (some fixes done... looks good)


http://mitglied.lycos.de/esel2ksearch/mld/suxxx-randomchunksv2.patch


bye suxxx
Back to top
View user's profile Send private message
suxxx
user


Joined: 05 Nov 2002
Posts: 170

PostPosted: Fri Sep 05, 2003 6:46 pm    Post subject: Reply with quote

created a new version of my patch...

i done only simple tests.. it looks good Wink


download:
http://mitglied.lycos.de/esel2ksearch/mld/suxxx-randomchunksv3.patch


changes:
doing some bugfixes and the hidden chunks will only created every 5 houres (hope that works) you could configure the updatetime in teh settings..

please report your tests.. thanx;)

bye suxxx
Back to top
View user's profile Send private message
crashtron
neophyte


Joined: 12 Sep 2003
Posts: 2
Location: USA

PostPosted: Fri Sep 12, 2003 7:54 am    Post subject: Reply with quote

please upload the patch here: so that it gets the way in the cvs

http://savannah.nongnu.org/patch/?func=addpatch&group=mldonkey

thx
crashtron
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Thu Nov 06, 2003 1:52 pm    Post subject: Reply with quote

suxxx wrote:
created a new version of my patch...

Hi,

how can I disable that patch if I build a core supporting it?
set sxhidechunkupdate 0 ?
_________________
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 -> Development 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