🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46467

Re: Encoding binary data

#46467
From: Andrew Gierth
Date: Wed, 17 May 2000 00:00
43 lines
2623 bytes
>>>>> "Anne" == Anne Wilson <anne@unidata.ucar.edu> writes:

 Anne> If I need to make 'small' changes to INN, I can do that
 Anne> (although that may lead to a maintenence morass that could be
 Anne> bad enough to make it prohibitive...)  In looking at the
 Anne> innxmit code, it looks like the only encoding it explicitly
 Anne> handles is quoted printable:

Forget about innxmit's encoding nonsense - that should probably never
have been included in the first place, and it has never been more than
an optional feature of dubious legitimacy.

 Anne> Does this mean that anything else will bomb?

News transit code generally works on the principle that article
bodies are uninterpreted sequences of lines, and the only reason
that they even look at the line terminations is to handle article
termination, quoting of '.', and the Lines: value in the overview
data.

 Anne> On the other hand, the latest IETF draft of "News Article
 Anne> Format" (Feb.  2000) says explicitly,

 Anne>     "Transmission paths for news articles MUST treat news
 Anne>    articles as uninterpreted sequences of octets, excluding the
 Anne>    values 0 (ASCII NUL) and 13 and 10 (ASCII CR and LF, which
 Anne>    MUST ONLY appear in the combination CRLF which denotes a
 Anne>    line separator).

This is consistent with common implementations.

 Anne> I need to look at these RFCs to see what a news server SHOULD
 Anne> do, but that still doesn't tell me if INN will handle some
 Anne> other encoding.

INN (and Diablo, and NNTPRelay, and Cyclone) will handle any encoding
you like, providing the restrictions on NUL, CR, LF (and the proper
handling of '.') are followed.

-- 
Andrew.

Technical Details
Message-ID: <874s7x10pt.fsf@erlenstar.demon.co.uk>
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!not-for-mail
References: <3921BBF8.F251A540@unidata.ucar.edu> <brad-EFB5E3.12323217052000@news.skynet.be> <3922D896.DE4D25D5@unidata.ucar.edu>

Show Full Headers
Complete Article Headers
Message-ID: <874s7x10pt.fsf@erlenstar.demon.co.uk>
Subject: Re: Encoding binary data
Date: Wed, 17 May 2000 00:00:00 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <3921BBF8.F251A540@unidata.ucar.edu> <brad-EFB5E3.12323217052000@news.skynet.be> <3922D896.DE4D25D5@unidata.ucar.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.mbox.zip!not-for-mail
X-Deja-AN: 624649519
X-Mayan-Date: Long count = 12.19.7.3.17; tzolkin = 3 Caban; haab = 0 Zip
X-Complaints-To: andrew@erlenstar.demon.co.uk
Organization: disorganised
X-Attribution: AG
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-P-Persistent-Headers: are a bad idea.
Newsgroups: news.software.nntp
X-Post-Filter: postfilter v0.6 alpha