Article View: news.software.nntp
Article #62468Re: xBin (Power-Post 2003 - requesting input from authorities..)
From: Curt Welch
Date: Sat, 28 Dec 2002 06:01
Date: Sat, 28 Dec 2002 06:01
102 lines
6063 bytes
6063 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > (btw, apologies for posting replies without reading the complete > thread first.) > > [Curt Welch]: > there are two issues: > > * wasting people's bandwidth by posting articles with the hashes > copied verbatim from the original, but containing bogus data. It's done now and there's no defense against. The bogus posts not only waste bandwidth downloading that one bogus article, the users end up with a broken file and don't know way. With the xBin hash system they would end up with a valid file, and would simply have been forced to download a few extra bogus parts. And that's only before the servers start to filter the bogus parts so they can't cause problems. > there is no defence against this, but it is relatively benign from the > user's viewpoint. it's worse for the server, since its stats on > completeness would be skewed, If someone posts a fake the servers stats are skewed? How? > and this makes it harder to do > intelligent feeding or expire tricks. What are you talking about? > it could try to verify the hash > and throw it out if its a fake. this requires the part to include its > own hashes, since the server really don't want to look at several > articles to make decisions. With the xBin system, the server _can_ verify the article without looking at any other articles and toss it out if it's bogus. And the article does not need to include it's own hashes for that. The server does however have to decode and hash all the data in the article, so it's some work. The file hash is part of the Message-ID and the Signature header. The point of the signature header is that it includes everything you need to calcuate the hash of the file using the data in the post. When you calcuate the hash, if it doesn't match the Message-ID and Signature, you drop the article because it's either bogus or corrupted. > * foiling the download program so that it keeps bad data and throws > out good data That, as you point out, is only possible if someone can break SHA-1. The odds of that happening any time soon are small enough that's it's fair to just call it impossible. If it happens, the system will still be usable until then. And most likely, even if a weaknees is found in SHA-1, it will still require weeks of CPU time on a large distributed set of servers to create a single hash collision, which means it's too hard for anyone to care about on Usenet so it will still work fine for this application. > okay, this could never happen, since the offset is an odd value while > the segment size is even, but 16 hashes is a real possibility. It still could. There is no requirment to divide the file up evenly. Though it's not very likely and even less so because you are talking about a 6MB article which is seldom done. > I'm not sure we need this, though. isn't a single hash of the entire > segment good enough? nope. If you want to verify all the hash values in the signature, you have to have all partial tree hashes you talked about above. All those values get hashsed with other values in the signature and if you didn't include these, and instead included some higher value node above these, you would have no way of verifying the other hash values. The point of including these hash values in the signature is only so you can verify the other values. If you can't verify the other hash values in the signature, then I don't see any point of including any hash for the blocks included in the post. > > I need to find out more about what the current news servers do > > with large headers. I know INN had limits in the 1000 byte range, > > but that might only be for headers which the server was trying to > > use and not for "other" headers. > > I think that's only a limit for a single line, not a header. > typically a problem with References, which some clients still don't > fold or expect to be folded. I think you might be right. But INN I think had a limit on the max header for any header it had to use. I believe it unfolds those headers (like Date, Newsgroups:) into a fixed sized buffer of around 1KB and if the unfolded header was too long for one of those headers, it would be rejected. The question is are there any probelems like this for other headers? How about with XHDR? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20021228010157.435$qN@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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <cfka0vsbjdlbdmtv2gg8qnehok033qh5f1@4ax.com> <20021223041127.986$6M_-_@newsreader.com> <1rfzsoaacf.fsf@vingodur.ifi.uio.no> <20021223180543.105$Wn@newsreader.com> <20021223185652.700$BS@newsreader.com> <20021223203608.351$Qp@newsreader.com> <20021223223311.286$Mx@newsreader.com> <20021224034919.081$PY@newsreader.com> <20021224151028.847$pv@newsreader.com> <20021225035755.305$XK@newsreader.com> <1ry96bxi7m.fsf@sjau.ifi.uio.no>Show Full Headers
Complete Article Headers
Message-ID: <20021228010157.435$qN@newsreader.com>
Subject: Re: xBin (Power-Post 2003 - requesting input from authorities..)
Date: Sat, 28 Dec 2002 06:01:57 +0000
From: curt@kcwc.com (Curt Welch)
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <cfka0vsbjdlbdmtv2gg8qnehok033qh5f1@4ax.com> <20021223041127.986$6M_-_@newsreader.com> <1rfzsoaacf.fsf@vingodur.ifi.uio.no> <20021223180543.105$Wn@newsreader.com> <20021223185652.700$BS@newsreader.com> <20021223203608.351$Qp@newsreader.com> <20021223223311.286$Mx@newsreader.com> <20021224034919.081$PY@newsreader.com> <20021224151028.847$pv@newsreader.com> <20021225035755.305$XK@newsreader.com> <1ry96bxi7m.fsf@sjau.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!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com FrQlHY56YJBwvokf.sdxX19Ks1a2uekf+fcfRAlxfM4tQhz
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 101