🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30031

Re: REPOST: Re: Content-Transfer-Encoding: binary

#30031
From: Matt Dillon
Date: Sun, 26 Jul 1998 00:00
107 lines
5589 bytes
:In article <6pga50$olf$1@unlnews.unl.edu>,
:Greg Berigan  <gberigan@cse.unl.edu> wrote:
:>In news.software.readers, dillon@best.net (Matt Dillon) wrote:
:>>Greg Berigan <gberigan@cse.unl.edu> wrote:
:>
:>>> Unencoded binaries just aren't possible.  There must be at least some
:>>> escaping of characters and character sequences.  The CR, LF, and NUL
:>>> characters would have to be escaped, CRLFs would have to be put in the
:>>> message to comply with line length restrictions (every 72 bytes IMO) and
:>>> have no significance by receiving software.  The character used to
:>>> escape these characters would need to be escaped itself.
:>
:>> Unencoded binaries are certainly possible.  I know of no line length
:>> restrictions... certainly Diablo, INN, DNews, and Cyclone don't have
:>> any.
:>
:>Guess again.  1000 byte line buffers, including CRLF and
:>string-terminating NUL.

    ??Where?  Not in any of the major news transit systems that 
    I know of there isn't.

    Of course, clients are a different matter...  but adding binary support
    to the clients would follow relatively quickly if a standard were devised.

:>> You have to escape certain things in the protocol (LF->CRLF,
:>> lines beginning with dots .->..) that the other side unescapes
:>> (CRLF->LF, ..->. at the beginning of a line), and you have terminate
:>> the article with a CRLF in order for the following '.' terminator to work.
:>
:>And if the binary also has "CRLF.." sequences in it, what then?  Would
:>it get pass into the system without change but be translated back
:>inappropriately as "LF."?

    Think:  CRLF turns into CR{CRLF} which then gets turned back into 
    CR{LF}.  It works just fine.

    I know this works because I've tested it.  Hell, I *WROTE* Diablo.
    I ought to know, eh ?

:>> You do NOT have to escape NULs or any other characters ( even though
:>> some older software can't deal with them... well too bad! ).
:>
:>Yeah, that just means a lot of people downstream from such a site (which
:>can be a majority if it is a close upstream site to you) will get lines
:>that are mysteriously truncated because some software thought the NUL
:>was the end of the string.

    If some odd piece of transit software can't handle the feed, it blows
    up.  Dude, people are ALREADY sending NUL's in articles.   Sites running
    transit software have already had to upgrade and those that don't get
    mired in backed-up and non-working feeds, or corrupted articles, every
    week or two.

:>> This is a problem for the news client and should not be addressed in
:>> the news transfer protocols or the NNTP protocol.
:>
:>So everyone must upgrade their readers to suppress display of raw binary
:>posts?  Take a look how many people still use TIN 1.2 PL2 or earlier.

    Hey, if you want the binary you'll upgrade your reader.  If not, you 
    are S.O.L.  That's how it has always worked.

    Since you aren't interested in binaries, you don't have to worry.  Just
    don't download anything with the title 'Pamela anderson BIG GIF 
    Part 01/55".

    What you are arguing here is basically "Since some of the code out
    there is broken we therefore should not ever in the future of the
    USENET implement new standards to fix the problems" (my quote).  That's 
    a bullshit argument that doesn't fly.

:>> Yup.  Virtually all legitimate binary distributions have moved off of
:>> USENET and onto the web.
:>
:>Or FTP.

    Same difference.

:>So why should we care about creating a clean protocol for (on the whole
:>illegal) binary content on Usenet?  There's nothing left deserving that
:>support, only the support demanded under threat of feed-swamping binary
:>traffic which continues to grow.

    8 bit clean is a goal that a lot of people have had for a long time.
    uucp/uucico had it, then we lost it with NNTP, now we are close to getting
    it back again.  What *SOME* people may use the capability for is not
    a good enough reason to scrap it as an overall goal.   There are many
    other reasons to support 8-bit clean, including being able to handle
    UNICODE and other multi-lingual encoding schemes straight.  There are 
    many groups that already use the fact that most transit systems are
    8-bit clean.

					-Matt

:>         ,=<#)-=#  <http://incolor.inetnebr.com/wotw/> (The War of the Worlds)
:>    ,_--//--_,
:> _-~_-(####)-_~-_   Please pardon any typos.  Bandwidth is often at a premium,
:>(#>_--'~--~`--_<#)  with connection too sluggish to support post-editing.


-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Technical Details
Message-ID: <6pggup$t2e$1@flea.best.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!not-for-mail
References: <slrn6qs63j.8b9.usenet@hmmm.colo.erols.net> <6pfml1$jca$1@unlnews.unl.edu> <6pg14r$97n$1@flea.best.net> <6pga50$olf$1@unlnews.unl.edu>

Show Full Headers
Complete Article Headers
Message-ID: <6pggup$t2e$1@flea.best.net>
Subject: Re: REPOST: Re: Content-Transfer-Encoding: binary
Date: Sun, 26 Jul 1998 00:00:00 +0000
From: dillon@best.net (Matt Dillon)
References: <slrn6qs63j.8b9.usenet@hmmm.colo.erols.net> <6pfml1$jca$1@unlnews.unl.edu> <6pg14r$97n$1@flea.best.net> <6pga50$olf$1@unlnews.unl.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: 375157933
X-Trace: 901498652 27729 dillon 206.184.139.131
Organization: Best Internet Communications, Inc.
Newsgroups: news.software.readers,news.software.nntp