Article View: news.software.nntp
Article #80430Re: Questions about datastream answers (especially to TAKETHIS)
From: Julien ÉLIE
Date: Sun, 22 Mar 2009 10:47
Date: Sun, 22 Mar 2009 10:47
60 lines
3829 bytes
3829 bytes
Hi Michael,
>>> The solution you suggest is the cleanest thing to do and complies
>>> with RFCs. The only issue is that it is not documented ("501
>>> bad-mid" is both not forbidden and not mentioned).
>>>
>>> Should we go on that way?
>>
>> It makes me a little uneasy, since 501 is really the correct response,
>> but I can see the justification for it. I wonder if anyone else has
>> an opinion on what should be done in this corner case.
>
> I do support to go that way, although it's not "documented". As long
> it's not explicitely mentioned, thus not forbidden I wouldn't hesitate
> to go for it.
I would also like to answer the right 501 response code instead of
a 438/439 reject (these codes have a different meaning than what
we really want to answer).
Nonetheless, if we currently answer 501 to innfeed (both INN 2.4.6 and
2.5.0-RC1), supposing of course that innfeed has sent a wrong message-ID,
innfeed does not understand and will go on sending the same command
the next time it tries:
default:
warn ("%s:%d cxnsleep response unknown: %d %s", peerName,
cxn->ident, code, response) ;
cxnSleepOrDie (cxn) ;
Therefore, innfeed will be blocked. Maybe other news server will also block
the same way :-/
RFC 4644 does not say anything about that. According to RFCs,
we MUST answer 501 but it breaks existing implementations.
Incidentally, innfeed has a lot of different cases to understand
other broken implementations. For instance, it accepts 439 answers
to CHECK (which is not a valid answer -> 438 is the one) because
NNTPRelay does that (according to a comment).
I do not mind if such cases exist. But we're also introducing bad
things with the handling of 501 if we return 438/439 instead.
Another amusing thing to answer to innfeed is another message-ID:
[C] CHECK <mid1>
[S] 239 <mid2>
It will go into sleep mode.
Shouldn't the right behaviour be to ignore this 239 answer and
consider we still haven't got an answer for <mid1>?
--
Julien ÉLIE
« Vbi solitudinem faciunt, pacem appellant. » (Galgagus de Tacite)
Technical Details
Message-ID:
<gq552r$km7$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!border2.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder1.news.weretis.net!news.trigofacile.com!not-for-mailReferences:
<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> <gq3qmm$l9a$1@de-l.enfer-du-nord.net>Show Full Headers
Complete Article Headers
Message-ID: <gq552r$km7$1@news.trigofacile.com> Subject: Re: Questions about datastream answers (especially to TAKETHIS) Date: Sun, 22 Mar 2009 11:47:36 +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> <gq3qmm$l9a$1@de-l.enfer-du-nord.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.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder1.news.weretis.net!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 60 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-15"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1237718940 21191 83.114.13.78 (22 Mar 2009 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Sun, 22 Mar 2009 10:49:00 +0000 (UTC) In-Reply-To: <gq3qmm$l9a$1@de-l.enfer-du-nord.net> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049 X-Original-Bytes: 3643