🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80673

Re: basic nntp connections question

#80673
From: Curt Welch
Date: Thu, 23 Apr 2009 00:05
46 lines
4246 bytes
Russ Allbery <rra@stanford.edu> wrote:
> curt@kcwc.com (Curt Welch) writes:
>
> > Even though the protocol was designed for sending text, it works fine
> > for sending pure binary as well. The only limitation is that the
> > article must end with CR LF.
>
> Which means that it's not fine for sending pure binary.  This is an
> either/or sort of thing; I don't believe it's a good idea to say
> something works fine when it can't deliver in a significant corner case.
> There are protocol changes one could make that would give you *real*
> binary transport, similar to the ones made for SMTP.

I just meant that it's fine as is for transporting pure binary _streams_
embedded in the return value - not that entire binary _files_ could be
returned without some extra protocol to encapsulate it.

Of course, the "extra protocol to encapsulate it" need be nothing more than
"strip off the final CR LF" so the point is rather pointless to bring up
when talking about a custom NNTP command as we were.  NNTP article
transport is of course not a raw binary file transport and never has been
and never can be because not only must it end with CR LF it must have a
valid header which is clearly not arbitrary binary data.  You can't post a
jpg as an article and expect to to the transported because it doesn't have
a header with a Message-ID.  You also can't post it as the body alone
because of the training CR LF requirement.  It must be encapsulated using
some high level protocol.

The question here was not one of how or if binaries _files_ could be
transported by only binary _data_ could be transmitted using a custom
compressed header command.  We weren't talking about articles.

> > All modern servers should be 8 bit clean if at all possible.
>
> Modern servers are *required* to be 8-bit clean,

That's good to hear.

> but that's not the same
> thing as binary-clean.  (The terms are defined in the MIME standards.)

Does "binary-clean" in MIME mean "no trailing CR LF requirement"?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Technical Details
Message-ID: <20090422200152.652$28@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.20141118.mbox.gz!border1.nntp.ams.giganews.com!feed.xsnews.nl!border-2.ams.xsnews.nl!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!transit3.readnews.com!news-xxxfer.readnews.com!transit4.readnews.com!news-out.readnews.com!postnews3.readnews.com!nr5-q1.newsreader.com.POSTED!not-for-mail
References: <gdydnR0nDbBlYXrUnZ2dnUVZ_tKdnZ2d@giganews.com> <E5idnfcWEqrEIHXUnZ2dnUVZ_qydnZ2d@giganews.com> <gsah2r$94p$1@news.trigofacile.com> <gsahhb$9ir$1@news.trigofacile.com> <gsb4hm$p61$1@news4.rz.uni-karlsruhe.de> <gsc12f$mbc$1@news.trigofacile.com> <gsdi70$orf$1@news4.rz.uni-karlsruhe.de> <gsdmd8$fct$1@news.trigofacile.com> <gslg8m$uqr$1@news4.rz.uni-karlsruhe.de> <gsmbpt$vrl$1@news.trigofacile.com> <gsml6l$chq$1@news4.rz.uni-karlsruhe.de> <gsnmu1$7v2$1@news.trigofacile.com> <gsnpfh$quc$1@news4.rz.uni-karlsruhe.de> <20090422155433.725$kP@newsreader.com> <87y6ts75d8.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <20090422200152.652$28@newsreader.com>
Subject: Re: basic nntp connections question
Date: Thu, 23 Apr 2009 00:05:03 +0000
From: curt@kcwc.com (Curt Welch)
References: <gdydnR0nDbBlYXrUnZ2dnUVZ_tKdnZ2d@giganews.com> <E5idnfcWEqrEIHXUnZ2dnUVZ_qydnZ2d@giganews.com> <gsah2r$94p$1@news.trigofacile.com> <gsahhb$9ir$1@news.trigofacile.com> <gsb4hm$p61$1@news4.rz.uni-karlsruhe.de> <gsc12f$mbc$1@news.trigofacile.com> <gsdi70$orf$1@news4.rz.uni-karlsruhe.de> <gsdmd8$fct$1@news.trigofacile.com> <gslg8m$uqr$1@news4.rz.uni-karlsruhe.de> <gsmbpt$vrl$1@news.trigofacile.com> <gsml6l$chq$1@news4.rz.uni-karlsruhe.de> <gsnmu1$7v2$1@news.trigofacile.com> <gsnpfh$quc$1@news4.rz.uni-karlsruhe.de> <20090422155433.725$kP@newsreader.com> <87y6ts75d8.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!feed.xsnews.nl!border-2.ams.xsnews.nl!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!transit3.readnews.com!news-xxxfer.readnews.com!transit4.readnews.com!news-out.readnews.com!postnews3.readnews.com!nr5-q1.newsreader.com.POSTED!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-NRC-Trace: NewsReader.Com A0p7O=lUZx/oPlo6m8LV02//Bz1My8xVARsY9Z9fRElb5yX2A
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: 46
NNTP-Posting-Host: 47fba59c.nr5-q1.newsreader.com
X-Trace: DXC=83K5L[V0GRnYO^aa:eoH0abgZaH`e<A[iZ?:i9<JJBSnEfL9bmAOLbjiJ;
 iV2YAoGe<HKZPBfghJbmEA[DKCl6Mk
X-Complaints-To: abuse@newsreader.com
X-Original-Bytes: 3850