πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82984

Re: Another cancel message filing problem

#82984
From: Russ Allbery
Date: Mon, 12 Apr 2010 18:01
23 lines
2130 bytes
Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid> writes:

> Or innd could parse it, allowing FWS (or even CFWS).

> In ARTcontrol (innd/art.c):

>    for (p = &Control[6]; ISWHITE(*p); p++)
>      continue;

> we could use our skip_cfws() or skip_fws() functions instead of that loop.

> Would it be wise to do that or should we remain strict about that parsing?

For control messages, I'd be strict and just reject malformatted ones in
innd.  It's generally worth being extra-strict with control messages,
since for the most part what you reject that way are forged cancels, alt.*
newgroupers who don't know what they're doing, and similar junk.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87d3y4lfds.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.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!usenet.stanford.edu!usenet-its.stanford.edu!not-for-mail
References: <hpoa7p$qmj$1@snarked.org> <8739z2pytx.fsf@windlord.stanford.edu> <hptbhg$dn5$1@snarked.org> <hptege$31v$1@news.trigofacile.com> <hpughi$ile$1@snarked.org> <hpukaf$dkm$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <87d3y4lfds.fsf@windlord.stanford.edu>
Subject: Re: Another cancel message filing problem
Date: Mon, 12 Apr 2010 11:01:03 -0700
From: Russ Allbery <rra@stanford.edu>
References: <hpoa7p$qmj$1@snarked.org> <8739z2pytx.fsf@windlord.stanford.edu> <hptbhg$dn5$1@snarked.org> <hptege$31v$1@news.trigofacile.com> <hpughi$ile$1@snarked.org> <hpukaf$dkm$1@news.trigofacile.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.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!usenet.stanford.edu!usenet-its.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 23
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: usenet-its.stanford.edu 1271095263 3865 171.67.225.134 (12 Apr 2010
X-Complaints-To: news@usenet-its.stanford.edu
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock: sha1:JJNrbWaXDgOo7gmgMSTg2oKwLUc=