🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87084

Re: About compression with NNTP

#87084
From: Michael Baeuerle
Date: Sat, 17 Oct 2015 11:04
48 lines
3151 bytes
Julien ÉLIE wrote:
> Michael Bäuerle wrote:
> > 
> > Comment to the algorithm list:
> > That one or more compression algorithms are mandatory (like DEFLATE in
> > the draft) is not really necessary.  Why should it be forbidden for a
> > server to advertise something like "COMPRESS LZMA" or anything else it
> > consider useful (without DEFLATE in the list)?
> 
> See Russ's answer about why DEFLATE is mandatory.

If there must be a mandatory default algorithm, DEFLATE would be a good
choice.

> If we implement COMPRESS, I believe we should add at the same time 
> other methods like LZMA or LZMA2 in the IANA registry.  See Ken's 
> thoughts in 2010, before the CRIME attack, so they should be 
> reconsidered:
> 
>     http://lists.eyrie.org/pipermail/ietf-nntp/2010-January/006157.html

Yes.

If the security of the TLS layer has highest priority (for all data, not
only authentication), maybe no compression at all should be negotiated
by the user. But for most users only the authentication really needs the
security from TLS and for the rest of the session a better performance
would be worth to potentially weaken it.

> [...] 
> I also note that he said that currently, no SASL mechanism negotiates a 
> compression layer.  What if, in the future, there exists one?
> 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. 
-- 
Sorry, aber mit der Einstellung würden wir heute aus Sicherheitsgründen
noch auf dem Baum sitzen. Wer etwas Neues schaffen will, muß auch was
wagen - aber da heute Kinder schon zu Fuß mit Helm rumlaufen gilt das
wohl nicht mehr...                     [Eric Brücklmeier in dse]

Technical Details
Message-ID: <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
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>

Show Full Headers
Complete Article Headers
Message-ID: <AABWIiKDl1EAAEcG.A1.flnews@WStation4.micha.freeshell.org>
Subject: Re: About compression with NNTP
Date: Sat, 17 Oct 2015 11:04:28 +0000
From: Michael Baeuerle <michael.baeuerle@gmx.net>
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>
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: 46
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=fixed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net Ol8XlyaAF07z2+yIcc5SSgrT3GEKSVA9IIEQi5sAAkYdBOoyXS
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:8ix3fvn62+StjeDQogvY7d9viK0= sha1:heIMNcKg4Fv1ZPOGBH2NV1xCmMg=
Injection-Date: 17 Oct 2015 11:04:28 -0000
User-Agent: flnews/0.11rc2 (for AIX)
X-Received-Body-CRC: 2049594956
X-Received-Bytes: 3080