Article View: news.software.nntp
Article #87088Re: About compression with NNTP
From: Michael Baeuerle
Date: Mon, 19 Oct 2015 10:03
Date: Mon, 19 Oct 2015 10:03
50 lines
3436 bytes
3436 bytes
Julien ÉLIE wrote: > Michael Bäuerle wrote: > > Julien ÉLIE wrote: > > > > > > 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). Yes. This is what RFC3977 already specify: | | [CAPABILITES] | Furthermore, a client MUST NOT use cached results in relation to | security, privacy, and authentication extensions. If we define it as a potential privacy problem to do authentication over a compressed TLS connection, this matches STARTTLS, AUTHINFO and COMPRESS. The capabilities must then be refreshed before all of them. Some time ago we had the discussion here when to do AUTHINFO. I had modified flnews to execute AUTHINFO as soon as possible (will be the default in version 0.11 that is nearly finished now). But the current RFCs allow AUTHINFO after 480 at any time. Therefore the potential new RFC for COMPRESS maybe should forbid the wrong order explicitly. Something like "MUST NOT execute AUTHINFO after COMPRESS". Removing the corresponding AUTHINFO capability would then be in sync (forbidden even with cached capabilities).
Technical Details
Message-ID:
<AABWJLfp/pwAAAn0.A1.flnews@WStation3.stz-e.de>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-mailReferences:
<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> <n00o8d$5ui$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <AABWJLfp/pwAAAn0.A1.flnews@WStation3.stz-e.de> Subject: Re: About compression with NNTP Date: Mon, 19 Oct 2015 10:03:42 +0000 From: Michael Baeuerle <michael.baeuerle@stz-e.de> 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> <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 Newsgroups: news.software.nntp Lines: 48 Reply-To: Michael Baeuerle <michael.baeuerle@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=fixed Content-Transfer-Encoding: 8bit X-Trace: individual.net 9ddjDuC2rdhJV+9kzr4kkAUS10rx/jeWPv4fOYJUguCH129Pgw X-Orig-Path: not-for-mail Cancel-Lock: sha1:5FOUSrDJ8EGu+d/LB+Bo1P+vpo4= sha1:r0a+QGbAm+Xl8o4NunwCONCpj9w= Injection-Date: 19 Oct 2015 10:03:42 -0000 User-Agent: flnews/0.11rc2 (for GNU/Linux) X-Received-Body-CRC: 1176536615 X-Received-Bytes: 3383