🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53539

Re: Server choking on nulls (was: Header compression - necessary, useful, senseless ?)

#53539
From: Jan Ingvoldstad
Date: Sun, 29 Jul 2001 00:19
44 lines
3123 bytes
On Sat, 28 Jul 2001 19:59:56 -0400, "J.B. Moreno"
<planb@newsreaders.com> said:

> I don't agree -- it does mention 8bit transport.  To me, that implies
> that it should be 8 bit clean.

I take it you mean the following?

2.2.  Character Codes

   Commands and replies are composed of characters from the ASCII
   character set.  When the transport service provides an 8-bit byte
   (octet) transmission channel, each 7-bit character is transmitted
   right justified in an octet with the high order bit cleared to zero.

The use of ASCII implies 7-bit format commands and replies, while this
section tells people how to work things out with an 8-bit transport.
 

> Curt says Cyclone handles it, and I thought INN did, which servers are
> known to break?

A small test reading from INN 1.7.2 and INN 2.2 shows that the null
character indeed terminates the string, but only for the current
line.

I've just posted an article to misc.test, with the following
Message-ID:

  <oasofq48u86.fsf@tyrfing.ifi.uio.no>

The body before the signature contains the following, when read with
INN 1.7.2 or INN 2.2 (I don't know whether that's the way it is stored
in the spool, of course):

  The character '
  ("The character '\0' may or may not terminate this line prematurely.")

-- 
In the beginning was the Bit, and the Bit was Zero.  Then Someone
said, Let there be One, and there was One.  And Someone blessed them,
and Someone said unto them, Be fruitful, and multiply, and replenish
the Word and subdue it: and have dominion over every thing that is.
Technical Details
Message-ID: <oasn15o8u3s.fsf@tyrfing.ifi.uio.no>
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!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!129.240.148.23!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
References: <3009e.q71214@archiver.winews.net> <20010726131654.725$7w@newsreader.com> <0t3b605fdfi155bn3e9%md@wonderland.linux.it> <20010726175821.025$Hd@newsreader.com> <4112a.r71201@archiver.winews.net> <20010727120040.184$4k@newsreader.com> <280720010219054011%planb@newsreaders.com> <87wv4td0ql.fsf@erlenstar.demon.co.uk> <280720011513067165%planb@newsreaders.com> <87d76kako1.fsf@erlenstar.demon.co.uk> <280720011959565155%planb@newsreaders.com>

Show Full Headers
Complete Article Headers
Message-ID: <oasn15o8u3s.fsf@tyrfing.ifi.uio.no>
Subject: Re: Server choking on nulls (was: Header compression - necessary, useful, senseless ?)
Date: Sun, 29 Jul 2001 00:19:35 +0000
From: Jan Ingvoldstad <jani@ifi.uio.no>
References: <3009e.q71214@archiver.winews.net> <20010726131654.725$7w@newsreader.com> <0t3b605fdfi155bn3e9%md@wonderland.linux.it> <20010726175821.025$Hd@newsreader.com> <4112a.r71201@archiver.winews.net> <20010727120040.184$4k@newsreader.com> <280720010219054011%planb@newsreaders.com> <87wv4td0ql.fsf@erlenstar.demon.co.uk> <280720011513067165%planb@newsreaders.com> <87d76kako1.fsf@erlenstar.demon.co.uk> <280720011959565155%planb@newsreaders.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!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!129.240.148.23!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
Newsgroups: news.software.nntp
Organization: KRST, People's Front Against MWM
Lines: 43
NNTP-Posting-Host: tyrfing.ifi.uio.no
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: maud.ifi.uio.no 996365971 22152 129.240.64.16 (29 Jul 2001 00:19:31 GMT)
X-Complaints-To: abuse@ifi.uio.no
NNTP-Posting-Date: 29 Jul 2001 00:19:31 GMT
X-url: http://www.stud.ifi.uio.no/~jani/
X-Newsreader: Gnus v5.7/Emacs 20.3