🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80432

Re: Questions about datastream answers (especially to TAKETHIS)

#80432
From: Julien ÉLIE
Date: Sun, 22 Mar 2009 11:37
47 lines
3415 bytes
Hi Russ,

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

More a hack than anything else but if we have received "CAPABILITIES"
previously in the session, we send "501 the whole byte string" (RFC-compliant);
otherwise, "439 the whole byte string" (not RFC-compliant).


But well, it is not very proper...


In both cases, RFC 4644 needs an addendum to say:
* either that generic responses will include that byte string (which can
  be a well-formed message-ID for instance after 480, 483, etc.);
* or that 438/439 is always sent in such cases and that their answer is
  always the whole byte string.

I would of course prefer the first one.

And we still do not handle the case of a "whole byte string" whose size is
greater than the maximum allowed (for instance 600 bytes -> we must truncate
it after 501 or do something else).


Or it can also be assumed that RFC 4644 does not need an addendum and is
well as-is, which is fine except for the absence of message-ID (the client
will not know which command has triggered the problem).  This solution,
as well as the first one, still has the disadvantage of not being compatible
with current NNTP implementations :-/
And the second solution, though fine with current implementations, prevents
the use of useful code responses.

-- 
Julien ÉLIE

« -- J'ai horreur de tirer des chefs sans provisions !
  -- Et moi, je ne peux pas encaisser les chefs aux porteurs. » (Astérix)
Technical Details
Message-ID: <gq5813$nhj$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: <gq5813$nhj$1@news.trigofacile.com>
Subject: Re: Questions about datastream answers (especially to TAKETHIS)
Date: Sun, 22 Mar 2009 12:37:52 +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: 47
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 1237721956 24115 83.114.13.78 (22 Mar 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Sun, 22 Mar 2009 11:39:16 +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