🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80433

Re: Questions about datastream answers (especially to TAKETHIS)

#80433
From: Julien ÉLIE
Date: Sun, 22 Mar 2009 11:39
123 lines
4857 bytes
Hi Russ,

>> The CHECK/TAKETHIS client is not necessarily all broken:  it could send
>> a message-ID whose length is 300 (> 250).  How are such articles
>> supposed to be propagated?
>
> They're not.  Such messages are invalid Usenet messages.  USEFOR restricts
> the length of the Message-ID field to 250 octets.
>
> In practice, it's not much of a problem.  We saw a few messages like that
> which sparked the original discussion, but I think they were spam or other
> weird cases, not people generating such message IDs for some real purpose.

OK, that's good then.


>> Understood.  No 400 here.
>> Thus:
>>
>>   [C] TAKETHIS
>>   [C] (with article afterwards...)
>>   [C] TAKETHIS bad-mid
>>   [C] TAKETHIS a b c
>>   [S] 439
>>   [S] 439 bad-mid
>>   [S] 439 a b c
>>
>> Such answers are not RFC-compliant (not 501, and 439 not followed
>> by a message-ID) but are maybe the best thing to do.
>
> Yeah, I guess I'd lean towards doing this because it's the least likely to
> confuse the other side, although all options here are kind of eh.  I
> wouldn't argue with someone who felt 501 was the right reply.

I believe that for interoperability reasons, we should indeed send 438/439.
Both DNews and Diablo do that.  But... in different ways!

200 DNEWS Version  5.7e1,, S0, posting OK
CHECK <a@b>
238 <a@b> not here, please send it to me
CHECK a b
438 a article not wanted - Missing opening angle bracket
CHECK <a@
438 <a@ article not wanted - Closing angle bracket missing
TAKETHIS a
..
439 a transfer failed - do not try again later (No msgid in headers)


200 NNTP Service Ready (DIABLO 5.0-REL)
check <k
CHECK <a@b>
238 <a@b>
CHECK a b
438 a b Bad Message-ID
CHECK <a@
438 <a@ Bad Message-ID
TAKETHIS a
..
439 <> 3 000001 TooSmall


DNews replies with the *first* keyword ("CHECK a b" -> "438 a")
whereas Diablo uses everything.

For TAKETHIS, Diablo actually uses the message-ID found in the article.


[Diablo]

TAKETHIS abc
Path: test!not-for-mail
From: "test" <test@test.com>
Newsgroups: fr.test
Subject: Test
Date: 22 Mar 2009 04:38:40 -0500
Message-ID: <another@id.com>

Test!
..
439 <> 187 000001 MsgIdMismatch


It works with "TAKETHIS <another@id.com>".
As for DNews, there is no such checks and it uses the argument provided
to TAKETHIS.



It makes me think that RFC 3977 states:

   Example of sending an article to another site that rejects it.  Note
   that the message-id in the IHAVE command is not the same as the one
   in the article headers; while this is bad practice and SHOULD NOT be
   done, it is not forbidden.

Though we do not have a similar comment in RFC 4644, it is similarly
not forbidden.



>>   [C] TAKETHIS
>>   [C] (with article afterwards...)
>>   [C] TAKETHIS bad-mid
>>   [C] TAKETHIS a b c
>>   [S] 501
>>   [S] 501 bad-mid
>>   [S] 501 a b c
>>
>> The advantage is that these answers are RFC 3977-compliant (501, with a
>> valid response argument).  But I doubt that implementations are properly
>> handling the arguments of 501 after CHECK/TAKETHIS.  The same goes for
>> 400, 403, etc.
>
> Oh, yeah, I'm sure they don't.

:)

-- 
Julien ÉLIE

« Vbi solitudinem faciunt, pacem appellant. » (Galgagus de Tacite) 
Technical Details
Message-ID: <gq583d$nj5$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: <gq0tnk$kp3$1@news.trigofacile.com> <877i2knd8m.fsf@windlord.stanford.edu> <gq10do$n5p$1@news.trigofacile.com> <87ab7fnbjk.fsf@windlord.stanford.edu> <gq18h4$un2$1@news.trigofacile.com> <87wsajk9lu.fsf@windlord.stanford.edu> <gq273p$s8o$1@news.trigofacile.com> <87k56iip3i.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <gq583d$nj5$1@news.trigofacile.com>
Subject: Re: Questions about datastream answers (especially to TAKETHIS)
Date: Sun, 22 Mar 2009 12:39:06 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <gq0tnk$kp3$1@news.trigofacile.com> <877i2knd8m.fsf@windlord.stanford.edu> <gq10do$n5p$1@news.trigofacile.com> <87ab7fnbjk.fsf@windlord.stanford.edu> <gq18h4$un2$1@news.trigofacile.com> <87wsajk9lu.fsf@windlord.stanford.edu> <gq273p$s8o$1@news.trigofacile.com> <87k56iip3i.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: 123
NNTP-Posting-Host: aaubervilliers-151-1-14-78.w83-114.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 1237722029 24165 83.114.13.78 (22 Mar 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Sun, 22 Mar 2009 11:40:29 +0000 (UTC)
In-Reply-To: <87k56iip3i.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