🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46175

Re: null characters

#46175
From: Russ Allbery
Date: Sat, 29 Apr 2000 00:00
33 lines
2062 bytes
Curt Welch <curt@kcwc.com> writes:

> And your code which parses the NNTP stream needs to be able to deal with
> nulls because there are lots of articles which have them today.  I cross
> post all articles with nulls in them to local.nulls and the group
> currently contains 16000 articles (for a 2wk period).

Most of them, however (at least the last time I checked) are either spam
or badly mangled binaries, although a few people's news clients do seem
capable of producing them and occasionally I have to strip them out of
articles when I approve them for groups that I moderate.

> In my opinion, an NNTP tranist server should be able to receive, and
> re-transmit any article without changing it at all (other than the Path:
> header and an optional Xref: header).

Agreed.

However, be aware that C News will have *serious* problems with articles
with embedded nuls, so if you're feeding any C News sites, you do need to
be careful to not feed them those articles.

> There are newsreaders which uuencode data without doing the leading DOT
> encoding like it should.

The fact that a newsreader was able to post such an article to Usenet
indicates that its local news server has a serious bug.  Such articles
*definitely* should be rejected on POST.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <yl66t0zb8w.fsf@windlord.stanford.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
References: <390a764e.356264270@news.nntpserver.com> <20000429023841.446$kG@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <yl66t0zb8w.fsf@windlord.stanford.edu>
Subject: Re: null characters
Date: Sat, 29 Apr 2000 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <390a764e.356264270@news.nntpserver.com> <20000429023841.446$kG@newsreader.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!not-for-mail
X-Deja-AN: 617340938
Content-Type: text/plain; charset=us-ascii
Organization: The Eyrie
Mime-Version: 1.0
User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne)
Newsgroups: news.software.nntp