🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #29831

Re: What to do about articles with NULLs?

#29831
From: Fluffy -- The Other White Meat
Date: Thu, 16 Jul 1998 00:00
52 lines
3311 bytes
On 16 Jul 1998, Clayton O'Neill wrote (sorta):

> |I think that news software should mangle these articles,
> Doh, I meant shouldn't mangle articles with NUL's embedded.   at best it is
> |allowed to reject them.

Yeah, I agree.  I took a look at the code, then dug around for
a while in search of my code-hacking abilities, and failing to
find anything, decided that what I'd do now is try to see if I
can (with the hideously-hacked INN-CNFS we're running) determine
if the article is improperly terminated, and if so, syslog it
for analysis and then forget about the article, rather than
trying to pass it along in its corrupted (truncated) form.


>  Most of the newer transport software understands
> |how to move articles in an 8-bit clean fashion.  Personally, I'd like to see
> |more clients take advantage of this by posting binaries in binary instead of
> |base64/uuencode.  It'd save all of us that transit and store binaries an
> |enormous amount of disk space and bandwidth.

I agree too, the only problem, and it is a big one, is the legacy
base of unpatched INN 1.* software out there that just is not
going to go away, period, no matter what is required.  Pretty
much every binary, every coredump, anything posted will get
truncated and corrupted on those systems.  Even though the
savings in bandwidth and disk space won't be too enormous, it'll
take a bit of a chunk out of today's needs.

In reading the Usenet Article Format draft mentioned earlier,
it does require the transit software to be able to handle the
articles as arbitrary octets, which, as seen, INN can't do,
while it also specifically disallows the NULL^H (been staring
at too much code, sorry), the simple fact that so many articles
presently out there contain them even without inadvertent bugs
causing corruption, and thus plenty of other software makes no
effort to enforce this requirement on articles entering the
bloodstream, makes me think the only practical solution is to
hack at INN to pass these NUL characters (don't know how the
handling of arbitrarily long lines of binary data works now,
but if sendmail can be rewritten to safely handle all 8-bit
data, I'm sure someone out there, not me, would know how to
butcher INN to comply).

Or something.


Barry Bouwsma
will happily apply other people's patches for food


Technical Details
Message-ID: <Pine.LNX.3.96.980716172153.1145B-100000@coredump.int.tele.dk>
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: <Pine.LNX.4.00.9807112227530.511-100000@coredump.int.tele.dk> <slrn6qs3n2.8b9.usenet@hmmm.colo.erols.net> <slrn6qs5t0.8b9.usenet@hmmm.colo.erols.net>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.3.96.980716172153.1145B-100000@coredump.int.tele.dk>
Subject: Re: What to do about articles with NULLs?
Date: Thu, 16 Jul 1998 00:00:00 +0000
From: Fluffy -- The Other White Meat <fluffy@vszbr.cz>
References: <Pine.LNX.4.00.9807112227530.511-100000@coredump.int.tele.dk> <slrn6qs3n2.8b9.usenet@hmmm.colo.erols.net> <slrn6qs5t0.8b9.usenet@hmmm.colo.erols.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
X-Deja-AN: 372053687
X-Sender: fluffy@coredump.int.tele.dk
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Trace: news-inn.inet.tele.dk 900603457 53104 (None) 193.163.158.4 (16-07-98 15:37:37 GMT)
Organization: Church of Meow
Mime-Version: 1.0
Reply-To: Barry Bouwsma <ag786@yfn.ysu.edu>
Newsgroups: news.software.nntp