πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80438

Re: Questions about datastream answers (especially to TAKETHIS)

#80438
From: Russ Allbery
Date: Mon, 23 Mar 2009 01:46
44 lines
3470 bytes
Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid> writes:

> 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 :-/

Yeah, I was afraid of that.

> 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.

Yes.  That makes a strong argument for not returning 501.  (I wish I had
time to put together a web page with details like this about the NNTP
protocol.)

> 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>?

Isn't that what it's doing in sleep mode -- waiting for another reply from
the remote server?  (I haven't looked at the code.)

-- 
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: <873ad5ovtn.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!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.242.MISMATCH!nx01.iad.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!cyclone1.gnilink.net!gnilink.net!newsfeed.news2me.com!headwall.stanford.edu!news.stanford.edu!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> <gq3qmm$l9a$1@de-l.enfer-du-nord.net> <gq552r$km7$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <873ad5ovtn.fsf@windlord.stanford.edu>
Subject: Re: Questions about datastream answers (especially to TAKETHIS)
Date: Sun, 22 Mar 2009 18:46:12 -0700
From: Russ Allbery <rra@stanford.edu>
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> <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!feeder2.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.242.MISMATCH!nx01.iad.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!cyclone1.gnilink.net!gnilink.net!newsfeed.news2me.com!headwall.stanford.edu!news.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 44
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.stanford.edu 1237772772 26442 171.67.225.134 (23 Mar 2009
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
Cancel-Lock: sha1:CqiPfGPttmYr0eYq5al01JIebVw=
X-Original-Bytes: 3209