Article View: news.software.nntp
Article #61817Re: There's more (was Re: Someone is sending head-only articles out to Usenet????
From: Curt Welch
Date: Tue, 05 Nov 2002 20:15
Date: Tue, 05 Nov 2002 20:15
90 lines
6602 bytes
6602 bytes
andrew@supernews.com wrote: > In article <20021103152721.486$ih@newsreader.com>, Curt Welch wrote: > It's malformed BECAUSE THE DOT HAS NOT BEEN ESCAPED. I was just bind to that being the source of the problem with the orginal post. You even shouted at me and I still didn't hear it. :) I had already made up my mind (incorrectly) that the problem was the LF following a DOT, and never realized there was a dot-stuffing problem with the article even though you were doing your best to point it out to me. These preconceived ideas can really blind you to the truth some times. > As for the bare-LF issue, RFC 977 is not explicit on the subject, so we > turn to the reference implementation ... I've re-read the RFCs now. It doesn't talk about a bare-lf, but it is very explicit on the subject of what what a line is and what terminates the data stream. ONLY CR LF is allowed to terminate a line, and ONLY CR LF DOT needs to be dot-stuffed, and ONLY CR LF DOT CR LF marks the end of an article. Diablo got all those wrong and is in clear violation of the RFC. And from what you say, the reference implementation got it wrong as well. If Diablo followed the RFC, there wouldn't be any problems with lone LFs. > The draft replacement for > 977 explicitly forbids either CR or LF appearing alone. Where is that? I have an August 1998 draft in front of me and and don't see it in there. Am I missing something? Is there an updated draft somewhere that has changed that now after 15 years? Many years back I had a long debate here with Matt (author of Diablo for those that don't know) about binary files over NNTP. His outlook was (and I assume still is) that Diablo already worked for that because to him, the Unix version of an article was "the standard" for Usenet. The only reason we converted LF to CR LF was to deal with the special requirements of NNTP (an internet standard which only used CR LF to match other internet standards which grew up out of other non-Unix OSs), and NNTP was just one of many transport options for Usenet and not "The standard for Usenet". The Usenet article as it appeared on a Unix box in an INN traditional spool was "the Usenet standard file" to Matt. If you wanted Usenet to support pure binay, you just put pure binary in the file (on a Unix system) and it "just worked". You still converted LF to CR LF when it was trasmitted over NNTP, and still converted CR LF pairs back to LF when you receive it. As long as everyone did this (and Diablo already did it, as well as INN), then binary over NNTP just worked. What's the big deal? He saw the CR LF <-> LF conversion as a conversion from NNTP to Usenet and to him, it was just an "NNTP" thing, not a Unix related issue at all. (Becaue the Unix version of the file was the Usenet standard). My arguement was that the Unix version of the file was no longer the right "Usenet standard"; and that the NNTP version of the article was now really the correct "Usenet Standard". As such, the CR LF <-> LF conversion was now just a "Unix Text File" issue (not an NNTP issue), and not something that someone writting an NNTP newsreader for a Mac would want to include in their code for dealing with "Binary Usenet Articles". But as Matt looked at this, it was something anyone reading Usenet articles from NNTP would do regardless of what the text file format of your OS might be, so of course, to extract a pure binary file from NNTP, you still had to do the CR LF to LF conversion. It's an interesting perspective. Our debate I belive started over the issue that Diablo was "broken" and prevented usenet from transporting binary over NNTP (because of the CR LF to LF conversions - I never caught on to the bigger LF DOT LF marker problem in all those debates). Matt of course was saying, "it's not broken", "it works now for transporting binay". i.e, the way I was talking about transporting pure-binary over NNTP was just wrong and pointless. Well, there's reason to support wire-format nntp servers regardless of your belief in what the "correct" format for binary usenet on NNTP is. But this whole LF DOT LF end-of-data marker problem and LF DOT dot-stuffing problem creates a whole new set of issues for that old debate. NNTP wire-format servers are still "a good thing" (they tend to support all options). But we are even further away from ever finding a way to transport pure binary over Usenet now. It looks to me like it's just never going to happen at this point. yEnc is about as dense a format as is practical for usenet. We might mange to replace yEnc with something better down the road, but replacing it with a format that allows pure binary looks like it may never happen at this point. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20021105151526.126$UC@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!newsfeed.telusplanet.net!rip!news.webusenet.com!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<20021102220425.532$Ov@newsreader.com> <us954gpfjs492a@corp.supernews.com> <20021102222437.838$Mm@newsreader.com> <slrnas967a.8p9.andrew+nonews@trinity.supernews.net> <20021102225642.902$eT@newsreader.com> <slrnas98f6.8p9.andrew+nonews@trinity.supernews.net> <20021102232508.136$0f@newsreader.com> <aq2alp$61b2a$1@ID-80930.news.dfncis.de> <20021103001847.653$nw@newsreader.com> <slrnas9drt.8p9.andrew+nonews@trinity.supernews.net> <20021103005855.983$iI@newsreader.com> <slrnas9fja.8p9.andrew+nonews@trinity.supernews.net> <20021103152721.486$ih@newsreader.com> <slrnasbhrd.8p9.andrew+nonews@trinity.supernews.net>Show Full Headers
Complete Article Headers
Message-ID: <20021105151526.126$UC@newsreader.com>
Subject: Re: There's more (was Re: Someone is sending head-only articles out to Usenet????
Date: Tue, 05 Nov 2002 20:15:26 +0000
From: curt@kcwc.com (Curt Welch)
References: <20021102220425.532$Ov@newsreader.com> <us954gpfjs492a@corp.supernews.com> <20021102222437.838$Mm@newsreader.com> <slrnas967a.8p9.andrew+nonews@trinity.supernews.net> <20021102225642.902$eT@newsreader.com> <slrnas98f6.8p9.andrew+nonews@trinity.supernews.net> <20021102232508.136$0f@newsreader.com> <aq2alp$61b2a$1@ID-80930.news.dfncis.de> <20021103001847.653$nw@newsreader.com> <slrnas9drt.8p9.andrew+nonews@trinity.supernews.net> <20021103005855.983$iI@newsreader.com> <slrnas9fja.8p9.andrew+nonews@trinity.supernews.net> <20021103152721.486$ih@newsreader.com> <slrnasbhrd.8p9.andrew+nonews@trinity.supernews.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!newsfeed.telusplanet.net!rip!news.webusenet.com!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 uL,jll9_3p6miHHdMud++iyDTJPZ8HLhXEV3MSzWUwAcWVj
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: 89