Thread View: news.software.nntp
404 messages
404 total messages
Page 8 of 9
Started by Chris Morse
Sun, 22 Dec 2002 04:25
Page 8 of 9 • 404 total messages
Re: Power-Post 2003 - requesting input from authorities.. - TRY THIS
Author: Curt Welch
Date: Fri, 31 Jan 2003 00:16
Date: Fri, 31 Jan 2003 00:16
61 lines
4308 bytes
4308 bytes
archiver@i3w.com (Juergen Helbing) wrote: > curt@kcwc.com (Curt Welch) wrote: > > >If you think xBin isn't "good" for these problems, you don't understand > >what xBin is. > > I am having an idea of what xBin is, what it could be - and what mess > it could create. > > Some experience for you to think about: > > * yEnc creates (very simple) CRC values to find corruption. > Until today there are tools out there which create wrong CRCs. > * yEnc would permit to 'refetch' automatically 'corrupt' parts. > Even myself was not yet able to implement that feature properly > (into MyNews). > * Even today most newsreaders simply tell users that a "yEnc" > part is simply "corrupt" - and permits to store it on disk > - as it is. > * Even last year Forte released a version of Agent which creates > multiparts with an empty last part. (Nobody does it better than > Forte on Usenet). > * Even today there are posts on Usenet with MANY [/] (/) combinations > because the tools permit to create such nonsense > * Even today there are yEnc posts out there where the crc32 does > SOMETIMES not match the PAR file. > * Even today it seems sender's PCs are having problems to create > proper binary posts. Then the initially created index/sfv/par is > differently from the posts.... > > I am not talking about theory - but I am talking about reality. > Daily experince. I think most of that was self-inflicted by a poor design combined with an even worse spec combined with a lack of certification tools. But the basic idea in your comments that "usenet software sucks" is true. And xBin is more complex than yEnc so it will probably be easier for people to get it wrong. One thought I've had (other than the obvious of writting a good spec before getting people to use it), was to set up a tool which would monitor an xBin test group which would verify the format of every article posted to the group and post follow-up messages grading the quality of every post - or series of posts. It would not only tell you if the post was valid, but would also point out other things about the post such as the "SHOULDS" which were not done and maybe even other issues with the article that are not part of the spec. Anyone with access to usenet could then test the quality of their posting tool by simply posting to the test group. Even users that were having problems could send a test post to the group if they thought their tool was doing something wrong for a specific file. > Please understand me right: > I am _very_happy_ about your's and Thomas' effort for xBin. > There is just a lot of doubt that it can work. :) -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Power-Post 2003 - requesting input from authorities.. - TRY THIS
Author: Curt Welch
Date: Fri, 31 Jan 2003 00:32
Date: Fri, 31 Jan 2003 00:32
27 lines
2756 bytes
2756 bytes
archiver@i3w.com (Juergen Helbing) wrote: > David Magda <dmagda+usenet@ee.ryerson.ca> wrote: > > >Yes, this does waste bandwidth, but it's better then the current > >situation where: (1) bandwidth is wasted *and* (2) the integrity of > >the post can not be checked. The function of xBin is to solve (2). > > Checking the integrity of posts was introduced by yEnc 12 months > ago. Both methods can be faked. What yEnc introduced (optional use of CRC32), is not even close to the power of what xBin adds. xBin is a cryptograhicly strong proof that the data in a single article is in fact the bytes of the file which the article claims it to be. If the article says this is blocks 10 to 20 of file X, then by looking at that one aricle, you can prove that the data not only was transported without corruption, but that it is also the section of the file which the article says it is. And it _cannot_ be faked without breaking the strength of the underlying hash used. CRC32 on the other hand is not a cryptographic hash. It's trivial to break and provides no security against anything other than accidential corruption. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Curt Welch
Date: Fri, 31 Jan 2003 01:44
Date: Fri, 31 Jan 2003 01:44
23 lines
2321 bytes
2321 bytes
Jeremy <jeremy@exit109.com> wrote: > Curt Welch <curt@kcwc.com> wrote: > > > The thing that transforms it from "total bogus hack" into "oh, maybe > > it's not that bad", is the concept of _this_ meta-data being a valid > > Data-ID for the data segment (like I just spent a lot of time writing > > about a few messages back in this thread). But maybe you will never > > see it like that... > > Note that I wrote both of those posts before your reply appeared; you > seem to have taken this post of mine as though it was written after I > read your other followup, which wasn't the case. :) See my followup > to the other post for substantive content... I fell behind in these posts and started to read and reply to some new threads while ignoring the old threads so my entire context of who said what in which order is totally lost to me at this point. When what I write seems out of order, just assume it is and ignore it. :) -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Curt Welch
Date: Fri, 31 Jan 2003 03:26
Date: Fri, 31 Jan 2003 03:26
43 lines
3466 bytes
3466 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > [Juergen Helbing]: > > > > Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > > > > > no, the subject [is] irrelevant to an xBin implementation. but > > > by all means, it does no harm to specify a "best practice" for > > > Subject using today's multipart software. please write it, but > > > it should be kept separate from xBin. > > > > Just from my own experience. I did run into the same trap: I did > > also refuse a lot of "useful additions" to yEnc - with the same > > argument you're using now. > > > > I have learned my lesson. > > So I feel free to offer you my experience: > > okay, I can write a recommendation for Subject, but you probably won't > like it. I would advocate > > Subject: Descriptive text > > let's get rid of the old cruft, there is no need for it in the xBin > framework, the client can fetch the information from other headers. Over time, that might happen. And it would be fine when everyone in the group is using xBin download tools. You really do want every article in the multipart set to have the same subject and the subject should just be the human readable description of the file. It's what the human reads to decide if they want to download the file, not what the machine reads to figure out how to download it. But at first, you need to maintain backward compatibility with non xBin newsreaders so they all need to continue what they are already doing. Why I don't think specifying the subject is important is because the goal of xBin is to eliminate the need for putting any important data into the subject other than "descriptive text". -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Curt Welch
Date: Fri, 31 Jan 2003 03:49
Date: Fri, 31 Jan 2003 03:49
110 lines
7115 bytes
7115 bytes
archiver@i3w.com (Juergen Helbing) wrote: > curt@kcwc.com (Curt Welch) wrote: > > >Using the Message-ID for this meta-data opens one very real pandora's > >box. Everyone will then see it as "ok" to put whetever they want in > >there. In no time we could have the entire header crammed into > >Message-IDs and it will be damn hard to argue that "their" data doesn't > >belong there but "mine" does. It's a risk. It's not easy to tell if > >the reward is worth the risk. > > I believe you are wrong here: > > Adding _reliable_ multipart information into the msgid has nothing > todo with adding 'any other thing' to the msgid: > > EVERY standard header from XOVER can be fetched easily with XOVER > or XHDR. There is absolutely no need to place it into the msgid. There's no end to the number of entersting things people mioght suggest be placed into the Message-ID. Like the number of newsgroups listed on the Newsgroups: header, or the "message revision number" for periodic posts like FAQs, or the date, or number of lines in the article or the number of bytes in the article, or a flag to indicate it's a follow-up, or a flag to indicate it's a MIME artile. There's just no end to the things people might try to argue "belong" in the Message-ID once you stick something in there. > We are here adding _new_ information to an existing header. > But (after the comments from Jeremy) the question is > whether the MsgId is a good place for it. There's no question that it would be good. The advantage is obvious and very compeling. But there's also no question that it's bad. The question is how "bad" is it and is the "bad" strong enough to offset all the good? The meta-data I'm talking about craming into the Message-ID "belongs" in other headers. The reason we are talking about adding it into the message ID is because of the great advantage it offers to download tools in reducing the "header download" problem - especially for multi-host download tools and the huge dis-advantage you would create if you put it in it's proper place - a new - non-xover header. > I dont share his opinion that we 'redefine' the meaning of a header. > It is more to 'expand' its function in a compatible way. > If we even reject all proposals to 'expand' currently used > headers (but create new ones) then we can finally forget > all our projects: Because we need transitional compatibility > with XOVER. Right, that's the problem. If we define it "cleanly" no one will use it. Getting Usenet to convert to it will probably be close to impossible. > We discussed earlier last year that feedees could use this info. > Jeremy does not see this. Do you still see any advantage ? Sure. But it's just an added benifit that may never be put to good use for the "feed" probelm. The real reason is to make it easy for download tools to scan groups for articles they want by only using XHDR Message-ID. > >Maybe it would be ok to do that. But, with xBin, the subject is > >tranformed from "useful machine readable data", into "nothing but a user > >supplied comment", so why waste time trying to fix soemthing that has > >always been "broken" on multipart posts (subject format) when we have > >totaly solved it by puting the only machine-readable data the download > >tool needs in the Message-ID? > > Please see my other reply. > Having a properly formatted subject line is the _base_ for all > future extensions and improvements to Binary Usenet. I think the xBin route is the real base and with xBin we can throw out the silly use of hiding machine readable meta data in a user generated header. > >> I've tried to give recommendations for the "Subject:" header in the > >> yEnc spec. The next step _must_ be to specify it mandatory: > >> Whoever uses xBin _must_ follow the subject line specs made there. > > > >Well, xBin will eliminate the need to solve that problem. > > Sorry, but you are wrong here. > There are just a few innovative programmers here who are using > (and reading) many huge binary newsgroups every day. > And I am one of them. You aren't using one where all binaries are labled with xBin. xBin will completly transform how binary usenet works. What it will do is cause people to start posting all their xBin files into a group which nobody reads (yes, no one will be doing XOVER for those groups so they won't care what's in the subject). They will then post text messages in a discussion group to announce each of their file posts. It is the text posts that the people will read and use to decide if they want to fetch the associated file. While reading the text post, the newsreader will have a button labled "queue file". If the user wants the file, he just hits that button to add the file to the download list. That's all there is to it. > >But I suspect that once a download tool is available which takes > >advantage of the xBin Message-ID to find parts, the users will "screem" > >much louder than they ever did for yEnc to get everyone puting xBin > >labels on every multipart post on Usenet. > > It is necessary to find a "better" way to label xBin posts than within > the subject line. I am not up to date with the current xBin status. > But I hope that 'magic keywords' are used in a good place. The "magic keywords" are in the Message-ID. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Curt Welch
Date: Fri, 31 Jan 2003 03:57
Date: Fri, 31 Jan 2003 03:57
47 lines
3618 bytes
3618 bytes
archiver@i3w.com (Juergen Helbing) wrote: > Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > > >okay, I can write a recommendation for Subject, but you probably won't > >like it. I would advocate > > Subject: Descriptive text > >let's get rid of the old cruft, there is no need for it in the xBin > >framework, > > This is would be the perfect way to kill xBin: > > * 100% incompatible to all existing software Of course, that would keill xBin before it got off the ground which is why the first versions of xBin posting tools will use the same system they use now for the Subject. And the current downlaod tools will continue to use Subect to find multipart posts. xBin will just be a very strong, full file, CRC system at first on download. But that alone is very usful because it solves the problems of people breaking posts by posting fakes. Step two is when people write xBin-only based download tools which can only find and download xBin encoded articles. That's when it starts to get really interesting. > * Opening all doors widely for spammers and abusers > * Removing the two most important information > from Xover: Filename and Size. xBin uses the hash and it's size as the unique "filename" to identify all files. Both of those are in the Message-ID. The "user suggested" filename is where it always is, in the ybegin or begin lines or in the MIME Content-Type and Content-Distribution headers. > > the client can fetch the information from other headers. > > You want to read about my "Xover" project. > Fetching a few dozens (or even thousands of) headers > is close to impossible..... Which is why xBin is so cool. It prevents you from ever having to fetch _any_ headers other than a single bulk XHDR Message-ID dump of the newsgroup. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Power-Post 2003 - requesting input from authorities..
Author: Curt Welch
Date: Fri, 31 Jan 2003 04:00
Date: Fri, 31 Jan 2003 04:00
35 lines
3656 bytes
3656 bytes
Russ Allbery <rra@stanford.edu> wrote: > Rene <invalid@email.addr> writes: > > > On the other hand, should xBin take off and gets widely accepted, then > > servers will start to take advantage of it and process xBin postings > > differently. They will start treating them as files, not articles. > > So, given a sequence of postings that use xBin, what is the "file" that > they represent? The headers of the first message plus the concatenation > of all of the bodies? Just the concatenation of all of the bodies? The > decoded binary present in the messages with all ASCII text stripped, with > multiple binaries in a message not supported? > > I'm still not quite clear on that part. I think you have long since found the answers to your questions, but it points out an important problem here. If we try to transport the "file", without the headers, we have a problem of tracing responsibility for where the file came from. If the servers have the power one day to fragment and reassemble the file, how do we know where it came from? What happens when all the pieces came from different people on different servers? This is not a problem for what we are talking about doing with xBin today, but it's a very important problem when you talk about trying to create a new transport technique for xBin file posts. I haven't thought a lot about the problem but I think there are answers to these questions. Maybe it means you can fragment (duplicating headers as you do so - maybe adding a new header documenting that it was fragmented at host X), but you can never reassemble into one "article" unless the headers of the two fragments were identical. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Power-Post 2003 - requesting input from authorities.. - TRY THIS
Author: Curt Welch
Date: Fri, 31 Jan 2003 04:11
Date: Fri, 31 Jan 2003 04:11
44 lines
3922 bytes
3922 bytes
g <gypsy@dont.you.dare.spam> wrote: > Why is it a whole system needs to be implemented to "prevent" this kind > of abuse when it's so rare? I don't understand that. And it's > voluntary so wouldn't even cover everyone. It's totally not making > sense. I seriously don't understand why something as rare as this (only > once that I can find) needs to be "fixed" - because the "potential" is > there? Because of the glory of everything else it does. xBin is not about stoping abuse. It's about making all multipart binary transport and download work much much better than it does today. Actually, the "anti-abuse" hash-tree was added not to solve todays abuse problem, but it instead was added to stop the abuse problem that would show up after xBin was put into use. xBin started as a way of putting good machine readable file meta-data into the article headers so download tools could acuratelly find and identify all the parts of a file so that downloading could become completely automatic. And, because we were going to include a full-file hash to uniquely identify the file, this meant that if someone reposted the same file later, even in a different group with a different file name, your download tool which was still searching for that one missing article, would automatically spot the repost, and be able to figure out, and grab the correct articles to fill the gap in the download you did a month ago. It's the power to automate all this that's cool. But, if all this was automated, then it would be trivial to break it by posting a fake article - one which might be spoted by a human today (oh look, it's shorter than the others and the date is out of sequence), but not by the automated tool. So we needed a fool-proof way for the download tool to know it wasn't being tricked without human help. This is when we came up with the hash-tree which works so well to prevent abuse. It was added to make xBin work in the future beause it was going to be far more easilly fooled than people are today. This thread however was started because the abuse problem as it turns out is starting to be an issue today, before xBin. So people started to talk about the hash-tree system we had already found for solving the forged article problem. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Curt Welch
Date: Fri, 31 Jan 2003 04:38
Date: Fri, 31 Jan 2003 04:38
116 lines
6939 bytes
6939 bytes
archiver@i3w.com (Juergen Helbing) wrote: > Rene <invalid@email.addr> wrote: > > > xBin is perfectly compatible to all there is today. > > Today's status is a mess. xBin will clean it up. And that will allow a new mess to grow in other diretions. :) > >But > >a new tool, an xBin tool would be able to completely ignore the subject > >and still achieves its goal - because it would focus on the new header > >data only. > > Technically: Yes. > Usability: No. Don't confuse step1 one with step 2. Step 1 requires compatibility with the way things work today. You have to download full XOVER data from the group in order to match posts and for users to figure out what they want to get. In this phase, xBin will be used mostly as just a very strong, full file, crc check for multipart articles. Step two is when the tools start doing thing the "xBin way". With this, the tool only needs to download Message-IDs using XHDR. Everything else is ignored in the bulk binary groups". > If a users fetches any kind of overview from a group then he needs > TWO types of info: > > a) What's inside (do I want it) -> subject > b) Is it complete ? Here's how xBin starts to make everything so cool. It tells you everything you need to know about b), by only fetching message-ids. So then the question becomes, how do you do a)? There are lots of cool options there. The first simple option is to post part-0 posts in a descussion group away from the 10,000 part binary bulk post group. The part-0 post will have the same xBin Message-ID as the binary posts, but it will be labled as having no data in the article. And it will include the full file-hash in it's headers (X-Bin-Signature, or Content-SHA1-Hash: or whatever). We just read the part 0 posts in the discussion group which will be like any other non-binary text group. When we read an article about a post we want, we just tell the newsreader to get the file for us. The newsreader finds the file-hash in the headers and adds that file-hash to the list of articls you want to download and includes a copy of the Subject of that article as the "description" of what you are downloading. The download tools then has everything it needs to know what you want to download. It scans the data-dump groups message-ids, and from that one scan, it knows, and can report to you, how much of the file is there. You then decide if you want to download those parts are not. If it's not all there, you can still choose to download the parts, because your download toll will keep looking forever for reposts and notifiy you when they show up - toally automatically - even if they are reposted in a different group which you have configured your tool to scan. Then the other really cool option is to move the "announcements" completly out-of-band of usenet. There are already web sites which lists what has been posted to Usenet. They can now list the xBin file-id for the files. That file-id is all your download tool needs to know "what" you want to download. Once it has that, all it needs to do is XHDR Message-IDs to find all the articles it needs. It _NEVER_ needs to do a full XOVER of any group if you decide what you want to download buy using information from web sites. There are just so many completly cool things xBin will allow you to do once it's in place. Hell, you could scatter-post your files with each part being posted to a different group if you wanted to and the download tool would still find all the parts for you. It's really so so far advanced from the stupid Subject: based sutff in use today you can't even touch it. > If (b) requires fetching of hundreds (or ten thousands) of headers > then the method is unusable. > Some newsgroups have MORE than 10.000 new msgs per day. > > >(it can weed out first those xBin files it doesn't want and only look at > >the headers of those it is interested in). That's more overhead than is > >wished though, an "XHDR x-Bin-Signature low-high" would probably more or > >less the way it would be done. > > TWO pass checking ? > First see if the subjects are interesting ? > Then let's see if it all complete ? > > Oh boy, this would be even a step backwards :-( xBin is such a HUGE step forward it's not funny. You just don't see how cool it is yet. You will. > If xBin is not compatible to the existing methods [#/#] - (#/#) then > you dont need to spent the time to write and introduce it. It is. People are just giving you a hard time for the fun of it. > Either it makes things better for ALL users from the beginning. > Or it will fail. For sure. And it does. That's also why it's so cool. It's a technique that can make everything beter while still (for step 1) being compatible with what everyone is doing today. But once a good percentage of posts are labled with xBin, then people will start to convert to step two and that's when they will start to scream at anyone not puting xBin IDs on their multipart posts. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Curt Welch
Date: Fri, 31 Jan 2003 04:44
Date: Fri, 31 Jan 2003 04:44
22 lines
2839 bytes
2839 bytes
Andy C <none@none.invalid> wrote: > If all of a sudden lots of posts show up from xBin clients with no file > name in the subject (because after all, the xBin client doesn't *need* > one, and there is no requirement for it in any spec), people are going to > get pissed off at the xBin posters. Yeah, that won't happen. No one writing a posting tool will change the Subject to not include the normal (X/Y) stuff in the headers for this first phase of xBin deployment. No one would use it if it was written like that. And as xBin moves to phase two, the subject becomes meaningless to the true xBin tools, so there's no reason not to continue to use backward compatible Subjects: at first. If xBin truely transforms how Usenet works for large binary files, then over time the Subject might start to change and it might be an issue for people still using old-style tools, but I think by that point, the rest of "Usenet" will just tell them to upgrade or get lost. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Curt Welch
Date: Fri, 31 Jan 2003 05:02
Date: Fri, 31 Jan 2003 05:02
52 lines
4582 bytes
4582 bytes
Andy C <none@none.invalid> wrote: > Maybe I'm wishing for the moon here, but it seems that a structured > method of posting (such as what can be provided by xBin) might enable the > functionality of The!Checker and those other ad hoc tools to become an > integral part of a newsreader. Is it possible or practical to use xBin > to identify a series of related files? Yeah, we had talked over that idea in the orgnial discussions about this. What could be done is to add more meta-data into the Message-ID. You could add a unqiue "series ID", and X/Y values to show this was file X of Y in that series. So you end up with meta data saying this is part M of N of file Q which is file X of Y in series Z. However, we have since pretty much decided that would be going to far with this "meta data in the Message-ID" idea. You could put more meta data like that in other headers, but it doesn't help much doing that I don't think. I think the correct solution is for the people posting sets of files to move to a system where they post one file which lists the xBin File-IDS (which are really just a different type of hash value like MD5) for each file in the series. This would either be a replacement for the current cvs files, or just an new version which uses xBin ids instead of MD5s. Download tools could be created which know how to read this cvs file and add all the files in the series into the "download list". Picture archive tools could be changed to index all the current pictures by xBin ID (which is the hash and the file size combined), so they could know if you had already downloaded some of the pictures in the past or not already. And once the download tool know the xBin IDs of all the files you wanted, then it could find the aritcles and download them all automatcially as well as keep track for you how many you were missing, and for the next 5 years, keep an eye out for those missing files and if they are _every_ posted again in the future, your tool will see it and grab if for you. So yes, xBin will help the "set collectors" do their thing, but no, we don't see a need for building more information about "sets" into xBin. The correct answer is to build "set support" into the xBin download tools - which means you need to define a way for posting an article which lists a "set" of articles. And though I don't know a lot about how cvs files are used today, that's bascially all that's needed. You actaully don't even need something so formal, you can simply list xBin ids like Message-Ids in a plan text article and tell you download tools to get all of them. The advatnage to going to something more structured is that it would allow you to list file names and "set names" as well in the file which described the set. XML would work fine for that as well. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Kjetil Torgrim Homme
Date: Fri, 31 Jan 2003 14:08
Date: Fri, 31 Jan 2003 14:08
34 lines
3256 bytes
3256 bytes
[Curt Welch]: > > I think the correct solution is for the people posting sets of > files to move to a system where they post one file which lists the > xBin File-IDS (which are really just a different type of hash > value like MD5) for each file in the series. This would either be > a replacement for the current cvs files, or just an new version > which uses xBin ids instead of MD5s. Download tools could be > created which know how to read this cvs file and add all the files > in the series into the "download list". Picture archive tools > could be changed to index all the current pictures by xBin ID > (which is the hash and the file size combined), so they could know > if you had already downloaded some of the pictures in the past or > not already. I agree with this. I added a note to clarify in my xBin draft: file sets ========= + + sometimes a file can't be used meaningfully on its own, it belongs + to a larger set. xBin provides a mechanism for posting such sets. + this SHOULD NOT be used when individual files are useful on their + own, e.g., a set of images from a photo shoot. instead it is + suggested that the xBin root hashes are put in a CSV file or similar + describing the set of files. a xBin reader SHOULD make it easy to + add xBin root hashes to the "wanted list". file sets introduce two new parameters: -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: J.B. Moreno
Date: Fri, 31 Jan 2003 19:04
Date: Fri, 31 Jan 2003 19:04
23 lines
2674 bytes
2674 bytes
In article <20030131000233.119$Yb@newsreader.com>, Curt Welch <curt@kcwc.com> wrote: > What could be done is to add more meta-data into the Message-ID. You could > add a unqiue "series ID", and X/Y values to show this was file X of Y in > that series. So you end up with meta data saying this is part M of N of > file Q which is file X of Y in series Z. > > However, we have since pretty much decided that would be going to far with > this "meta data in the Message-ID" idea. You could put more meta data like > that in other headers, but it doesn't help much doing that I don't think. You got a message-id where this was disccused? Because while I don't think that the number of files in the set, or the number of the file *in* the set, is all that important (i.e. put it in other headers), a reasonably unique collection/series id sounds like a good idea to me -- if I was interested in collections, then I'd want an easy way to say "get this collection" and not have to specify each and every file in the collection. -- J.B. Moreno
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Kjetil Torgrim Homme
Date: Fri, 31 Jan 2003 19:35
Date: Fri, 31 Jan 2003 19:35
40 lines
3605 bytes
3605 bytes
[J.B. Moreno]: > > You got a message-id where this was disccused? navigating this thread is very painful :-) > Because while I don't think that the number of files in the set, > or the number of the file *in* the set, is all that important > (i.e. put it in other headers), a reasonably unique > collection/series id sounds like a good idea to me -- if I was > interested in collections, then I'd want an easy way to say "get > this collection" and not have to specify each and every file in > the collection. if you use the file set tagging in my xBin draft, you can do this. I'm not sure if it is a good idea, though, since it complicates readers looking for a single file in that set. the hash used in the Message-ID is constructed by hashing all the root hashes of the files concatenated in posting order (this makes the resulting hash unstable if the ordering changes, but it would also change if a file was added or removed, so I think it doesn't matter much). the Message-ID is also tagged with the file number in the set. a reader looking for an individual file will have to peek inside to see if that file is actually on its wanted list. only the first article with a given file number needs to be considered, and XHDR Content-SHA1-Tree provides enough information. (if the file number increases by more than one from one article to the next, the entire article must be downloaded. this only happens with true MIME documents, and it is unlikely a small file like that is on the wanted list, so this is not essential to implement.) we could bloat the Message-ID to include both the individual file's root hash and the set's root hash, but I'm not too fond of that idea. -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Curt Welch
Date: Fri, 31 Jan 2003 19:43
Date: Fri, 31 Jan 2003 19:43
84 lines
5889 bytes
5889 bytes
archiver@i3w.com (Juergen Helbing) wrote: > Rene <invalid@email.addr> wrote: > > >Generally speaking, xBin only has a notion of one single file, not a > >sequence of files nor any relation between two different files. > > A video consists today of many files. (.001 .002 .part07.rar > nfo ....) Your just talking about how one large file in fact is split into many smaller files to make it resonable to post right? There aren't mutliple files encoded in all those rar files for a single video right? xBin will allow us to move to a system where splitting large files is no longer needed. At first, it will be done the same way for compatibility, but over time, when enough people are using xBin aware download tools, there will be no reason to split up huge files anymore. > A CD-album is also some mp3 tracks, an m3u file, and nfo file, > sometimes some JPG files. They all belong together and are one > "mixed+multipart" type. > If it is not complete, then it is worthless..... Well, that's not true. A single track from an album is of interest to people as a stand-alone file. For this reason, it's logical to post it as a single file to make it easy to access. Same thing holds for picture series. In that case, it would be good to support the idea of file "sets". But right now, I'm thinking that is best done by the download tool and not with xBin directly. The idea would be to post one file which defined the "set", and then post all the files from the set each as a separte xBin post. The download tool would then use the xBin file-ids to find and download all the files in the set. How the download status of the "set" was presented to the user is mostly an issue of how the download tool works and not part of the lower level xBin standard. It might be wise to create a standard format for these "set" files that all xBin download tools could be encouraged to support. But I don't see any need at this point to change anything in the lower level single-file concepts that xBin is currently based on. When you have a set of files to post that truely do require each other and have very little value as stand-alone files, then you sould probably zip or tar the files into one large file and then post the tar file instead of trying to post something like a source distribution as an xBin file set. A lot of the choice will also depend on the size of the files you are posting. If the individual files are all so large than they will each be posted in many parts already, then it might be fine to go ahead and post each separately. If you have a large number of small files (like source code), then it would be a waste to post them each as in their own article. > You can say that it is not the job of xBin to deal with this kind > "completeness", but then it covers just a small part of the > problem. It's not that the problem is being ignored. It's more that the solution doesn't seem to fit here. i.e., the multiple file set problem seems like it needs to be solved at a higher level. CDC yeras ago used to support the concept of files within files. It happned because they made the newer "disk files" work like the old tape drives which up to that time was what all the data was stored on. They put end of file markers in the data so that one large disk file could in fact hold multiple files concatentated together. To access the files, you had to do things like tell it to rewind and then skip forward 3 files to position it to the data you wanted. All that crap was never used again on other disk systems because it was just a bad solution. We now use directories and CD commands to set the "file context" for our programs. xBin defines files, not directories or sets of files. I think the "directory" problem needs to be solved at the next higher level, in which case, the standard to define how that works will be separate from xBin but will take advantage of the power that xBin creates by using the xBIn file-ids to identify each file in the set. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Power-Post 2003 - requesting input from authorities..
Author: Curt Welch
Date: Fri, 31 Jan 2003 19:50
Date: Fri, 31 Jan 2003 19:50
44 lines
3141 bytes
3141 bytes
Russ Allbery <rra@stanford.edu> wrote: > Klaas <spamhole@klaas.ca> writes: > > After careful consideration, Kjetil Torgrim Homme muttered: > > >> 2) add Content-SHA1-Tree to verify fragments > > > Why not make that Content-Hash-Tree and specify the hash as a > > parameter? Just in case SHA1 is determined to be cryptologically > > unsound in the future. (I also think that Content-MD5 should be > > Content-Hash, for similar reasons). > > If you call it Content-Hash-Tree, you need to add some identifier to the > hashes saying what algorithm they're using, whereas if you put the > algorithm in the header name, you can just introduce a new header when > you want to change algorithms. > > The latter can be better for backward compatibility under some > circumstances, although I'd guess that it's usually a wash. You need to support both if you were to make a change so then it becomes an issue of doing this: Content-SHA1-Tree: xxxxx Content-Tiger-Tree: yyyyy vs: Content-Hash-Tree: SHA1:xxxx Tiger:yyyy So if the hash algorithm isn't implicit in the header, then you not only need to add it to the content, but you also need the ability to include multiple hash values in the same header. But since the second value isn't defined yet, that might be a problem - will the syntax of the new hash fit well in the syntax of the old header? A header is already a label for the data. Why not use it like that? Why add sub-headers when they are not needed? I think the first approach is the obvious correct one. Define one header, with one meaning. If you need to change to a new hash in the future, add a new header. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Kjetil Torgrim Homme
Date: Fri, 31 Jan 2003 20:10
Date: Fri, 31 Jan 2003 20:10
24 lines
3009 bytes
3009 bytes
[Curt Welch]: > > xBin defines files, not directories or sets of files. I think the > "directory" problem needs to be solved at the next higher level, > in which case, the standard to define how that works will be > separate from xBin but will take advantage of the power that xBin > creates by using the xBIn file-ids to identify each file in the > set. the rationale for adding the file sets in my draft was to support complex MIME documents. an alternative approach would be to define a new external-body method referencing an xBin file, but that seems fragile, and of course nothing supports it. xBin file sets could be used with existing message/partial-aware clients. uhm, actually it can't, since the Content-Types clash (message/partial and then message/fragment for the offset information). simply putting the offset and total-size information in the Content-SHA1-Tree would make life a lot easier, but it isn't as clean (could lead to information in triplicate). I'll have to think more about that case. -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Sets and xBin (was: xBin (Power-Post 2003 - requesting input from authorities..))
Author: J.B. Moreno
Date: Fri, 31 Jan 2003 22:24
Date: Fri, 31 Jan 2003 22:24
70 lines
5201 bytes
5201 bytes
In article <1rwuklt8nb.fsf@vingodur.ifi.uio.no>, Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > [J.B. Moreno]: > > > > You got a message-id where this was disccused? > > navigating this thread is very painful :-) Yes, I've changed the Subject, perhaps that will help. > > Because while I don't think that the number of files in the set, > > or the number of the file *in* the set, is all that important > > (i.e. put it in other headers), a reasonably unique > > collection/series id sounds like a good idea to me -- if I was > > interested in collections, then I'd want an easy way to say "get > > this collection" and not have to specify each and every file in > > the collection. > > if you use the file set tagging in my xBin draft, you can do this. > I'm not sure if it is a good idea, though, since it complicates > readers looking for a single file in that set. I don't see why (of course I don't have your draft handy either to check first). Set tagging should simply be an optional filed in the xBin structure -- and not a particularly large one IMO. > the hash used in the Message-ID is constructed by hashing all the root > hashes of the files concatenated in posting order (this makes the > resulting hash unstable if the ordering changes, but it would also > change if a file was added or removed, so I think it doesn't matter > much). the Message-ID is also tagged with the file number in the set. > a reader looking for an individual file will have to peek inside to > see if that file is actually on its wanted list. only the first > article with a given file number needs to be considered, and XHDR > Content-SHA1-Tree provides enough information. I think I need to find and read your draft, because while the above makes sense on a sentence level, it doesn't as a paragraph... -snip- > we could bloat the Message-ID to include both the individual file's > root hash and the set's root hash, but I'm not too fond of that idea. Neither am I -- in fact I don't think that hashing the set at all makes sense. If you do that then you're basically treating it as one huge file, which it isn't. Use a much smaller ID, and if someone lies about it, then so what? And a set ID should be temporary and reusable, it should be a way of speeding things up, nothing more -- naturally the set id would be computer generated in some way, but if I post a set of vacation pictures one week with a set ID of JVP and Jane posts a set of *her* vacation pictures the next with the same ID, then no harm done (my pictures having expired off the server). More realistically, if I post it this week in a group and she posts it next year in a different group, then it makes no difference at all. If there is a desire to avoid fakes or misktakes, then put the additional information required to prevent them in some other header, don't try to cram it into Message-ID. For instance, there's really no reason why it couldn't be a simple counter -- sets are normally posted by one person, comparing the From address and the set id/counter tells you all you really need to know 99.99% of the time; repost by others of a subset could be handled by hand. That's not what I'd recommend, I'd recommend using 2 or 3 characters as the id and then use the From as a cross check and ask the users input when they didn't match, but a counter would work sufficiently well to be worthwhile. -- J.B. Moreno
Re: Sets and xBin (was: xBin (Power-Post 2003 - requesting input from authorities..))
Author: Curt Welch
Date: Sat, 01 Feb 2003 03:54
Date: Sat, 01 Feb 2003 03:54
103 lines
6786 bytes
6786 bytes
"J.B. Moreno" <planb@newsreaders.com> wrote: > In article <1rwuklt8nb.fsf@vingodur.ifi.uio.no>, > Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > > > [J.B. Moreno]: > > > > > > You got a message-id where this was disccused? > > > > navigating this thread is very painful :-) > > Yes, I've changed the Subject, perhaps that will help. I'm still 150 messages behind and trying to catch up. Of course, I'm now reading and replying out of order, so I'm sure this is only adding more confusion to the discussion. > > > Because while I don't think that the number of files in the set, > > > or the number of the file *in* the set, is all that important > > > (i.e. put it in other headers), a reasonably unique > > > collection/series id sounds like a good idea to me -- if I was > > > interested in collections, then I'd want an easy way to say "get > > > this collection" and not have to specify each and every file in > > > the collection. > > > > if you use the file set tagging in my xBin draft, you can do this. > > I'm not sure if it is a good idea, though, since it complicates > > readers looking for a single file in that set. > > I don't see why (of course I don't have your draft handy either to > check first). Set tagging should simply be an optional filed in the > xBin structure -- and not a particularly large one IMO. I haven't read the draft yet, but I know it's there in my list of 150 unread messages... However, I think there's a very simple solution to this that doesn't require file-set-taging at all. Anyone that wants to post a file-set must post a file which defines the set. That file becomes the "directory" of the set. There's no reason at all to mark the files as being part of the set. The xBin file-id of the index file is the "set-id". And because the file containes the xBin file-ids (i.e. their hash and length) of every file in the set, and the xBin file-id of this file is a hash of that file, the xBin id of the index file is a cryptographicly strong indentifier of all the data in all the files of the set. If you want to tell people about your "set", all you have to do is give them the xBin ID if the index file. It's impossible for anyone to fake or corrupt the set because this index file ID is a strong hash of all the data in all the files in the set. And, doing it this way (instead of putting the set information into each file), allows the same file (posted once) to be used in multiple sets with no problems. If you put anything in the file that says it's part of set X, you break the ability to do this. What we might want to do is add one marker in the xBin ID that defines the file to be a xbin-file-set file. (this is a very limitied and specialized Content-Type marker). We would then be forced to come up with a formal defintion of the format of this file (just like you are forced to define the format of a directory when you create a file system). The other advantage of this technique is that you could include other file-set files in your list. This alows you to create an arbitrary number of sets of sets of sets - a full directory hierarchy system (like putting tar files inside of tar files) and have the download tool automatically "know" by looking at each id that's it's the ide for a set and not just the ID of a leaf file. > > the hash used in the Message-ID is constructed by hashing all the root > > hashes of the files concatenated in posting order (this makes the > > resulting hash unstable if the ordering changes, but it would also > > change if a file was added or removed, so I think it doesn't matter > > much). the Message-ID is also tagged with the file number in the set. > > a reader looking for an individual file will have to peek inside to > > see if that file is actually on its wanted list. only the first > > article with a given file number needs to be considered, and XHDR > > Content-SHA1-Tree provides enough information. > > I think I need to find and read your draft, because while the above > makes sense on a sentence level, it doesn't as a paragraph... > > -snip- > > we could bloat the Message-ID to include both the individual file's > > root hash and the set's root hash, but I'm not too fond of that idea. > > Neither am I -- in fact I don't think that hashing the set at all makes > sense. If you do that then you're basically treating it as one huge > file, which it isn't. Use a much smaller ID, and if someone lies about > it, then so what? Because if you do it my way, you get both. You get a cryptographic secure system which people can't fake to define "sets" and you don't need to add anything else to the Message-ID or the articles in the set. You just put all the set meta-data into another file. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Power-Post 2003 - requesting input from authorities..
Author: Curt Welch
Date: Sat, 01 Feb 2003 06:20
Date: Sat, 01 Feb 2003 06:20
34 lines
2976 bytes
2976 bytes
Russ Allbery <rra@stanford.edu> wrote: > Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes: > > [Klaas]: > > >> Why not make that Content-Hash-Tree and specify the hash as a > >> parameter? Just in case SHA1 is determined to be cryptologically > >> unsound in the future. (I also think that Content-MD5 should be > >> Content-Hash, for similar reasons). > > > then we'd need to ask IANA to keep a registry of known hash algorithms. > > and anyway, we really _don't_ want to encourage the use of different > > hashing algorithms. there is little reason to use anything but SHA1. > > In defense of Klaas's position, I'll mention that that's what people used > to say about MD5. Hash algorithms get used for a lot of applications where any collision breakes the application. For those applications, people are moving away from MD5 becuse they fear it may not be "strong enough". Our application is not one of those. Those need a very high cost-of-breaking because they are used to protect data which may have a very high value. Our application is very low by comparison. If the hash can be broken for $1000 of CPU time, who cares? How much of a problem is it going to be for Usenet if the only people who can disrupt a post are those who are willing to spend $1000 to do so? We could use MD5 and it would no doubt continue to provide enough protection for our application to allow it to be used for more than 50 years. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Power-Post 2003 - requesting input from authorities..
Author: Curt Welch
Date: Sat, 01 Feb 2003 06:31
Date: Sat, 01 Feb 2003 06:31
13 lines
2209 bytes
2209 bytes
archiver@i3w.com (Juergen Helbing) wrote: > If xBin MsgIds are treated especially (faster, more reliably) by the > main hosts and relays then it will be used widely instantly. That's an interesting dynamic that could develop which I had not thought about. If admins start to see it as important that all binary posts are correctely labled with xBin ids, they would have a lot of power to do things to encourage posters to use xBin. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Power-Post 2003 - requesting input from authorities..
Author: Curt Welch
Date: Sat, 01 Feb 2003 06:46
Date: Sat, 01 Feb 2003 06:46
23 lines
2627 bytes
2627 bytes
"Dr.Ruud" <rvtol@isolution.nl> wrote: > Curt Welch skribis: > > > On Usenet, you don't have that option. There are no other systems that > > allow you to distribute large files anonymously to a wide audence for > > $10 per month. > > Won't this also lead to p2p-by-usenet? Suppose that > persons-with-big-files create personal (or otherwise topical) new > newsgroups just to publish their files, or to exchange or even trade > them? (then making money over your systems) Those of us that sell access to usenet charge rates that allows us to cover our costs. No matter how usenet is used, we will end up charing what it costs us (though that don't charge correctly will go out of business). If people do things to increase those costs for us, we will raise our rates. Once it gets too expensive to use usenet like that, they will stop doing it. It all balances out in the end. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Curt Welch
Date: Sat, 01 Feb 2003 17:01
Date: Sat, 01 Feb 2003 17:01
62 lines
4634 bytes
4634 bytes
Rene <invalid@email.addr> wrote: > Collections sort of builds upon xBin - so I could say its not xBin's > problem. However I do see some benefits if we'd just define such a > collection within xBin. Basically we could define a new file extension > like sfv or par. xbc - XBin Collection for example. It could be something > like this: > > [start] > string - file magic number "xbc v1" > int - number of entries > (num entries times)* > int - length of filename > string - filename > 20*byte - xBin SHA-1 hash for this file > [end] > > Maybe adding some space for comments, additional data. I'm still reading and following-up to these articles out of order - so please excuse the confusion... Yes, the above I think is the right approach to the collection problem. If you post a collection file then it's xbin-id becomes a secure hash of all the data in the entire collection. It's not a "unique" hash for just the data but it is a unique hash for the data and the collection file combined. Without breaking the underlying hash, there is no way to fake the "collection". There are reasons to include a standard for the format of the collection file in the xBin spec, but finding a good format for that file I think is going to require a ton of debate. You want it to have enough "power" to replace current collection files like cvs and par (and maybe zip/tar) yet have enough flexibility to be drop-in replacements for the them as well (not requiring a lot of additional information the current applications don't know about files). I was thinking an XML based format might be good. But I don't know much about XML other than it's general power so I have a lot to learn there. But once you start with a general format, you then had to debate the fine points of all the data fields and what is or is not required and how things can be extended or expanded later. Big job. With xBin, even without a collection file standard, any application can post any format collection file and get all the same security even if we don't add it to the spec. So the job of creating a collection file standard can I believe be mostly put off until after the xBin basic stuff gets nailed down. HOwever, the one thing I've mentioned in another post about this is that there would be a good reason to add on more flag bit to the xBin-ID to specify whether the file was a collection file (i.e. like a directory in a file system), or a plain data file. This bit would not be used to mark any type of collection file, it would only be used to mark xBin standard format collection files. We might include this marker in the xBin id standard for now, but still put off the spec of the collection file format for later. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Andy C
Date: Sat, 01 Feb 2003 18:36
Date: Sat, 01 Feb 2003 18:36
59 lines
3753 bytes
3753 bytes
In <20030201120106.036$pW@newsreader.com>, curt@kcwc.com (Curt Welch) wrote: >[...] >There are reasons to include a standard for the format of the collection >file in the xBin spec, but finding a good format for that file I think is >going to require a ton of debate. >[...] Yes, I agree. The final result will never be perfect, but even a very good solution would be far better than the ad hoc approaches that are used now. I know some people who are "collection freaks" and can gather some input from them. >[...] >I was thinking an XML based format might be good. But I don't know much >about XML other than it's general power so I have a lot to learn there. >[...] Kjetil has suggested this also. XML has some *huge* advantages for this application, including: 1.) Ideal for representing hierarchical information 2.) Many freeware parsers already available in many programming languages for many operating systems 3.) Text-based 4.) The concept of a "well formed" XML document is already defined in the XML spec (http://www.w3.org/TR/2000/REC-xml-20001006). This leaves "only" :-) the contents of the collection file to be determined. > >But once you start with a general format, you then had to debate the fine >points of all the data fields and what is or is not required and how things >can be extended or expanded later. Big job. > Yes. Potentially infinite. >[...] >HOwever, the one thing I've mentioned in another post about this is that >there would be a good reason to add on more flag bit to the xBin-ID to >specify whether the file was a collection file (i.e. like a directory in a >file system), or a plain data file. This bit would not be used to mark any >type of collection file, it would only be used to mark xBin standard format >collection files. We might include this marker in the xBin id standard for >now, but still put off the spec of the collection file format for later. Having the newsreader "know" that a given post is a collection file would enable some totally cool enhancements to binary newsreaders, that's for sure - but it's unclear to me at present what form these would take. Andy C
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Curt Welch
Date: Sat, 01 Feb 2003 19:47
Date: Sat, 01 Feb 2003 19:47
301 lines
16315 bytes
16315 bytes
Once again, I'm following up to old articles so excuse me if my points are redundant.... archiver@i3w.com (Juergen Helbing) wrote: > Rene <invalid@email.addr> wrote: > > >> A video consists today of many files. (.001 .002 .part07.rar > >> nfo ....) > > > >Yes, but the splitting is obsoleted in xBin. > > Sending a 780 MB video as one file requires > more than 1500 parts each 500 kBytes. > Multiparts with 4 digits are filtered on many sites. At first, things will work like they do now. We will simply add xBin labels to the current articles. So no one will be posting 1500 part articles. But with xBin, there is no reason to split the file before posting, so over time, people will stop wasting their time doing that. Over time, servers that block 1500 part posts will fix their filters. The reason people filter 1500 part posts today is because they tend to be 1500 parts of 2K each which is an abuse of resources as bad as spam. 1500 parts of 600K each is not abuse if you were going to post the file anyhow. It's abuse not to do it that way once most people have access to good xBin tools. The sites that filter those will either fix their filters or loose business. > Sending out 1500 parts without the multipart identifier > creates 1500 lines in all current newsreaders. > Neticens will be driven crazy. Are you saying we will send them out without the identifier to keep them from being blocked? I don't suspect that will happen. Nothing should be posted as a huge 1500 part file until _most_ people are using xBin aware tools. Buy that time, the admins using filters like that will know about these issues and will fix them. There's a conversion cost to xBin. There's no doubt about that. Over time, it will completly change how binaies are done one Usenet and to get all the users and all the admins and all the software adjusted to the "new way" will take a long time. But all that is not the first step. That's down the road. The first step is to just make the current posting tools label the posts correctly with a speical Message-Id and a new header. > Splitting files is _essential_ Of couse. But two-level splitting (big file into small files, small files into smaller articles), is a total waste of time. It's done now only because the current sytem can't support single level splittig. xBin will work great with that. With good xBin tools, there will be no reason at all to split huge files into smaller files before posting. Huge files will simply be split once into 1500 articles (as it's posted by the way so there is no wasted disk space turning a huge file into lots of little splits). Now, however, if the data does not exist as a huge file in the first place, and exists as a set of files on the guys PC, then it should still be posted as a huge file and not combined before the post. The idea is to post the files directly from the computer as they exist on the computer and not require any type of pre-processing before you post them. A good xBIn posting tool will even allow only parts of the file to be posted so you don't flood groups with 1500 parts. You should be able to tell the tool to post X MB, or N articles, every night. > And protecting every part is as well a requirement > as to protect the entire thing. xBin does that. And for sets of files, all you have to do is post a file with the xBin ids of the files (and other useful stuff like file names). The xbin id of that set becomes the secure hash for the entire set and makes it impossible for anyone to fake the set and gives the download tool all it needs to know to get the entire set with no corruption. And it gives it every thing needs to know to request reposts. If you haven't got the collection file yet, you ask for it to be reposted. Once you have the valid collection file, then you have the ids off all the files you need and you request reposts of anything in the set which you are still missing. > Especially if you believe that reposts should be > supported. xBin makes reposts work. They don't work now. Files are split now beause of the fact that reposts don't work. It allows people to repost the split instead of reposting the entire huge file. xBin solves all this. It makes reposts of single articles trivial and accurate. If someone needs 10 articles out of a 1500 article set he can post a request for it. ANYONE who downloaded those 10 articles could help the guy out by telling his xBin posting tool to post only that section of the file - even if the guy helping out hadn't gotten the complete file yet, the tool will still allow him to repost any of the fragments he has on his disk. And, _anyone_ trying to download this huge post will automatically be able to make use of those reposts. xBin doesn't care who posts it. It doesn't care what's in the From: line or what's in the Subject:. It will see the file and know it's the data it needs and automatically add it to the download list. And when downloaded, it will test the data and be able to prove it's the data it wanted by checking the hash so there's no way for someone to post a fake and cause the file to be corrupted. All they can do if force someone to waste time downloading the fake. It's the great power that xBin gives to work with reposts that makes it no longer necessary to split huge files into smaller files before posting. > >Collections sort of builds upon xBin - so I could say its not xBin's > >problem. > > Then xBin does not solve any problems. It does because it makes secure collection files which act as a hash for the entire set work. > >However I do see some benefits if we'd just define such a > >collection within xBin. Basically we could define a new file extension > >like sfv or par. xbc - XBin Collection for example. It could be > >something like this: > > People are doing this today. > And it would be far easier to create SFV files for every single > splitted message and posting this all together with some > multiparts. I don't know what SFV files are, but they sound like another "collection file". If you add the xBin ids of the files to the SFV file, and post the SFV file and the files in the collection with xBin labels, then xBin has made the entire thing secure and reliable and turns the problem of sorting out fakes from reals from an exponential problem (which is what you get when you only have MD5s of split files) to a linear one. > If either xBin nor any other method offers a formalized (and mandatory) > method to group files together to "one bigger entity" then the > "subject mumbling" remains on Usenet forever. > > Either you _solve_ the entire problem or you let it be. We are creating the foundation that will "solve" the entire problem. i.e., we are solving the "entire" problem with xBin. > Today we are having a method to protect the entire multi post > against corruption by PAR of SFV files. Yes, but how hard is to tell which PAR and SVF files are "real" and which were fakes? If you download 10 GB of data and in that there are a few hundred "fakes" posted intentially to try and distrupt the distribution of this data over Usenet - including various fake PAR, and SVF, and data files, how hard is it to currently figure out the good from the bad? Can the download tool figure it all out on it's own and produce for you one huge file? Or do you have to play complex mix-and-max games manually usoing both newsreader download tools and external PAR and other tools? With xBIn, all that crap goes away. If you see a post you "trust" that says, I just posted a set of files which makes up a 10GB DVD, and here's the xBin ID for the collection file, all you have to do is click _ONE_ button on your newsreader when you are reading that post which says, "GET THAT STUFF". The download till will then do _everything_ for you automatically. You can walk away and come back in the morning and the set of files will be on your PC. This is what xBin makes possible. How can you not see this? How can you think that playing with tons of splits and external PAR or winrar tools and playing stupid manual mis and match game can be better than this? > We are having a method to protect one multipart file with > SFV and PAR or yEnc's CRC32. > We are having a method to protect a single message with > yEnc's PCRC32. > > What we dont have is a method to guarantee that all > parts of one multipart really belongs together. This is > the "fake" problem which is not solved by xBin practically. It IS SOLVED by XBIN. Why can't you see this? > We are having already three different methods to protect > our messages. PAR and SFV and yEnc are mostly manual methods. > > If _I_ wanted to solve the problem to detect that all single messages > belong together - and result in a completely correct retrieved > binary then I would create (and specify) _one_ large > 'information' file which is sent seperately and contains > all the required information. Well, first off, many things that are split today don't need to be split so the "one large information file" is not needed. Only xBin for the single file is really needed. But when sets need to be (or should be) posted, all you have to us a file set information file which inclueds the xBIN file-ids of each file in the set and whatever else the application finds useful and you have just want you want. THe ability for the downloader to hit one button and walk way. > Then _all_ levels of correctness and completeness are > solved with one (easy) method and even externally checkable > with additonal external software..... > > I did hope that xBin would be a _replacement_ for all these > SFV and PAR and CRC32 methods. > THEN it would be a real progress for the Binary Usenet. It is. It's just a minor issuse as to whether we define the "collection file" as part of xBin now or let it happen later. Though I'm beginning to think it needs to be done now as I continue to read all these old posts. > But from the last discussions I am concerned that it is > NOT even a partial solution but just the next problem. It seems that you are failing to see to power of the foundation we are creating with xBin. > >PAR is still high in the air (well all of xBin is high in the air, but > >some things are more concrete than others. PAR is quite undefined yet). > > PAR is used daily out there - and it works perfectly. > Except of the problem that it is an additional step for the user > and close to impossible to implement it on servers as it is. A major reason it gets so much use is because there is no _workable_ repost system that allows single articles to be reposted by _anyone_. xBin gives us a very powerful respost tool. We don't yet know how much par will really be needed after there will be so much power for everyone to help out with reposts in the future. But, we are assumming it will still have a place, and we are looking at how to best support it in the new "xBin world". > >I do. However I do see at it as something that builds upon xBin. We > >already said that a lot of cool things would become possible if xBin > >would take off. > > xBin would take off if it solves the "grouping" and "correctness" > problem entirely. If it is just another step which requires more > additional steps and perhaps something better in the future > then it will fail. It requires no additional steps. It's not "yet another level" in a process which has far too many levels and tools in it already. It's a technolgy designed to remove all those extra levels. But it won't happen on day one. On day one, all we are doing is adding important meta-data to the current articles in a way which changes or breaks nothing (other than this minor uuencode line length problem for multipart uuencoded messages if we go with a 32K block size instead of 22500). This will give us the power to both verify that _articles_ are valid without having to deocde entire files first and without having to collect other external data, and, when posting collection files (in any format) that the entire collection is valid and complete, one article at a time. > If you want to solve the problem of "grouping" and "correctness" > then it helps a lot to recognize what neticens are doing today > - and why they are doing it. Well, the grouping is important for some applications, I agree to that. But I think you are the one missing the point about why huge files are are currently split and how xBin will eliminates the need to do that in the future. > Meanwhile I said "GoodBye" to the theory that feeders and hosts > should know something about the data they are carrying (-> Jeremy). > So we can focus on the _users_ needs. No No No. Feeders and host very much need to know about the data they carry. Jeremy has no problems with that. I'm sure he would love to have this meta-data available to his feeders and hosts. He only has a problem with putting the meta-data into the Message-ID instead into some "beter" place in the header. He would love I'm sure to be able to set up feeds which filter out posts based on the size of the full article. He wants the data. He just doesn't want it in the Message-Id and doesn't see the need for the receiving side of a feed to get access to this meta data before accepting the article. > And what the users need is a simple and formalized method > to identify what belongs together. (A formal replacement for > [#/#] + (#/#). That is the heart of what xBin is. > And a good integrated checker to verify that it was all correct > would be highly appreciated by the users. But if the costs > would be too high, then we should even drop this one. xBin again. cost in terms of breaking existing tools - 0. > Sorry again about this message. > But the more I read and think about xBin the more I am concerned. I'm glad you are concerned. You comments about the importants of "file sets" I think are opening our eyes to some important issues we had not addressed (even if the reason you see them as important might be a bit mis-guided). But I'll keep writing this stuff unil everyone "gets it". -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Curt Welch
Date: Sun, 02 Feb 2003 05:30
Date: Sun, 02 Feb 2003 05:30
59 lines
4617 bytes
4617 bytes
"J.B. Moreno" <planb@newsreaders.com> wrote: > In article <20030131000233.119$Yb@newsreader.com>, > Curt Welch <curt@kcwc.com> wrote: > > > What could be done is to add more meta-data into the Message-ID. You > > could add a unqiue "series ID", and X/Y values to show this was file X > > of Y in that series. So you end up with meta data saying this is part > > M of N of file Q which is file X of Y in series Z. > > > > However, we have since pretty much decided that would be going to far > > with this "meta data in the Message-ID" idea. You could put more meta > > data like that in other headers, but it doesn't help much doing that I > > don't think. > > You got a message-id where this was disccused? It's here somewhere. :) I'm not going to spend the hour to find it. :) But that was comments made about a month ago. Since then the idea has returned and some people here are suggesting we should put information in the message-id about the file set a file belongs to. The more I've thought about it, the more I think we should not do that, but we should support some type of standard "set" or "collection" file format. > Because while I don't > think that the number of files in the set, or the number of the file > *in* the set, is all that important (i.e. put it in other headers), a > reasonably unique collection/series id sounds like a good idea to me -- > if I was interested in collections, then I'd want an easy way to say > "get this collection" and not have to specify each and every file in > the collection. Right. The answer is for the guy posting the set to simply post all the files as normal xBin files with nothing in them showing that they are part of a set. Then he posts a file which lists all the files in the collection. Then, he posts his announcemnt of the "set" in the .d group and all he has to do is list the xBin ID of the collection file. You simply tell your download tool to get that one file. If we add a flag in the xBin ID that shows the file is a collection file, then everything becomes automatic. You fetch that one file, but the download took "knows" it's a set file and that by defult, you will want the entire set (the UI probably needs features to allow you to grap just the file or grap the entire set so you can do either). The technique of marking the IDs to show it's a "directory" file would allow the system to recruse and fetch entire trees of files (i.e. sets within sets within sets). Because of how xbin IDs are calculated, it's even impossible to trick that by creating loops. You could do the same thing I guess by putting magic numhers in the collection file, but it would be better to mark it out-of-band in the xbin-id. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Curt Welch
Date: Sun, 02 Feb 2003 05:50
Date: Sun, 02 Feb 2003 05:50
69 lines
5462 bytes
5462 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > [Curt Welch]: > > > > xBin defines files, not directories or sets of files. I think the > > "directory" problem needs to be solved at the next higher level, > > in which case, the standard to define how that works will be > > separate from xBin but will take advantage of the power that xBin > > creates by using the xBIn file-ids to identify each file in the > > set. > > the rationale for adding the file sets in my draft was to support > complex MIME documents. I'm reading and replying to a lot of this out of order which I'm sure isn't helping things here... I haven't got to your spec let though I'm getting close. I'll have to read that to see what you have proposed and think about that. However, the idea of trying to supoprt MIME I think is going in the wrong direction. The more I work on this, the more it seems to me that xBin may migrate over time to a position below MIME. It might smiply transform (over a farily long time) the usenet transport into more of a flood-fill distributed filesystem. The MIME/text articles would then be transported by the lower level, unlimited file size, transport system. So, like storing files on a disk, if you were to store a mime article in a disk file, you don't expect the file system to keep track of the fact that the MIME article has 4 file attachements in it and I think that's the level that xBin should stay at. It's just a specification for a Usent-like distributed file system where files are distrubted in the normal Usenet-like flood-fill system except everything is just a xBin file chunk. Right now, Usenet moves articles and the data is inside them. What I'm suggesting is that we should allow that to flip upside down so that in the future, usenet will move files at the lowest level, and some of those files will be Usenet text/MIME messages. So I think trying to specify any of the complexity of a MIME article in "xBin" is just going the wrong way. xBin should stay as a system for transporting snigle files, which happen, for now, to be hidden in side Usenet articles which might happen to be MIME. > simply putting the > offset and total-size information in the Content-SHA1-Tree would make > life a lot easier, but it isn't as clean (could lead to information in > triplicate). I'll have to think more about that case. I did suggest a few messages back a day or two ago that maybe all the meta data we are putting in the Message-ID should be in the hash tree header as well. I suggested something like Content-Fragment: so it becomes a single mime header which defines the content to be a file fragment and would include all the meta-data and hash check and could also include things like the full file content-type data. (it would be a big header :)). The Content-Type: header used for the file segment could then be just about any generic thing such as application/octet-stream. MIME application unware of the Content-Fragment header would just see it as "undefined data", and MIME applications that understood fragments would know to use the new header. This I guess would make it hard to deal with this data with external applications, but is there any design that would allow exteranal applications to deal with it? I'm guessing all the segment meta-data would have to be encoded inside the content with the file segment data before external MIME applications could work with it correctly (like they have done with PAR files and rar files etc). -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Curt Welch
Date: Sun, 02 Feb 2003 06:07
Date: Sun, 02 Feb 2003 06:07
51 lines
4029 bytes
4029 bytes
Andy C <none@none.invalid> wrote: > In <20030201120106.036$pW@newsreader.com>, curt@kcwc.com (Curt Welch) > wrote: > >[...] > >I was thinking an XML based format might be good. But I don't know much > >about XML other than it's general power so I have a lot to learn there. > >[...] > > Kjetil has suggested this also. XML has some *huge* advantages for > this application, I need to study XML some more, but maybe it's not as hard as I had first thought. If we outline a basic format that includes the obvious things that are needed or useful and a specify how it should be expaned on, it might really not be hard at all. All we really need to specify is how to speicify the list of xBin ids and how to add other (optional) meta-data to the list. And maybe if we look at all the system currently in use like cvs, we can produce a list of all the meta-data that's currently being used and specify how each of those things should be encoded (XML tag names or whatever). It really might not be as hard as I was first thinking it would be. And it really would be nice if this was part of the spec so any download tool would be motivated to add suport for these sets and they would all be compatible at the basic level. > Having the newsreader "know" that a given post is a collection file > would enable some totally cool enhancements to binary newsreaders, > that's for sure - but it's unclear to me at present what form these > would take. The big one is simply that it will allow the person downloading to just hit one button to say "get this collection", and the tool would get all the files in the collection. It could have a nice download status display that showed all the collections and all the files in the collection and %complete for each file and for the entire collection. If done correctly, it would even understand that the same file could be part of different collections. You could be in the middle of trying to complete one set, when you started to download a second set and even though the second set shared some of the files, the tool would understand this (because all the files are indexed by their xBin id so this would "just work"). So, the second set might be 50% complete before you even started to downlaod anything just because you already started working on the the other set. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Jonathan Grobe
Date: Sun, 02 Feb 2003 17:20
Date: Sun, 02 Feb 2003 17:20
11 lines
1802 bytes
1802 bytes
In article <20030202003018.744$1t@newsreader.com>, Curt Welch wrote: Curt, there is a lot of redundancy in your answers to these posts. Instead of continuing to do this I suggest you instead create a FAQ, and instead only answer new issues. -- Jonathan Grobe Books Browse our inventory of thousands of used books at: http://www.grobebooks.com
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Curt Welch
Date: Sun, 02 Feb 2003 20:13
Date: Sun, 02 Feb 2003 20:13
12 lines
2238 bytes
2238 bytes
grobe@netins.net (Jonathan Grobe) wrote: > In article <20030202003018.744$1t@newsreader.com>, Curt Welch wrote: > Curt, there is a lot of redundancy in your answers to these > posts. Instead of continuing to do this I suggest you > instead create a FAQ, and instead only answer new issues. Yeah, it's getting close to time to do that. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Kjetil Torgrim Homme
Date: Mon, 03 Feb 2003 14:33
Date: Mon, 03 Feb 2003 14:33
72 lines
5431 bytes
5431 bytes
[Curt Welch]: > > Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > > the rationale for adding the file sets in my draft was to support > > complex MIME documents. > > [...] > However, the idea of trying to supoprt MIME I think is going in the wrong > direction. The more I work on this, the more it seems to me that xBin may > migrate over time to a position below MIME. It might smiply transform > (over a farily long time) the usenet transport into more of a flood-fill > distributed filesystem. The MIME/text articles would then be transported > by the lower level, unlimited file size, transport system. hmm. that's very radical. > So, like storing files on a disk, if you were to store a mime > article in a disk file, you don't expect the file system to keep > track of the fact that the MIME article has 4 file attachements in > it and I think that's the level that xBin should stay at. It's > just a specification for a Usent-like distributed file system > where files are distrubted in the normal Usenet-like flood-fill > system except everything is just a xBin file chunk. but that MIME document with the four attachments becomes _one_ file from xBin's view. I don't think that's quite right. I want the attachments to be "visible" as files which can be downloaded independently using xBin mechanisms. for MIME on Usenet, it may very well happen that adding a new kind of message/external-body is better method, though. that is: post the files independently, then post a MIME document which refer to them using the external-body mechanism. btw, we could use that for file sets as well, but unfortunately, some new XML format is probably considered a lot more sexy than MIME... representing complex MIME document is not top priority, so I'll just keep it on the back burner. > I did suggest a few messages back a day or two ago that maybe all > the meta data we are putting in the Message-ID should be in the > hash tree header as well. I suggested something like > Content-Fragment: so it becomes a single mime header which defines > the content to be a file fragment and would include all the > meta-data and hash check and could also include things like the > full file content-type data. (it would be a big header :)). The > Content-Type: header used for the file segment could then be just > about any generic thing such as application/octet-stream. MIME > application unware of the Content-Fragment header would just see > it as "undefined data", and MIME applications that understood > fragments would know to use the new header. while complete MIME integration may be too much, I don't think we should go in the opposite direction. let's use the mechanisms MIME offers when they fit. > This I guess would make it hard to deal with this data with > external applications, yes. > but is there any design that would allow exteranal applications to > deal with it? I'm guessing all the segment meta-data would have > to be encoded inside the content with the file segment data before > external MIME applications could work with it correctly (like they > have done with PAR files and rar files etc). exactly. that's the idea of (my proposed) message/fragment, it contains a set of headers describing the contents internally. -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Curt Welch
Date: Mon, 03 Feb 2003 18:37
Date: Mon, 03 Feb 2003 18:37
215 lines
13183 bytes
13183 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > [Curt Welch]: > > > > Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > > > the rationale for adding the file sets in my draft was to support > > > complex MIME documents. > > > > [...] > > However, the idea of trying to supoprt MIME I think is going in the > > wrong direction. The more I work on this, the more it seems to me > > that xBin may migrate over time to a position below MIME. It might > > smiply transform (over a farily long time) the usenet transport into > > more of a flood-fill distributed filesystem. The MIME/text articles > > would then be transported by the lower level, unlimited file size, > > transport system. > > hmm. that's very radical. Yeah, it's nothing something I'm saying at this point we "should" do. It's like playing a chess game looking 20 moves ahead and seeing one of many possible outcomes that you would like to keep open as an option instead making moves now that will prevent us from ever getting there. > > So, like storing files on a disk, if you were to store a mime > > article in a disk file, you don't expect the file system to keep > > track of the fact that the MIME article has 4 file attachements in > > it and I think that's the level that xBin should stay at. It's > > just a specification for a Usent-like distributed file system > > where files are distrubted in the normal Usenet-like flood-fill > > system except everything is just a xBin file chunk. > > but that MIME document with the four attachments becomes _one_ file > from xBin's view. I don't think that's quite right. I want the > attachments to be "visible" as files which can be downloaded > independently using xBin mechanisms. Would it really be wise to build tar technology into a Unix filesystem so you could "cd file.tar" and access the files in the archive as if it was a normal directory? Or "cd message.mime" and do the same? That strikes me as poor layering decision. xBin it seems to me to be fitting in better with the "file system" paradigm than the "archive" or "message" paradigm. For small files where you want to mix files and commands in a normal "message", I see mime as a fine way to bundle the information together. But, once the creator of the message has made the decission to bundle the data that way, he is basically has defined the "unit" of what he is distributing over Usenet as a "message" and not "a file". Currently, Usenet only transports messages. So when we distribute files, we are forced to bundle the files inside messages. But for the large files, this is a very poor way to do things. xBin I think is about trying to support the concept of "file transport". Currenly the "files" will continue to be bundled inside messages because that's the only thing that works on Usenet right now. But I see xBin is the start of a "file" transport system, and not a "what file is inside this message" system. So moving the current ideas about "what is xBin" from a "file transport system" to a "MIME attachment documentation system" just seems to be the wrong dirrecton to me. > for MIME on Usenet, it may very > well happen that adding a new kind of message/external-body is better > method, though. that is: post the files independently, then post a > MIME document which refer to them using the external-body mechanism. Ah, you mentioned message/external-body in other messages but I didn't uderstand where you were going with that idea. I see now. Yes, that fits with my vision as well. If we add a "file transport" system top Usenet along-side the "message transport" system we already have, then supporting messages which have the power to reference files being transported fits nicely. When someone posts data to this "new usenet", they will have an option of how they want to do it. They can post a pure message which happens to include various attachments, they can post raw "files", or they can post a message which makes reference to the files. This new vision of usenet will support getting "files" or getting "messages" from the server. The poster will pick the option based on what best fits his application. "Messages", like now, makes the delivery an all or none thing. You get it all, or none of it. It is best used when the bundle of data is meaningless when separated. If you write a message and include small diagrams in jpg form, there's little point in allowing the components to separate. And becaue the overall size is still resonable (small enough to transer the entire package in seconds instead of minutes or hours), it works best when you bundle it as a message. If the total message becomes too large, or the attachments are very large, there would be a point where using the external-body would become reasonable. Even though the message and the attachment really need to be "together", there would be benifit to be able to fetch the message quickly, and then allow the large attachment to download separately in the background (or just not download it at all if the reader decides he is not interested in it). For very large files, the messages tend to become nothing more than "here's the file". So does the system even need to support a message or even a "subject" associated with the files? The idea of these files used to define "file sets" seems to have some very interesting potention. > btw, we could use that for file sets as well, but unfortunately, some > new XML format is probably considered a lot more sexy than MIME... Good point. We could use MIME messages to create the file-sets. It's a bit odd because the MIME message does so much more than list a list of "external bodies". But maybe because it fits in well with Usenet, we should think more about this. Ah, but because the MIME messages are not yet being transported as "xBin Files", we wouldn't get an xBin-ID for the message, so we wouldn't have have a single xBin-ID to define (and secure) the entire set. To make that work, we would have to crate the MIME message with all the externa-body componets, and then yEnc that into a Usenet message and give that message an xBin id. I guess that works, but it's odd. It's not so odd if all Usenet text messages one day migrate to being trasported as "files" on Usenet, but it's very odd if that were never to happen. That remines me of NeXT mail which decided to use tar to bundle the attachments and then uuencode the tar file in the body of the e-mail message to store all the "attachements". (a pre MIME solution). > representing complex MIME document is not top priority, so I'll just > keep it on the back burner. > while complete MIME integration may be too much, I don't think we > should go in the opposite direction. let's use the mechanisms MIME > offers when they fit. What is fine is the idea of trying to understand how MIME messages could be used to transport "file segments". Even if Usenet goes to a very different system for transporting file segments over time, there's nothing wrong with thinking about how these same entities could be trasported though e-mail. But I keep seeing these layering and compatibility problems popping up when we talk about mixing xBin and MIME messages ideas at the same level. If we have a plan for how to tranport a file segment as a MIME attachement, we can't use it now (I don't think at least), because there are no current MIME aware newsreaders (or general usenet binary tools) that will correctly decode a mime multipart message in this new format. If we use a MIME-like Content-SHA1-Hash header with the intent of moving to the correct "MIME" standard, where do we be put it if the aticle is in fact a single-article multipart/mixed message where the actual xBin data and the headers for the data are down in the body? It seems to me that the xBin hash data belongs in the article header, not in the body. But as a MIME header, it would belong down in the body. It can work to put it down in the body in the "MIME" way, but thigs get messy. I've looked at xBin not as a Usenet article format feature (even though that's where we are putting it now), but as a layer below (or to the side of), the current Usenet article. Once we start marking articles with xBin-IDs, Usenet can be looked at as if were now transporting two different entities. Articles without xBin ids are seen as normal Usenet articles. Articles with xBin-IDs are now something "new". What I see that "new entity" as being is simply "a file segment". In fact, what it is for now is "an article holding a file segment encoded in one of many messy and incompatable ways". My path for the future is to remove the "an article holding a file segment encoded in one of many messy ways", from the above. That's historic Usenet crap that we are trying to eliminate with xBin. Binary usenet will work better if it can transport files directly, instead of transporting files hidden in one of many messy and poorly defined ways inside of text messages. If xBin is in wide use, and we start to look at options for transporting xBin _files_ between usenet servers using an enhanced feed protocol, what will that look like? How will that work? For one, it's going to be pure binary for sure. There's just no reason not to do that. But there is extra meta-data that needs transport as well (the SHA1-Tree for one). But for Usenet to work, we still need tracablility of the data, so the Path: is still needed. And I don't see much justification for not continuing to support a full Usenet article with "normal" semantics for the headers as well. I think what will mostly change is the semantic "meaning" of the body. These articles I think will only be able to hold the raw binary data segement in their logical "body". No extra meta-data, or comments or anything will be in the body. This could, I guess, work just like HTTP where it's got a mostly MIME-like header, with nothing but pure binary in the body. The Content-Length: header would be required (because unlike HTTP, you never want to close the connection to signal the end of the data). In this context, using a MIME Content-SHA1-Tree type of header would fit fine. But does it fit ok in today's usenet? I'm still trying to get a grip on all this.... > > This I guess would make it hard to deal with this data with > > external applications, > > yes. > > > but is there any design that would allow exteranal applications to > > deal with it? I'm guessing all the segment meta-data would have > > to be encoded inside the content with the file segment data before > > external MIME applications could work with it correctly (like they > > have done with PAR files and rar files etc). > > exactly. that's the idea of (my proposed) message/fragment, it > contains a set of headers describing the contents internally. Internal to the Usenet article or internal to the MIME content? I was talking about internal to the mime content. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Andy C
Date: Tue, 04 Feb 2003 05:54
Date: Tue, 04 Feb 2003 05:54
50 lines
3562 bytes
3562 bytes
In <20030202010757.472$iN@newsreader.com>, curt@kcwc.com (Curt Welch) wrote: >Andy C <none@none.invalid> wrote: > >> Having the newsreader "know" that a given post is a collection file >> would enable some totally cool enhancements to binary newsreaders, >> that's for sure - but it's unclear to me at present what form these >> would take. > >The big one is simply that it will allow the person downloading to just hit >one button to say "get this collection", and the tool would get all the >files in the collection. It could have a nice download status display that >showed all the collections and all the files in the collection and >%complete for each file and for the entire collection. > I've noticed that CRC/CSV files (collection files) are currently used in the binary groups for three different purposes (maybe someone else can list more): 1.) To list a collection of binary files that the user has posted. 2.) As a request list that the user hopes someone will fill. 3.) Simply as a stand-alone collection file, perhaps so that another user can import it into his file search program to see if he already has some or all of the files on his hard drive somewhere. If the newsreader "knew" which category the collection file belonged to, the UI could offer different views of a newsgroup. 1.) A collection view that would be a tree view listing available collections in the group, where each collection would have nodes that would expand to categories such as thumbnail index files and the files which make up the main content. 2.) A request view. The request information might be used as the input to some code which searched locally for the files and could queue them up for posting. Such searching code might have a fast indexed file lookup based on xBin IDs. 3.) A flat "file view" just showing a list of files. Plus of course the normal article view. This could provide for a kind of non-real-time (but structured) search function that's currently done by hit-or-miss conversations. Andy C
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Curt Welch
Date: Tue, 04 Feb 2003 07:17
Date: Tue, 04 Feb 2003 07:17
60 lines
5013 bytes
5013 bytes
Andy C <none@none.invalid> wrote: > In <20030202010757.472$iN@newsreader.com>, curt@kcwc.com (Curt Welch) > wrote: > 2.) A request view. The request information might be used as the > input to some code which searched locally for the files and could > queue them up for posting. Such searching code might have a fast > indexed file lookup based on xBin IDs. The idea of an automated repost system has been touched on a few times in these threads and key to all those ideas is the ability to post machine readable information about both which files you want, and which sections of the files you are missing. Your comments here made me realize that any work on creating a format for these collection files could easilly be extended to create the automated repost files. So this means that the format would need to not only include information about the file (like it's name and xBin-ID), but also include a description of missing segements. At the same time, a collection file posted as a request for missing data instead of one posted to define a set of files posted, would need to be somehow marked to indicate that it was a request. When I've seen csv files posted for this purpose, it's just information included in the Subject which is human-readable (I assume). I've talked about the idea of putting a marker in the Message-ID to show that the file is a collection file. Maybe a "request" file should be marked with a different unquie ID as well so the download tools can automatically spot all these and either ignore them, or if the user was willing to help, automatcially read them all and present a list of of data the user has downloaded which could be reposted to help fill the requests. But, the other ideas I've had in the past about this also included thoughts that repost requests for articles from a single file would be posted with the xBin File-ID of the missing file and have other markers in the Message-ID to show that it was a repost request. This way, just by looking at the Message-ID, the tool could scan the list of local file xBin-IDs and know if the user could help and then only bother to the download download the request if the user already had parts (or all) of that file downloaded. With the previous idea, the Message-ID would show the id of this unique request file so there would be no way to tell if the the user could help out without downloading the request file first. And with automated systems for generating these, the gruops may tend to fill up with a lot of these files. But hey, maybe that data would be interesting for the orginal poster to see. It would tell him how much problems people were having getting his posts and might help someone posting from a bad server to better understand the importance of posting from a server with better connections. And if the repost requests included infromation about the server it came from, the repost request data could be used to likewise build completion data about different servers - all in an automated fashion. Having tools to do that might justify a constant flood of repost requests (though if they got too large, they would need to be posted to sub-groups to keep them out of the way). Just some more ideas to think about... -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Sets and xBin (was: xBin (Power-Post 2003 - requesting input from authorities..))
Author: J.B. Moreno
Date: Tue, 04 Feb 2003 18:32
Date: Tue, 04 Feb 2003 18:32
33 lines
3252 bytes
3252 bytes
In article <20030131225424.637$3Q@newsreader.com>, Curt Welch <curt@kcwc.com> wrote: > Because if you do it my way, you get both. You get a cryptographic secure > system which people can't fake to define "sets" and you don't need to add > anything else to the Message-ID or the articles in the set. You just put > all the set meta-data into another file. Well, I'm of two minds about whether your way gets you "both". What *I* think the user wants is the ability to pick a file as a sample, see that he likes it, then say "download everything that comes with this". Crypoto-secure is all fine and dandy, but don't let it blind you to the main purpose -- it's seldom what people are really after, it's just something they do because of vandals. Now, this could be done via XHDR and a separate header, but the problem of XHDR support is well known. Whether or not the problem is /enough/ of a problem to make using the Message-ID worthwhile is the real question in my view -- I'm not really sure it is, particularly since if it became popular there's no reason why those servers couldn't be upgraded. OTOH, in the groups I've looked at where sets are posted, there are seldom more than 2 or 3 sets posted a day -- use b64 and 2 chars and your set is good in that group for about a year before the chance of accidental collision becomes a problem (and there aren't many servers with a retention of a year). -- J.B. Moreno
Re: Power-Post 2003 - requesting input from authorities..
Author: J.B. Moreno
Date: Tue, 04 Feb 2003 18:54
Date: Tue, 04 Feb 2003 18:54
25 lines
2733 bytes
2733 bytes
In article <20030201013115.703$Fs@newsreader.com>, Curt Welch <curt@kcwc.com> wrote: > archiver@i3w.com (Juergen Helbing) wrote: > > If xBin MsgIds are treated especially (faster, more reliably) by the > > main hosts and relays then it will be used widely instantly. > > That's an interesting dynamic that could develop which I had not thought > about. If admins start to see it as important that all binary posts are > correctely labled with xBin ids, they would have a lot of power to do > things to encourage posters to use xBin. Well, this is something that has definitely been addressed before -- specifically servers could immediately start doing additional filtering so that non-xBin binaries are dropped. For instance, 1500 part files have been mentioned recently, it'd be fairly simple for servers to do a check for large multi-parts and drop them unless they were xBin'd (i.e. size is greater than 50k, subject has 6 digits in it, mid doesn't meet xBin spec). As time goes by, the threshold could be dropped (4 digits 30k, 2 digits 20k). -- J.B. Moreno
Re: Power-Post 2003 - requesting input from authorities..
Author: Rene
Date: Tue, 04 Feb 2003 20:14
Date: Tue, 04 Feb 2003 20:14
23 lines
2252 bytes
2252 bytes
curt@kcwc.com (Curt Welch) wrote: > The way this would work I guess is that at first, new servers would be > created which know how to transport these xBin files (using new NNTP feed > commands), as well as support the trasport of old-style usenet messages). > The servers would then be given the option to take any standard Usenet > messages, and trasport the entire thing using the new FILE protocol - > which means it could split huge articles up into smaller chunks if it > wanted to. It would only do this of course to the peers that supported > this. For a server to feed an article to an old-style peer, it would > have to wait for all the chunks to show up before offering it to any of > the old style peers. While technically I don't see much standing in the way doing this, it has quite some huge effects. For one, if a file got transmitted using FILE instead of sending multiple usenet-articles, a *lot* of meta-data get lost. Namely all the headers of the original articles containing that file. This effectively would change usenet into something...different. -- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GB
Re: Power-Post 2003 - requesting input from authorities..
Author: Rene
Date: Tue, 04 Feb 2003 20:21
Date: Tue, 04 Feb 2003 20:21
22 lines
1973 bytes
1973 bytes
Rene <invalid@email.addr> wrote: > While technically I don't see much standing in the way doing this, it has > quite some huge effects. For one, if a file got transmitted using FILE > instead of sending multiple usenet-articles, a *lot* of meta-data get > lost. Namely all the headers of the original articles containing that > file. > > This effectively would change usenet into something...different. Following up to myself... sorry just read that you came to the same conclusions. I'm currently catching up w/reading after a nasty harddrive crash I had to endure (disk 2 of a two disk VG - IBM GXP-series, click of death) And thanks to Murphy, the following outburst of the SQL Slammer worm did the rest to royally screw up my schedule. -- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GB
Re: Power-Post 2003 - requesting input from authorities..
Author: Curt Welch
Date: Tue, 04 Feb 2003 21:31
Date: Tue, 04 Feb 2003 21:31
55 lines
4303 bytes
4303 bytes
Rene <invalid@email.addr> wrote: > While technically I don't see much standing in the way doing this, it has > quite some huge effects. For one, if a file got transmitted using FILE > instead of sending multiple usenet-articles, a *lot* of meta-data get > lost. Namely all the headers of the original articles containing that > file. > > This effectively would change usenet into something...different. Yeah, you're reight, we couldn't loose all the meta data. The system must continue to maintain that so data could be tracked back to it's source. Unlimited spamming with no ability to track the source wouldn't work (not to mention all the other problems). Maintaining the current Usenet Article Header I think is the obvious way to do that. But what could happen on the "binary half" of usenet is that body for xBin articles could become nothing but the xBin data. And servers would be free to reformat the data in the body into any form it wants so any extra data added to a xBin article (like text before the =ybegin) could be tossed out in this new system. Only the xBin data would be transported corectly. This would open the door to having the binary articles split into muliple smaller chunks. The servers could add a new header every time this was done to document what was split out and where it was done. But these split articles would not be sent back to the old non-binary aware servers (that would cause usenet to be flooded with multiple copies of the same data). They would only be used inside the network of binary-transport Usenet servers. In that network, you could for example throw out reposts for servers that already had the data in the spool. Or, if the new data overlapped with data already in the spool, then the article could be split and only the part of the data you needed would be added to the spool. If you were feeding a server with a given max article/data-chunk size, servers which supported large sized articles could split (fragment) the data articles for delivery to the other servers. Binary-aware servers could transfer these binary chunks using a new feed command so the data could be transfred in pure binary over the link. However, it seems that with these types of functions, there are issues that once data enters the binary-aware half of usenet, it can never go back to the non-binary-aware side of Usenet. That seems problematicaly. It would cause the network of binary Usenet servers to split into two separate networks with lots of one-way flows from from the old non-binary servers to the new binary servers but not the other way. Any new binary post would be sent to both "networks", but once a binary article was reformated or split inside the binary-aware portion, it could never be shared with non-binary-aware peers. I'll have to think more about that... -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Sets and xBin (was: xBin (Power-Post 2003 - requesting input from authorities..))
Author: Curt Welch
Date: Tue, 04 Feb 2003 21:40
Date: Tue, 04 Feb 2003 21:40
37 lines
3700 bytes
3700 bytes
"J.B. Moreno" <planb@newsreaders.com> wrote: > In article <20030131225424.637$3Q@newsreader.com>, > Curt Welch <curt@kcwc.com> wrote: > > > Because if you do it my way, you get both. You get a cryptographic > > secure system which people can't fake to define "sets" and you don't > > need to add anything else to the Message-ID or the articles in the set. > > You just put all the set meta-data into another file. > > Well, I'm of two minds about whether your way gets you "both". > > What *I* think the user wants is the ability to pick a file as a > sample, see that he likes it, then say "download everything that comes > with this". My system gives them that. You can't "pick an aritcle for download" until you have downloaded headers first right? No one is going to download Message-IDs and pick one file from the list just because they see it's part of a 10 article set. My set files are just a better way to do "headers" which get automatically downloaded. It's could replace XOVER for the binary groups without having to make any changes to the current servers. But unlike XOVER data, which gives you 100 records of 500 bytes each for a single 100 article post. With my (set file) headers, you only get one record for one file. So the newsreader automatically finds the set files by looking at XHDR Message-ID data, and then downloads the set files. It then uses all that to present a list of "sets and files" for the user to pick from. If they want to pick and download a single file from a set, they will have the power to do that (assuming the newsreader of course is powerful enough to do this for them which there's no reason it shouldn't be). -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Sets and xBin (was: xBin (Power-Post 2003 - requesting input from authorities..))
Author: J.B. Moreno
Date: Tue, 04 Feb 2003 23:48
Date: Tue, 04 Feb 2003 23:48
24 lines
2838 bytes
2838 bytes
In article <20030204164005.475$Zo@newsreader.com>, Curt Welch <curt@kcwc.com> wrote: > My system gives them that. You can't "pick an aritcle for download" until > you have downloaded headers first right? No one is going to download > Message-IDs and pick one file from the list just because they see it's part > of a 10 article set. Right. > My set files are just a better way to do "headers" which get automatically > downloaded. It's could replace XOVER for the binary groups without having > to make any changes to the current servers. But unlike XOVER data, which > gives you 100 records of 500 bytes each for a single 100 article post. > With my (set file) headers, you only get one record for one file. That depends upon the set file being present -- I think it's less likely to be either generated or used than an additional header field, Is it more powerful? Sure, but will that power be used? -- J.B. Moreno
Re: xBin (Power-Post 2003 - requesting input from authorities..)
Author: Kjetil Torgrim Homme
Date: Wed, 05 Feb 2003 01:14
Date: Wed, 05 Feb 2003 01:14
14 lines
2021 bytes
2021 bytes
[Curt Welch]: > > But, the other ideas I've had in the past about this also included > thoughts that repost requests for articles from a single file > would be posted with the xBin File-ID of the missing file and have > other markers in the Message-ID to show that it was a repost > request. now, _that's_ misuse of Message-ID :-) -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Re: Sets and xBin (was: xBin (Power-Post 2003 - requesting input from authorities..))
Author: Kjetil Torgrim Homme
Date: Wed, 05 Feb 2003 01:20
Date: Wed, 05 Feb 2003 01:20
21 lines
2812 bytes
2812 bytes
[J.B. Moreno]: > > That depends upon the set file being present -- I think it's less > likely to be either generated or used than an additional header > field, good point. if that article gets lost, things get sad. I would suggest adding a URL pointing to the set definition in the headers of each file, but then it struck me that many posters don't have access to or want to publish web space like that, and many downloaders will have qualms fetching data from servers which may keep tabs on who connect... they could include one or more set-ids in a special header, though. the set-id could be a normal xBin-ID. the set definition should preferably be posted ahead of the files. -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Re: Sets and xBin (was: xBin (Power-Post 2003 - requesting input from authorities..))
Author: Curt Welch
Date: Wed, 05 Feb 2003 01:39
Date: Wed, 05 Feb 2003 01:39
12 lines
2374 bytes
2374 bytes
"J.B. Moreno" <planb@newsreaders.com> wrote: > That depends upon the set file being present -- I think it's less > likely to be either generated or used than an additional header field, > > Is it more powerful? Sure, but will that power be used? Will any of this power ever be used? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Sets and xBin (was: xBin (Power-Post 2003 - requesting input from authorities..))
Author: Curt Welch
Date: Wed, 05 Feb 2003 02:45
Date: Wed, 05 Feb 2003 02:45
65 lines
5073 bytes
5073 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > [J.B. Moreno]: > > > > That depends upon the set file being present -- I think it's less > > likely to be either generated or used than an additional header > > field, > > good point. if that article gets lost, things get sad. If it's lost, the "set definition" is lost, but the files are not. But a set defintion will be a very small text file (100s of bytes). The odds of it getting lost is very small. If you define the set in the headers using a random set-id and include numbers showing the file # from the set, then it's trivial to post a forged article and impossible for the download tool to know which file 3/10 is the correct file 3/10 for the set (you can assume the first one to show up on the server - i.e. the one with the lowest articl enumber, but that's hardely secure). Using a set file, you know you are getting the right files for the set, but still have the problem that someone can easilly post a "forged" set file which includes a different file #3 in the list. So it's trivial and very low-cost for someone trying to cause problems to post fake versions of these small set files. That's not good. > I would > suggest adding a URL pointing to the set definition in the headers of > each file, but then it struck me that many posters don't have access > to or want to publish web space like that, and many downloaders will > have qualms fetching data from servers which may keep tabs on who > connect... Yeah, bringing in the Web as a "requied" componet for making sets work would not be a good "general" approach. You want it to work if Usenet access is all they have. > they could include one or more set-ids in a special header, though. > the set-id could be a normal xBin-ID. The set definition should > preferably be posted ahead of the files. Yeah, that makes posting a fake set file bascially impossible. But it also creates problems for two people posting sets which attempt to share some of the same files. If you you double-post the common files, the download tool wouldn't know which articles to use to get the file (both would look valid), yet the "check header" would indicate a forged set file if the download tool grabbed the wrong article by chance. It could do a HEAD on all possible articles first and find the "right ones". But that seems messy and it's not nice to have to require dup copies. You could sign the set files to show who they came from and then each downloader could build up a list of "trusted" posters. That's getting complex. It does seem that set files are easier to abuse "in practice" even though they are stronger "in thoery". xBin-IDs of set files can however be distributed out-of-band to help with abuse problems in a given group if the users could find some other trusted distribution system for the set file IDs (like a private mailing list). -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Sets and xBin (was: xBin (Power-Post 2003 - requesting input from authorities..))
Author: Kjetil Torgrim Homme
Date: Wed, 05 Feb 2003 03:18
Date: Wed, 05 Feb 2003 03:18
38 lines
3681 bytes
3681 bytes
[Curt Welch]: > > Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > > they could include one or more set-ids in a special header, > > though. the set-id could be a normal xBin-ID. The set > > definition should preferably be posted ahead of the files. > > Yeah, that makes posting a fake set file bascially impossible. But it also > creates problems for two people posting sets which attempt to share some of > the same files. not really. one set would just be more "official" than the others. > If you you double-post the common files, the download tool > wouldn't know which articles to use to get the file (both would look > valid), both _are_ valid. > yet the "check header" would indicate a forged set file if the > download tool grabbed the wrong article by chance. how would it indicate that? > You could sign the set files to show who they came from and then > each downloader could build up a list of "trusted" posters. > That's getting complex. no need to make it that complex. adding a set to the wanted list is a manual operation, anyway. you either want to download on a set by set basis, or you download _everything_ from a group. that's what I think, anyway. if users _really_ want to, they can use generic methods for signing their articles. -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Re: Sets and xBin (was: xBin (Power-Post 2003 - requesting input from authorities..))
Author: J.B. Moreno
Date: Wed, 05 Feb 2003 19:39
Date: Wed, 05 Feb 2003 19:39
27 lines
3084 bytes
3084 bytes
In article <20030204214512.691$R9@newsreader.com>, Curt Welch <curt@kcwc.com> wrote: > Using a set file, you know you are getting the right files for the set, but > still have the problem that someone can easilly post a "forged" set file > which includes a different file #3 in the list. So it's trivial and very > low-cost for someone trying to cause problems to post fake versions of > these small set files. That's not good. I think you're focusing entirely too much on forgery -- for instance, who's to say that I *don't* want anyone to be able to contribute to the set? I ask of vacation pics, people start posting their vacation pics or ebooks of Shakespeare plays, by including a set number it's automatically included in the set. Of course the same thing could be done via the Subject, with the same potential for abuse. But I'd prefer something a bit less cumbersome and more precise. Security is all well and good, but it *is* a separate issue for sets, something that won't be desired all the time. -- J.B. Moreno
Re: Sets and xBin (was: xBin (Power-Post 2003 - requesting input from authorities..))
Author: Curt Welch
Date: Wed, 05 Feb 2003 23:00
Date: Wed, 05 Feb 2003 23:00
88 lines
6515 bytes
6515 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > [Curt Welch]: > > > > Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > > > they could include one or more set-ids in a special header, > > > though. the set-id could be a normal xBin-ID. The set > > > definition should preferably be posted ahead of the files. > > > > Yeah, that makes posting a fake set file bascially impossible. But > > it also creates problems for two people posting sets which attempt to > > share some of the same files. > > not really. one set would just be more "official" than the others. Well, the issue is if you add information in the headers of the file posts to link them back to the set, either you use that to help detect a forged "set file" or you ignore it. If you use it, then it will cause problems if you have the same file posted twice, each a part of a different set. But versions of the files are just as valid, but one makes it look like a set is in valid when in fact it's not. > > If you you double-post the common files, the download tool > > wouldn't know which articles to use to get the file (both would look > > valid), > > both _are_ valid. > > > yet the "check header" would indicate a forged set file if the > > download tool grabbed the wrong article by chance. > > how would it indicate that? If I post a set called set-a, and it includes a file X, which in the headers says "I'm part of set-a", and you post a set called set-b, and it includes the same file X, and you re-post file X, but in its headers, it says "I'm part of set-b", then how does a download tool which is trying to figure out if the "set-a" file is a fake use this information? If it looks at your file X, and sees the header says it's part of set-b, then it will assume that the "set-a" file is a fake, or will on the other hand, look for other versions of file X until it finds one that says "I'm part of set-a". Once it finds that, it has some evidence that the set-file is real an not just posted to cause confusion. The problem is that if we use set files, they are very secure in the "set" they define, but because they are so small, it's trivial to post lots of fake versions of these files just to make the group unuseable. For example, take any MP3 group, and think what it would be like if everyone was posting set files that defined all the tracks and artwork from a single CD they posted. To really fuck up the group, all you have to do is post a lot of totally bogus set files which says "I'm this CD", but in fact, the xBin-IDs of the tracks are for other files posted to the group which are real MP3 files, but have nothing to do with the description of the set file. This is the same problem that anyone can post whatever file they want and call it something it is not. We can't fix that with xBin. But, if the person trying to distrupt the group has to post a full MP3 files in order to fool people, it then at least means they have to go to a lot of trouble to upload a ton of data in order to flood a large binary groups with enough "fakes" to really cause problems. But, if everyone is using set files to figure out what they want do download, then it's trival to flood the group with valid set files, which simply aren't what they say they are, and trick people into download a ton of real, and valid posts, but instead of getting the CD you wanted, you get a directory full of music you had no interest in. So, all I'm saying, is that this set file idea opens a door for abuse. And, if you put something into each file which documents what set it is a part of, then you can prevent some abuse, but then it causes problems when you want the same file to be part of different sets because this can make it look like abuse to the download tool. I was thinking that set files could become a replacement for the current headers, and everyone could post a set file to document the files they posted even when they only post a single multipart file. It would be like posting the header separtely from the body, or like having everyone use part-0 posts to document their post with a small text file. Because of the ease at which this processes can be interfered with, I'm having second thoughts about whether that would be a good way to go. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Sets and xBin (was: xBin (Power-Post 2003 - requesting input from authorities..))
Author: Rene
Date: Thu, 06 Feb 2003 22:59
Date: Thu, 06 Feb 2003 22:59
92 lines
6632 bytes
6632 bytes
curt@kcwc.com (Curt Welch) wrote: > If I post a set called set-a, and it includes a file X, which in the > headers says "I'm part of set-a", and you post a set called set-b, and it > includes the same file X, and you re-post file X, but in its headers, it > says "I'm part of set-b", then how does a download tool which is trying > to figure out if the "set-a" file is a fake use this information? If it > looks at your file X, and sees the header says it's part of set-b, then > it will assume that the "set-a" file is a fake, or will on the other > hand, look for other versions of file X until it finds one that says "I'm > part of set-a". Once it finds that, it has some evidence that the > set-file is real an not just posted to cause confusion. I would go with that way, but state explicitly that sets are never secured. I'd take it into account that someone can post fake set descriptions. I think that 99% of the users will select a set file and want the files within that set and only 1% gets a file and wants "all the other files in the same set". Nevertheless, I like the possibility to go back from a file to the set that originally listed that file. Iff people start to abuse this feature, I'm pretty sure that article signing comes up very fast. A set description is only containing references, links, so you are not taking over ownership and responsibilities for the files the set references to. Therefor the acceptance-barrier for strong cryptographic signatures on set-files is way lower than on binary files. If referencing makes you responsible though, then I'd start suing google right now :) > This is the same problem that anyone can post whatever file they want and > call it something it is not. We can't fix that with xBin. But, if the Not only not with xBin, the problem itself is not solvable. To my knowledge, not even Zero-Knowledge protocols can solve it. Someone *must* get it first to be able to make the decision if it is what is being claimed. (or at least parts of "it" to be able to preview) > But, if everyone is using set files to figure out what they want do > download, then it's trival to flood the group with valid set files, which > simply aren't what they say they are, and trick people into download a > ton of real, and valid posts, but instead of getting the CD you wanted, > you get a directory full of music you had no interest in. But the correct ones could be listed out of band (website which indexes known good files) or inband (in another NG) should an attack really take place. > So, all I'm saying, is that this set file idea opens a door for abuse. Yes. And as such set should be declared purely optional and the risk of using them must be explained. Or we need a better method for doing it. If we make them static (unchangeable), then it suffices to give the set-article its own xBin ID. Then the files in the set contain an additional header like "X-Bin-SetID: <MID of Set-Article or xBin Set ID>" and that's it. Files reference back to the set-article and the set-article references the files. Since the set-article has its own xBin ID, all the rules about integrity apply as if it were a normal xBin article, including the ease of requesting a repost. I put the set-id in another header because those that are not interested in it (non xBin-clients) will never see it and those who are, already have that file or are downloading articles containing blocks and they need to have the headers anyway for SHA1-Tree checking. (unless XHDR is performed to get the SHA1-Tree header) > I was thinking that set files could become a replacement for the current > headers, and everyone could post a set file to document the files they > posted even when they only post a single multipart file. It would be > like posting the header separtely from the body, or like having everyone > use part-0 posts to document their post with a small text file. Because > of the ease at which this processes can be interfered with, I'm having > second thoughts about whether that would be a good way to go. 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. I think making them extensible and abuse-free is contradictory in itself. Unless only the original contributor of the set-file can change it, but that needs signatures, a route I want to prevent. -- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GB
Re: Sets and xBin (was: xBin (Power-Post 2003 - requesting input from authorities..))
Author: Curt Welch
Date: Fri, 07 Feb 2003 20:40
Date: Fri, 07 Feb 2003 20:40
55 lines
4900 bytes
4900 bytes
"J.B. Moreno" <planb@newsreaders.com> wrote: > In article <20030204214512.691$R9@newsreader.com>, > Curt Welch <curt@kcwc.com> wrote: > > > Using a set file, you know you are getting the right files for the set, > > but still have the problem that someone can easilly post a "forged" set > > file which includes a different file #3 in the list. So it's trivial > > and very low-cost for someone trying to cause problems to post fake > > versions of these small set files. That's not good. > > I think you're focusing entirely too much on forgery -- for instance, > who's to say that I *don't* want anyone to be able to contribute to the > set? That's the point. That's why I like the idea of set files. Anyone has the power to define their own set file, and include files from other sources in their set (or even include entire other sets of sets). People could post "best of the newsgroup" set files. There's all sorts of cool things they could be used for. I don't want to restrict them. The problem however is that because set files are small, it's trivial for someone trying to disrupt the group to flood the group with bogus set files which would cost people downloading real money. Someone could see the discription, trust it was valid, and end up downloading many MB of crap which has nothing to do with what they thought they were getting. people of course can do that now. I can post a 200 MB of home movies and say it's some hot sex video. But at least in order for me to force somone to download 100 MB, I have to upload 100 MB. But with set files, I can post 1KB, and trick people into download 100 MB. That's where the abuse door opens. > Security is all well and good, but it *is* a separate issue for sets, > something that won't be desired all the time. The problem is not an issue of "being secure", the problem is that it opens a huge abuse doore that's not currently open. It greatly lowers "securty" from what we already have. That does not kill the idea of set files. They could still be used. It just means that they can't become the "defacto standard" system for labeling and describing all posts as I was thinking it might be. And maybe there are other ways to protect set files from that type of abuse. For example, if there was any "set" you wanted to download (based on what the set described itself as - J.B. vaction pictures), the newsreader could go grap the subject from random articles from each file in the set, and show those to you. If the subjects from the actual files didn't seem to match what you thought the set was (train pictures), then you would have a warning that the set file might be bogus. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Page 8 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