🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87082

Re: About compression with NNTP

#87082
From: Julien ÉLIE
Date: Sun, 18 Oct 2015 18:26
35 lines
2694 bytes
Hi Michael,

>> Maybe we should prohibit the use of AUTHINFO (even USER/PASS) after a
>> successful use of COMPRESS.  That prohibition is not present in the
>> Internet-Draft.
>
> COMPRESS could remove AUTHINFO from the capability list.
>
> But if the server has different content for authenticated users, there
> is no way to access it after COMPRESS was executed in non-authenticated
> mode.

Yes, in the same way a user cannot authenticate after STARTTLS, whereas 
he could have different content.
Usually, the "first" thing a user will do is authenticate himself.

I think a reasonable pattern for news clients is:
1/ send CAPABILITIES
2/ if not in reader mode, send MODE READER, and then CAPABILITIES again
3/ if available, send STARTTLS, and then CAPABILITIES again
5/ use AUTHINFO to authenticate, if wanted, and then CAPABILITIES again
6/ if available, send COMPRESS

Hmm, CAPABILITIES is sent several times.  I believe it should because 
the available facilities may change (AUTHINFO USER advertised only after 
STARTTLS for instance).

-- 
Julien ÉLIE

« – Essayons d'interroger ce garde habilement sans éveiller ses
     soupçons…
   – Hep ! Où est enfermé Assurancetourix ? » (Astérix)

Technical Details
Message-ID: <n00o8d$5ui$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.(19219).mbox.7z!not-for-mail
References: <mvjp3s$n0u$1@news.trigofacile.com> <AABWHiG/QCkAACAT.A1.flnews@WStation2.stz-e.de> <mvmahl$iou$1@news.trigofacile.com> <87si5d41ll.fsf@hope.eyrie.org> <AABWH9TID0cAAAnW.A1.flnews@WStation3.stz-e.de> <mvrle0$h20$1@news.trigofacile.com> <AABWIiKDl1EAAEcG.A1.flnews@WStation4.micha.freeshell.org>

Show Full Headers
Complete Article Headers
Message-ID: <n00o8d$5ui$1@news.trigofacile.com>
Subject: Re: About compression with NNTP
Date: Sun, 18 Oct 2015 20:26:21 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <mvjp3s$n0u$1@news.trigofacile.com> <AABWHiG/QCkAACAT.A1.flnews@WStation2.stz-e.de> <mvmahl$iou$1@news.trigofacile.com> <87si5d41ll.fsf@hope.eyrie.org> <AABWH9TID0cAAAnW.A1.flnews@WStation3.stz-e.de> <mvrle0$h20$1@news.trigofacile.com> <AABWIiKDl1EAAEcG.A1.flnews@WStation4.micha.freeshell.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 18 Oct 2015 18:26:21 +0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-161-208.w81-249.abo.wanadoo.fr:81.249.172.208";
 logging-data="6098"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0)
 Gecko/20100101 Thunderbird/38.3.0
In-Reply-To: <AABWIiKDl1EAAEcG.A1.flnews@WStation4.micha.freeshell.org>
X-Received-Body-CRC: 3864672907
X-Received-Bytes: 2661