Article View: news.software.nntp
Article #79381Re: Max arg length of 497
From: Russ Allbery
Date: Thu, 28 Aug 2008 06:18
Date: Thu, 28 Aug 2008 06:18
31 lines
2607 bytes
2607 bytes
Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> writes:
> It does not say that a news server MUST reject lines whose length exceed
> 512 octets, but only whose length is "longer than the server accepts"!
> I do not see any obligation to answer a 501 code for lines exceeding 512
> octets... Unless RFC implicitly consider that such lines are not
> commands so they must not be considered as commands by the news server?
Yeah, the server is not required to reject it; clients are just required
not to send it, so such lines are outside the protocol and the server can
do what it chooses with them. Most of the standard is written that way,
to allow for servers to do strange things if there's some compelling
reason.
I have no problem with INN being pretty strict about command length,
though, as there's really no justification for sending a command even
remotely close to that long.
> In that is so, commands which do not end with CRLF must also be
> rejected... (But is it all right to do that for INN?..)
It's not required to reject them; it's just required not to send them. I
think this is another one of those things that INN does to be less
annoying with debugging. (I don't remember whether telnet always does
line ending convention transformation or only on certain ports....)
--
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:
<87hc95wtks.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:
<g94i7b$b64$1@news.trigofacile.com> <87sksqaw5h.fsf@windlord.stanford.edu> <g95eg4$cpj$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <87hc95wtks.fsf@windlord.stanford.edu> Subject: Re: Max arg length of 497 Date: Wed, 27 Aug 2008 23:18:43 -0700 From: Russ Allbery <rra@stanford.edu> References: <g94i7b$b64$1@news.trigofacile.com> <87sksqaw5h.fsf@windlord.stanford.edu> <g95eg4$cpj$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: 31 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 1219904323 18001 171.64.19.147 (28 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:Wm+Bd8B3z/zlXak8rJcoDW80Z0E=