🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53540

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

#53540
From: Andrew Gierth
Date: Sun, 29 Jul 2001 02:14
32 lines
2794 bytes
>>>>> "J" == J B Moreno <planb@newsreaders.com> writes:

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

"8 bit clean" means something completely different to "allows binaries".

The reference implementation has never worked with NUL characters.

 >> but it has been discussed in the NNTP group, and it is known to
 >> break the majority of existing implementations, often causing
 >> article corruption as you've discovered. Even those
 >> implementations which have _attempted_ to support NULs in article
 >> bodies have usually botched the job on at least the first
 >> attempts.

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

Cyclone is about the only one that handles it. INN up to 2.2.x
truncates the article in some way; at least some more recent versions
explicitly reject the article instead. Diablo has an option (-Z) to
reject articles with NUL characters in, which you definitely want to
enable because the external filter code refuses to handle such
articles. I don't know about NNTPRelay.

So, I don't anticipate dropping the check for NUL characters in posts
on my server any time in the forseeable future.

-- 
Andrew.
Technical Details
Message-ID: <871yn0a3de.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster
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: <871yn0a3de.fsf@erlenstar.demon.co.uk>
Subject: Re: Server choking on nulls (was: Header compression - necessary, useful, senseless ?)
Date: Sun, 29 Jul 2001 02:14:05 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
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.ems.psu.edu!news.litech.org!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster
Newsgroups: news.software.nntp
Organization: disorganised
Lines: 31
NNTP-Posting-Host: erlenstar.demon.co.uk (4504:034d)
X-Mayan-Date: Long count = 12.19.8.7.15; tzolkin = 12 Men; haab = 13 Xul
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-Attribution: AG
X-P-Persistent-Headers: are a bad idea.
X-Newsreader: Gnus v5.5/Emacs 20.2
X-Complaints-To: andrew@erlenstar.demon.co.uk
X-Post-Filter: postfilter v0.6 alpha