Article View: news.software.nntp
Article #79579Re: INN 2.5 changes
From: Julien ÉLIE
Date: Mon, 27 Oct 2008 07:41
Date: Mon, 27 Oct 2008 07:41
85 lines
4860 bytes
4860 bytes
Hi Xavier,
> Julien ÉLIE wrote:
>> As for bleachbot's cancels, they finish with "[headers]CRLFCRLF.CRLF"
>> when they are corrupted. Otherwise, it is "[headers]CRLFCRLFCRLF.CRLF".
>
> Humm, this should definitely be a single CRLF. The reason is to allow "half-bogus" servers not to show control messages to users
> and/or prevent badly written news2mail gateways to pass these messages (because they are empty). [In theory, control messages
> should be recognized by their "control:" header, but badly written news software do exist.]
Hmm...
If you only give headers, INN rejects the message with ARTerror(cp, "No body")...
"[headers]CRLFCRLF.CRLF" should be used (two consecutive CRLF).
TAKETHIS
[good headers]
..
439
--> reject
TAKETHIS
[good headers]
..
239
--> OK
You have to use at least 2 CRLF. They separate the headers from the body.
See RFC 3977:
3.6. Articles
An article consists of two parts: the headers and the body. They are
separated by a single empty line, or in other words by two
consecutive CRLF pairs (if there is more than one empty line, the
second and subsequent ones are part of the body). In order to meet
the general requirements of NNTP, an article MUST NOT include the
octet NUL, MUST NOT contain the octets LF and CR other than as part
of a CRLF pair, and MUST end with a CRLF pair. This specification
puts no further restrictions on the body; in particular, it MAY be
empty.
9.7. Articles
This syntax defines the non-terminal <article>, which represents the
format of an article as described in Section 3.6.
article = 1*header CRLF body
header = header-name ":" [CRLF] SP header-content CRLF
header-content = *(S-CHAR / [CRLF] WS)
body = *(*B-CHAR CRLF)
> It also save (a bit of) space.
:)
>> Xavier, do you send two different structures for your messages?
>
> In theory, no - the sending function is the same. I'll check that. Err, I just checked, and the code is supposed to send only
> <last header>\r\n\r\n.\r\n in all cases. Hummm. I'll double check then.
Could you please see what happened for:
<cancel.daae1c79-b552-4193-9aed-ff9aa7fc4014@u46g2000hsc.googlegroups.com>
I see \r\n\r\n\r\n.\r\n in it.
> By the way, which versions of INNd should be upgraded ? I've never see the problem with my 2.4.4 (20060818 snapshot)
INN 2.4.x is not affected. It is only for people who are using INN 2.5
(version < 26 October 2008).
--
Julien ÉLIE
« Il y a un vieux proverbe chinois qui dit : "Quand tu n'as plus rien
à dire, cite un vieux proverbe chinois." »
Technical Details
Message-ID:
<ge3ran$b4m$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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!news.ecp.fr!news.trigofacile.com!not-for-mailReferences:
<4fe75eb585nospam@nomaps.amnops.invalid><96999eef4f.old_coaster@old_coaster.yahoo.co.uk><4ff0aa015anews*@Torrens.org.uk><e8b1ebf04f.old_coaster@old_coaster.yahoo.co.uk><4ff1166e24zuiderduin@hotmail.com><2c8324f14f.old_coaster@old_coaster.yahoo.co.uk><2a516ef14f.old_coaster@old_coaster.yahoo.co.uk><slrngfqqcm.be5.rayban@banana.shacknet.nu><gdjr3u$da6$1@news.trigofacile.com><80iqrmbdy4.fsf@banana.shacknet.nu><gdl7bl$38g$1@news.trigofacile.com><8063nlixaj.fsf@banana.shacknet.nu><gdlbjs$8d1$1@news.trigofacile.com><807i812hw9.fsf@banana.shacknet.nu> <gdnm1b$f3$1@news.trigofacile.com><80skqoechb.fsf@banana.shacknet.nu><gdnqk3$9d4$1@news.trigofacile.com><80k5c0e94n.fsf_-_@banana.shacknet.nu><gdnuk5$e0e$1@news.trigofacile.com><80fxmoe895.fsf@banana.shacknet.nu><gdvl6q$lll$1@news.trigofacile.com> <80prlo1qkz.fsf@banana.shacknet.nu> <gdvtei$vbq$1@news.trigofacile.com> <ge3oob$22d$1@news.httrack.net>Show Full Headers
Complete Article Headers
Message-ID: <ge3ran$b4m$1@news.trigofacile.com> Subject: Re: INN 2.5 changes Date: Mon, 27 Oct 2008 08:41:08 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <4fe75eb585nospam@nomaps.amnops.invalid><96999eef4f.old_coaster@old_coaster.yahoo.co.uk><4ff0aa015anews*@Torrens.org.uk><e8b1ebf04f.old_coaster@old_coaster.yahoo.co.uk><4ff1166e24zuiderduin@hotmail.com><2c8324f14f.old_coaster@old_coaster.yahoo.co.uk><2a516ef14f.old_coaster@old_coaster.yahoo.co.uk><slrngfqqcm.be5.rayban@banana.shacknet.nu><gdjr3u$da6$1@news.trigofacile.com><80iqrmbdy4.fsf@banana.shacknet.nu><gdl7bl$38g$1@news.trigofacile.com><8063nlixaj.fsf@banana.shacknet.nu><gdlbjs$8d1$1@news.trigofacile.com><807i812hw9.fsf@banana.shacknet.nu> <gdnm1b$f3$1@news.trigofacile.com><80skqoechb.fsf@banana.shacknet.nu><gdnqk3$9d4$1@news.trigofacile.com><80k5c0e94n.fsf_-_@banana.shacknet.nu><gdnuk5$e0e$1@news.trigofacile.com><80fxmoe895.fsf@banana.shacknet.nu><gdvl6q$lll$1@news.trigofacile.com> <80prlo1qkz.fsf@banana.shacknet.nu> <gdvtei$vbq$1@news.trigofacile.com> <ge3oob$22d$1@news.httrack.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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!news.ecp.fr!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 87 NNTP-Posting-Host: aaubervilliers-151-1-40-153.w83-112.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-15"; reply-type=response Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1225093271 11414 83.112.151.153 (27 Oct 2008 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Mon, 27 Oct 2008 07:41:11 +0000 (UTC) In-Reply-To: <ge3oob$22d$1@news.httrack.net> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049