Article View: news.software.nntp
Article #62741Re: Power-Post 2003 - requesting input from authorities.. - TRY THIS
From: Rene
Date: Sat, 04 Jan 2003 00:55
Date: Sat, 04 Jan 2003 00:55
119 lines
7091 bytes
7091 bytes
Frank Durda IV <uhclem.feb03@nemesis.lonestar.org> wrote: > Yes, but xBin isn't meant to solve the problem that I was trying to > address, which was to be able to locate and recover missing parts, *not* > to 100% validate the ones you do get. Seems most people here are stuck Sorry, xBin can do that, too. It can verify data-chunks it downloads if they are really belonging to a specific file and it can easily gather missing parts from all over the place, no matter if there is a change in the poster, article-size or transfer-encoding. xBin achieves this by creating a strong link to the file and placing this data into the header, so programs interesting in gathering parts of that file can easily do this, without any guesswork at all. xBin creates a signature for a file. And *any* part, no matter in what form, of that file carries this signature. > on this validate thing, which crops up infrequently, while recovering > missing parts has been a constant problem forever. The latter is what my > suggestion would help address. The validation is but one side of xBin. But in a way it's the most important, because it all starts there. The file must be "validated" so that we can create the file hash, the file's unique signature. > The main bit of what I was suggesting was providing a way to allow > recipients to know the <MID> of parts that don't arrive. So what I > suggest and xBin appear to be attacking different issues, but might even > be usable together. No xBin already provides both, actually. You can put your system ontop of xBin postings though, they won't collide or deter xBin from working. But xBin does not need it, either. > Here is how it could be done. Let's say your binary content had to be [some explanation deleted] > Part 1 Message ID <12594> > Part 2 Message ID <62843> > Part 3 Message ID <91732> > > Part 1: > Message-ID: <12594> > X-Reverse-Code: BEGIN > X-Forward-Code: <F3F71> (which is the HEXify X^Y of MIDs for part 2 and > 3) > Lines: 5000 This won't work because I think you are not clear about the semantics of the XOR operation (well you proposed factorials, in fact you need to use them or something similar or else this has no strength whatsoever): Your example uses F3F71 as forward code. Now take this value, XOR it with 11111 (that's just my example, could be anything) F3F71 XOR 11111 = E2E60. So what does that give us? Well XOR E2E60 with 11111 and you'll get F3F71. So we use fakepart 2 message id 11111 and fakepart 3 messageid E2E60. Bang, your system has just been "hacked". I can create arbitrarily many id's which will result in F3F71 when xor'ed in milliseconds. The point is: You simply cannot use XOR because XOR is easily reversible. Since XOR even is a basic operation within CPU's this means that you usually can do 1 xor operation per CPU clock cycle. So my poor old Athlon 500 can do 500mio xor's per second. But I only need two to break your system. But being the helpful lad I am, I also tell you how to fix it: You need something that is not reversible. And that something exists. Cryptographers (and mathematiciens) call this a "one-way" function. A cryptographic secure hash-function will be suitable for your use. But guess what, that's exactly what we're using in xBin already. We're not linking articles together like you do, because if they belong together (they contain parts of the same file) then xBin will find them easily. But that way we can also live fine when completion is not 100%, because a repost of a segement will *also* be marked with the same file signature/hash, which is the real strength xBin has over your proposal. > Where the X-Forward-Code is some Hexified result of an X^Y melding of the > two specified MIDs. (Yes, the two MIDs could be done as an XOR as shown > in the example values, but there is more vulnerability in using XOR than > with having a factorial solution. For speed reasons, perhaps only one > portion of the MID need be used in concocting the X-Forward-Code. Even a > couple of ten byte HEX values taken from the first fix bytes of the MIDs > would take longer far longer to factor than the amount of time a forger > would have.) No a chain (and you're building up a chain) is as strong as the weakest link. Either you use strong cryptographic one-way function all the way or you better forget it anyway. Hashes are pretty fast though. > Follow this: > Part 1 arrives, and now the receiver holds the forward code (<F3F71>) of > the MIDs for parts 2 (which will be <62843>) and part 3 (which will be > <91732>). Having the forward code at the receiver is useless by itself > and cannot be used in predicting the MID of part 2 or part 3 in advance. > Further, when part 2 does arrive, it's validity isn't known until part 3 > shows up, and because the forward code is a factorial, part 3's MID > cannot be quickly predicted from the Part 2 MID and the Part 1 or 2 > Forward codes. So part 2 is protected from falsification, and from > someone trying to pre-post the same MID. (Now, if XOR was used, having > part 1 and part 2 would be enough to fake part 3, but with a factorial > solution, you still don't know enough until the real part 3 shows up, > unless you have access to some spare computing time over at the NSA.) No as I've shown, one part suffices using XOR, because XOR is "symmetrical". In xBin you don't need to wait for an X+1 and/or X+2 article to show up to have enough data to decide if X was forged or not. You download any one single article and you already have enough data to make that decision. I did propose a simpler way, too, when I first heard of that system when I didn't see how the hash-tree xBin uses is supposed to work. But its an extremely nifty data-structure. Pure elegance (sp?) and functionality. -- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GB
Technical Details
Message-ID:
<20030103195513.392$LY@newsreader.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!rip!news.webusenet.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<av0bii$1co$2@puck.litech.org> <20030102011916.320$xR@newsreader.com> <65B5D3426DC71674.B0DBC1CDB021F8FD.9D54124FB2CFD750@lp.airnews.net> <1rwulnt0oc.fsf@vingodur.ifi.uio.no> <E4D03873E494E92E.C2BA96F52E36DB1A.A815175B4CE90D23@lp.airnews.net>Show Full Headers
Complete Article Headers
Message-ID: <20030103195513.392$LY@newsreader.com> Subject: Re: Power-Post 2003 - requesting input from authorities.. - TRY THIS Date: Sat, 04 Jan 2003 00:55:13 +0000 From: Rene <invalid@email.addr> References: <av0bii$1co$2@puck.litech.org> <20030102011916.320$xR@newsreader.com> <65B5D3426DC71674.B0DBC1CDB021F8FD.9D54124FB2CFD750@lp.airnews.net> <1rwulnt0oc.fsf@vingodur.ifi.uio.no> <E4D03873E494E92E.C2BA96F52E36DB1A.A815175B4CE90D23@lp.airnews.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!rip!news.webusenet.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail Organization: NewsReader.Com Subscriber Newsgroups: news.software.nntp X-Trace: NewsReader.Com S2H/vgD+1@kzGMI3J4Lds+_y31Jpfl9,h6cyWlA7_mrov-2=_e Lines: 118