Article View: news.software.nntp
Article #62707Re: Power-Post 2003 - requesting input from authorities.. - TRY THIS
From: Frank Durda IV
Date: Fri, 03 Jan 2003 05:32
Date: Fri, 03 Jan 2003 05:32
177 lines
9544 bytes
9544 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: : xBin msgids will not be predictable, there is at least a 18-bit random : element (three BASE64 characters). 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 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 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. - - - - - Now, if my goal of recovering missing parts is being shrouded with the a larger concern over post forgeries corrupting sets, and the window of vulnerability in my suggestion where a forgery would use information from an earlier post to predict a future post is causing all the lather, just take away the ability to predict the next posts MID in all situations that matter. That can be done with a modification to what I proposed, using simple tiny factorial keys (or if you prefer, tiny public/private keys), generated from Message-IDs of adjacent posts of the multi-part set. (The keys do not have to be very big, because the interloper doesn't have much time to do any cracking on them. What was the amount of time? 30 seconds or if you prefer, just one second? Here is how it could be done. Let's say your binary content had to be divided into four parts to be sent. You would always actually send two additional parts, for a total of six in this example. In this example, the MIDs would be as follows: (overly simple MIDs were selected just for demonstration) Part 1 Message ID <12594> Part 2 Message ID <62843> Part 3 Message ID <91732> Part 4 Message ID <48201> Part 5 Message ID <71573> Part 6 Message ID <24601> Now, the posts would be sent with these headers: (note the name change), with the binary payload located in only the first four parts: 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 Part 2: Message-ID: <62843> X-Reverse-Code: <12594> X-Forward-Code: <D9533> (which is the HEXify X^Y of MIDs for part 3 and 4) Lines: 5000 Part 3: Message-ID: <91732> X-Reverse-Code: <62843> X-Forward-Code: <39772> (which is the HEXify X^Y of MIDs for part 4 and 5) Lines: 5000 Part 4: Message-ID: <48201> X-Reverse-Code: <91732> X-Forward-Code: <55372> (which is the HEXify X^Y of MIDs for part 5 and 6) Lines: 4875 Part 5: Message-ID: <71573> X-Reverse-Code: <48201> X-Forward-Code: <24601> (in the clear) Lines: 7 Part 6: Message-ID: <24601> X-Reverse-Code: <71573> X-Forward-Code: END Lines: 0 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.) As a part is received (say, part X), all receivers do not know enough information about the Message-ID for part X+1 to be able to predict it (or forge it). Eventually part X+1 arrives, but the receiver has to wait until part X+2 arrives before the validity of what claims to be part X+1 is really known. (The first part, by definition is trusted.) 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.) Meanwhile, having the part 2 forward code tells you nothing about what part 3 will be until part 3 arrives and later, part 4 confirms part 3's arrival, as then you can validate part 3 using the header information from part 2+4. Then the same process repeats like a creeping barrage until you reach the N-1 part, in this case part 5. Since this reassembly process should not look at the Subject: header, no similarities there should be able to deceive. Part 5 and 6 contain no actual binary payload. Part 5 is there only to provide the other half of the factorial key to validate part 4, and part 6 is there to eliminate any timing vulnerability between part 4 and 5. Part 6 itself is vulnerable to someone trying to put a post out in its place, but it will not matter if that happens, since the last parts only purpose is merely to prevent the earlier parts from being vulnerable, and by the time you know what to fake to make your own part 6, part 5 must have safely arrived and provided the information needed to validate part 4, and part 4 is the last part you care about. Once the receiving software has seen the first through fifth parts, the content of parts 1 through N-2 (1-4 in this example) is all that matters, and part N-1 and part N (5 and 6 in this example), can be ignored by the reader software. It is suggested that part N-1 part (part 5 in this example) contain in its body a summary of the clear MIDs that comprise all the actual payload posts of the set (1 through N-2), but such a list isn't required to make the mechanism work. The final part (6 in this example), might as well have nothing in the body at all. It only has to exist to do its job. The reason I changed the name of the proposed forward link header because it isn't really a Message-ID anymore, it is a value generated from two Message-IDs, and as such not directly usable by a human. The reverse link in each part MUST be a clear Message-ID, to allow for the original thing I was trying to address, that of recovering missing parts. Because there is no directly usable forward link, a loss of posts N-2, N-1 and N would result in missing post recovery being impossible, but if any of those three made the trip, all Message-IDs could be recovered. (That's still better than the situation we have right now, which is no recovery strategy at all, other than the full set repost.) There is no apparent threat associated with having the Message-ID of the previous post be in the clear in subsequent posts, since that post referenced should have already been posted! Yes, this is more contorted than what I originally proposed, and requires the posting software to know what the next two Message-IDs are going to be in a given set know, and requires more smarts in the receiving software, but the strategy effectively addresses the forgery concern. This solution doesn't address the original goal as cleanly, that of allowing the recipient to know the Message-IDs of lost posts and recover them, but by working backwards starting from post N, N-1 or N-2 (the last payload post), the other Message-IDs can eventually be recovered, so I get most of what I was after, and the people worried about forgeries and timing vulnerability get a solution too. Frank Durda IV - only this address works:|"The Knights who say "LETNi" <uhclem.feb03%nemesis.lonestar.org> | demand... A SEGMENT REGISTER!!!" This Anti-spam address expires Feb. 28th |"A what?" http://nemesis.lonestar.org |"LETNi! LETNi! LETNi!" - 1983 Copr. 2003, ask before reprinting.
Technical Details
Message-ID:
<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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.airnews.net!cabal12.airnews.net!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>Show Full Headers
Complete Article Headers
Message-ID: <E4D03873E494E92E.C2BA96F52E36DB1A.A815175B4CE90D23@lp.airnews.net> Subject: Re: Power-Post 2003 - requesting input from authorities.. - TRY THIS Date: Fri, 03 Jan 2003 05:32:22 +0000 From: Frank Durda IV <uhclem.feb03@nemesis.lonestar.org> References: <av0bii$1co$2@puck.litech.org> <20030102011916.320$xR@newsreader.com> <65B5D3426DC71674.B0DBC1CDB021F8FD.9D54124FB2CFD750@lp.airnews.net> <1rwulnt0oc.fsf@vingodur.ifi.uio.no> 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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.airnews.net!cabal12.airnews.net!not-for-mail Newsgroups: news.software.nntp Organization: The Big Blue Box Lines: 176 X-Orig-Message-ID: <av3796$jd6@library1.airnews.net> Abuse-Reports-To: abuse at airmail.net to report improper postings NNTP-Proxy-Relay: library1-aux.airnews.net NNTP-Posting-Time: Thu Jan 2 23:32:22 2003 NNTP-Posting-Host: !_oOB0d%aSUs-XT (Encoded at Airnews!)