Article View: news.software.nntp
Article #79349Re: Questions about MODE
From: Russ Allbery
Date: Mon, 25 Aug 2008 07:22
Date: Mon, 25 Aug 2008 07:22
35 lines
2586 bytes
2586 bytes
Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> writes:
>> It was a bad command with odd side effects on INN (loss of data in the
>> TCP connection).
> What command? MODE READER? Because of its not pipelining?
Yes, exactly. When innd execs nnrpd, it has to flush any data that it
already read from the client before the MODE READER command, since there's
no good way to pass that data to nnrpd. So when a client has to send MODE
READER, it can't pipeline that command and has to wait for hte response,
which can really slow down the reader.
>> If not for the fact that it's a De Facto standard because of INN, it
>> should have simply been removed from the protocol.
>
> Or only specified as a capability documented in another RFC and
> registered by IANA.
This is essentially what we did, except we mixed that into the main RFC
because INN is so ubiquitous. But I don't think the MODE READER stuff
does anything that would be out-of-bounds for another extension.
I agree with Curt that it's an unfortunate wart on the protocol. We
talked about dropping it some in the working group, but given the
widespread use of INN, it's really not feasible.
I tend to run nnrpd on 119 and move innd to a different port and never use
the MODE READER support, personally.
--
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:
<87od3hy2ws.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.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!news.stanford.edu!not-for-mailReferences:
<g8ovaf$155$1@news.trigofacile.com> <20080825002649.352$qC@newsreader.com> <g8ti43$90u$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <87od3hy2ws.fsf@windlord.stanford.edu> Subject: Re: Questions about MODE Date: Mon, 25 Aug 2008 00:22:43 -0700 From: Russ Allbery <rra@stanford.edu> References: <g8ovaf$155$1@news.trigofacile.com> <20080825002649.352$qC@newsreader.com> <g8ti43$90u$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!newshub.sdsu.edu!headwall.stanford.edu!news.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 35 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 1219648963 12487 171.64.19.147 (25 Aug 2008 X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:5M8UqTr7xBrTcrysmOz9eUn7tvM=