Thread View: news.software.nntp
404 messages
404 total messages
Page 9 of 9
Started by Chris Morse
Sun, 22 Dec 2002 04:25
Page 9 of 9 • 404 total messages
Re: Sets and xBin (was: xBin (Power-Post 2003 - requesting input from authorities..))
Author: Curt Welch
Date: Fri, 07 Feb 2003 20:49
Date: Fri, 07 Feb 2003 20:49
26 lines
3407 bytes
3407 bytes
Rene <invalid@email.addr> wrote: > Well its not all too bad. The set-file at least contains xBin references, > so if I click on such a set file, the newsreader can tell me what the > full size of all the files are and show me the distribution of the bytes > over the various files. If I am supposedly clicking on a MP3-set and see > 20 files with filesizes around 700MB, then I can at least say "uh no, > thank you". But it is not foolproof. Yeah, and as I just realized in my other post, a newsreader could also sample headers from the articles (when you hit a "grap subjects" button) in the set and grab the subjects and show those to you as well before you decided to hit the "download entire set" button. If you were expecting an MP3 set and saw a bunch of 10GB DVDs instead, you know not to hit the download button. And even if the tool by default would grap all the headers before starting to download any of the files, and display those, if you watched it as it started to work, you would see it was downloading stuff you didn't want and you could just hit stop and figure out what was going on. So maybe, if the clients are just written with the correct features, the abuse problem for set files may be a non-problem??? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Sets and xBin
Author: Thomas
Date: Sat, 08 Feb 2003 09:21
Date: Sat, 08 Feb 2003 09:21
32 lines
3355 bytes
3355 bytes
Curt Welch wrote: > And maybe there are other ways to protect set files from that type of > abuse. What about this: 1 - the set file contains the (xbin) hashes of the set files. 2 - each posted file has a This-file-was-posted-as-part-of-sets: header somewhere. The poster would calculate all the hashes for the files, build the set file, hash the set file, and add the set file hash to each file. This makes it easier to find out which set file is valid: get all the headers for the files mentioned in the set file and see if they match. The download tool would grab IDs from the set file, retrieve some of the messages or message headers, and verify is they match up. This makes set files that get created later (i.e. someone wants to post a set file describing all the images with a blue background) suspect. But that need not be a problem; the majority of the set files is easily verified. It would be very hard to generate a fake set file that has the same hash as an existing one. It may be worth considering to hash only a limited amount of data in the set file, so it can be expanded somehow and still be correct (i.e. hash only title and file IDs, of leave an 'extra comments' part that is not hashed). Thomas
Re: Sets and xBin
Author: Curt Welch
Date: Wed, 12 Feb 2003 00:14
Date: Wed, 12 Feb 2003 00:14
67 lines
5168 bytes
5168 bytes
Thomas <zak@spam.invalid> wrote: > Curt Welch wrote: > > > And maybe there are other ways to protect set files from that type of > > abuse. > > What about this: > > 1 - the set file contains the (xbin) hashes of the set files. > 2 - each posted file has a This-file-was-posted-as-part-of-sets: header > somewhere. > > The poster would calculate all the hashes for the files, build the set > file, hash the set file, and add the set file hash to each file. > > This makes it easier to find out which set file is valid: get all the > headers for the files mentioned in the set file and see if they match. > > The download tool would grab IDs from the set file, retrieve some of the > messages or message headers, and verify is they match up. The problems happen if two different people want to post a "set" which includes some common files. They can post it of course, but them you have two sets of the same file in the group at the same time (a waste), and the download tool has to go around checking all possible articles to see if any match the "set" they are trying to download. > This makes set files that get created later (i.e. someone wants to post a > set file describing all the images with a blue background) suspect. But > that need not be a problem; the majority of the set files is easily > verified. I think that the download software can probably solve the security problem by offering a "get headers" function which you can use before downloading the entire set. The feature will show you the headers from the articles before you decide to download them all so you can verify that the "set" is made up of the type of things you expect it to be made up of. > It would be very hard to generate a fake set file that has the same hash > as an existing one. It may be worth considering to hash only a limited > amount of data in the set file, so it can be expanded somehow and still > be correct (i.e. hash only title and file IDs, of leave an 'extra > comments' part that is not hashed). Well, what we had talked about was doing nothing special with the set files, the hash would be the standard xBin hash for the file. That makes things very simple. If you wanted to define a unique hash for the "set" which would always identify the files in the set, and would always be the same for the same set of files, you could do that, but I don't see much point to it. You could do it by only hashing the xBin-IDs of the files, and to deal with the order problem, you could specify that they are sorted by their xBin-ID before being hashed. That would make the same set of files always produce the same "set hash". But I don't see much point in doing that. If the set file is different because it's got different comments, or a different order, then it is different even if it includes the same files so it should have a unique ID. The download software would be smart enough to understand that all the files are the same in two sets and good downlaod software would show you that somehow. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Page 9 of 9 • 404 total messages
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads