🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80505

Re: Broken headers and rejects

#80505
From: Julien ÉLIE
Date: Thu, 02 Apr 2009 17:48
55 lines
3217 bytes
Hi Russ,

>> Is it OK to accept articles containing empty headers fields when
>> IHAVE/TAKETHIS is used?
>>
>> It is currently that reject for INN:
>>
>> Apr  2 12:21:30.921 - ? (null) 439 No colon-space in "Distribution:" header
>> Apr  2 12:49:42.412 - localhost <a2@33> 439 No colon-space in "Cc:" header
>>
>> Such articles are not valid according to USEFOR but maybe we should not
>> reject them as USEPRO suggests for relaying agents.
>
> Such articles are syntactically invalid.  I would tend to reject them.

An article containing "Distribution:\r\n" should then be rejected.

Is it the same for "Distribution: \r\n" and "Distribution:     \r\n"?


What worries me most is that such checks should be done by injecting
and posting agents, not by relaying agents.  Should they really be
rejected once in general circulation?

Hmm...  Maybe an option should be provided.  For instance:

  compliance-nochecks = [ "empty-headers" ]

to allow them?
Or is it worthless doing?


>> Another question:  when a similar reject occurs, should its message-ID
>> be remembered?  (or should a chance be let for another copy, maybe
>> well-formed, of the article to be received?)
>
> I can't think of a case where we'd get a complete article with that syntax
> error and there was any real chance that we'd later get a copy of the
> exact same article without a syntax error, so I'd tend to remember it.

Well, Petr has examples of Cyclone's removing headers ("Distribution:\r\n"
disappears and the article previously rejected from a Diablo peer is
now valid from a Cyclone peer).

We also had examples of DNews' adding a blank line in empty bodies when
they relay the article.

And similar other *bad* behaviours which modify articles...

-- 
Julien ÉLIE

« Vita breuis, ars longa, occasio praeceps,
  experimentum pericolosum, iudicium difficile. » (Hippocrate)
Technical Details
Message-ID: <gr2tt5$v1o$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!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
References: <gr269e$8hh$1@news.trigofacile.com> <871vsb7zz5.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <gr2tt5$v1o$1@news.trigofacile.com>
Subject: Re: Broken headers and rejects
Date: Thu, 2 Apr 2009 19:48:46 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <gr269e$8hh$1@news.trigofacile.com> <871vsb7zz5.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!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 55
NNTP-Posting-Host: amontpellier-152-1-9-203.w81-251.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1238694631 31800 81.251.36.203 (2 Apr 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Thu, 2 Apr 2009 17:50:31 +0000 (UTC)
In-Reply-To: <871vsb7zz5.fsf@windlord.stanford.edu>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049