🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61821

Re: There's more (was Re: Someone is sending head-only articles out to Usenet????

#61821
From: Curt Welch
Date: Wed, 06 Nov 2002 00:07
81 lines
5467 bytes
greg andruk <gja@meowing.net> wrote:
> curt@kcwc.com (Curt Welch) wrote:
>
> > 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".
>
> It's not even a Unix vs. NNTP thing.  One of the few details that are
> actually documented in RFC 1036 is that CRLF and LF are equivalent in
> article bodies.

I think you need to re-read the RFCs.  Maybe you are thinking of
son-of-1036?

1036 (and 850 before it) says nothing other than to reference 822.  And 822
defines lines very precisely as ending with CR LF and allowing lone CR and
lone LF in the text.  This however, like other issues with Usenet and
standards, never fit common practice because LF is commonly used as the end
of line character (but not commonly on NNTP).

And the newest non-standard replacement for 1036 is usefor and they have
gone back to the CR LF "definition" of a Usenet article.  But like the NNTP
draft, I believe they also have defined lone CR and lone LF out of the
equation.

But none of this is all that relevent because I wasn't debating Usenet
article format issues, I was depanding only the NNTP and what a "correct"
implementation should do.

> That's the UUCP rule, and it aplies to all articles for
> as long as UUCP is an accepted transmission format.  The same thing is
> documented in RFC 850 with different wording, so it can't even be written
> off as a typo.  It's intentionally ambiguous.

What version of 1036 and 850 are you reading?  Where is this documented?

> > 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".
>
> For honest binary Usenet, a protocol extension (or different protocol) is
> required,

It's not.  NNTP (per all the RFCs except the latest draft which makes it
illegal only by definition) moves binary fine.

> as well as a way to tell RFC 1036 articles from the binary
> ones.

Pick a standard, any standard.  There are many ways to do it.  But, if you
want one already documented:

MIME Content-Type: multipart/mixed with a body-parts that have a
Content-Transfer-Encoding: binary works fine over RFC-complient NNTP
  servers (like the Highwind servers) today.

The only reason they don't work in practice is because we have a bunch of
non RFC-complient NNTP servers out there like the pre-wire-format Diablo
still running loose.  But Diablo, the most commonly used server which
didn't do NNTP correctly in the recent past has been mostly (completely?)
fixed now with the wire-format changes.

And, though I've never found the answer to this, I thought INN did NNTP
correctly in innd but that nnrpd just has never been fixed, so posting
binary articles though INN still can't work.  But I have been told that
even innd doesn't get it completely right but I don't know what that means.

> Storing articles in NNTP format is a nice way to avoid a bunch of
> annoying string operations, but that' about it.

It's not an issue of what format you store it in, it's only an issue of how
you interprete the bytes you move over an NNTP connection.  And how the
NNTP server stores it is not important either as long as it's able to
re-transmit what it receives without corrupting the data (which
pre-wire-format Diablo is not able to do).

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20021105190700.191$ze@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!canoe.uoregon.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!chi1.webusenet.com!rip!news.webusenet.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
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> <20021105151526.126$UC@newsreader.com> <zoj3icjbhwag.dlg@meowing.net>

Show Full Headers
Complete Article Headers
Message-ID: <20021105190700.191$ze@newsreader.com>
Subject: Re: There's more (was Re: Someone is sending head-only articles out to Usenet????
Date: Wed, 06 Nov 2002 00:07:00 +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> <20021105151526.126$UC@newsreader.com> <zoj3icjbhwag.dlg@meowing.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!canoe.uoregon.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!chi1.webusenet.com!rip!news.webusenet.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com xLJItDC.idPSaM0QsV,CpCgVLz1N3B7WYgD.TXQ.fhGP_,
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: 80