🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62925

Re: NNTP and YENC

#62925
From: Bart Crane
Date: Tue, 07 Jan 2003 20:08
81 lines
4148 bytes
"Frank Slootweg" <franks@neth.hp.com> wrote in message
news:avev30$qt3$6@support.neth.hp.com...
> Bart Crane <svcrane@attbi.com> wrote:
> > "Zem" <invalid@invalid.invalid> wrote in message
> > news:Xns92FC23A37303ZemZemZem@66.150.105.46...
> [re-hashed stuff deleted]
> >> The spec doesn't define any special treatment for 0x1A. Within the
> >> context of an NNTP stream, 0x1A is just another character. If an
> >> implementation treats 0x1A as an end of data marker, it violates the
NNTP
> >> protocol which defines the end of data marker as CRLF.CRLF .
> >
> > That is the end of article indicator.
> >
> > If you retrieve multiple articles into a single file, CRLF.CRLF does
> > not mean end-of-data.
>
>   Yes, as far as *NNTP* is concerned, CRLF.CRLF *does* mean end-of-data
> (i.e. end of article).

Yes, and this is a possible workaround.  By saving each
article in its own file, any embedded ctrl-z will invalidate only
that article, and the remaining articles will be processed.

This is not an efficient solution, as it requires spawning the
nntp-client and decoder for each article retrieved.  The way
I handle multi-parts will need to change.  But, it is viable,
especially given that most processing is done in the
background.

> *NNTP* has no concept of "retrieving multiple
> articles into a single file". That is (somewhat of) a *Usenet* concept.

You misunderstand the way my nntp-client works.  All it
does is implement the NNTP spec enough to retrieve
articles and write them to stdout.  There is no concept
of storing articles in files in my nntp-client.

This is, of course, the problem.  The data being
transported is supposed to be "text", but it contains
values that my operating system interprets as control
characters.

> (And again, "Usenet" != "NNTP", and Usenet does not even *need* NNTP,
> and Usenet *predates* NNTP, and .... ad infinitum.)

Usenet does not need NNTP, but when it does use NNTP
servers on the public network, it should conform to the
NNTP spec.

My nntp-client is written to the spec, yet it is failing on data
from other clients.

I would like nntp-servers to not forward to me data that
is outside the range of text.

How about the server testing for an X-header that
indicates its ability to receive a non-text stream?


>
>   No offense, but this is not really your area of expertise, is it?

Text-mode processing is definitely an area of expertise for me
(many years ago).  I wrote my own versions of the standard
unix utilities, and I and others use them every day.

NNTP is not my area of expertise.  I can only go by the spec.


> Perhaps it is better to (start to) listen/try_to_understand, instead of
> trying to 'educate'/'convince' people who are obviously more informed
> than you?

I am definitely listening.




Technical Details
Message-ID: <utGS9.601902$P31.217433@rwcrnsc53>
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!arclight.uoregon.edu!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc53.POSTED!not-for-mail
References: <BXLR9.432835$pN3.48082@sccrnsc03> <ylisx3xsbd.fsf@windlord.stanford.edu> <QZrS9.133$ds6.237079@news.uswest.net> <Xns92FBF0F662B2CZemZemZem@66.150.105.46> <zyuS9.467090$pN3.50832@sccrnsc03> <Xns92FC23A37303ZemZemZem@66.150.105.46> <p_BS9.469829$pN3.50807@sccrnsc03> <avev30$qt3$6@support.neth.hp.com>

Show Full Headers
Complete Article Headers
Message-ID: <utGS9.601902$P31.217433@rwcrnsc53>
Subject: Re: NNTP and YENC
Date: Tue, 07 Jan 2003 20:08:58 GMT
From: "Bart Crane" <svcrane@attbi.com>
References: <BXLR9.432835$pN3.48082@sccrnsc03> <ylisx3xsbd.fsf@windlord.stanford.edu> <QZrS9.133$ds6.237079@news.uswest.net> <Xns92FBF0F662B2CZemZemZem@66.150.105.46> <zyuS9.467090$pN3.50832@sccrnsc03> <Xns92FC23A37303ZemZemZem@66.150.105.46> <p_BS9.469829$pN3.50807@sccrnsc03> <avev30$qt3$6@support.neth.hp.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!arclight.uoregon.edu!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc53.POSTED!not-for-mail
Newsgroups: news.software.nntp
Lines: 80
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 12.234.193.86
X-Complaints-To: abuse@attbi.com
X-Trace: rwcrnsc53 1041970138 12.234.193.86 (Tue, 07 Jan 2003 20:08:58 GMT)
NNTP-Posting-Date: Tue, 07 Jan 2003 20:08:58 GMT
Organization: AT&T Broadband