🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87078

Re: About compression with NNTP

#87078
From: Julien ÉLIE
Date: Fri, 16 Oct 2015 20:07
47 lines
3132 bytes
Hi Michael,

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

%%%
 >> In order to increase interoperability, it is desirable to have as few
 >> different compression algorithms as possible, so this document
 >> specifies only one.
 >
 > Why couldn't we define several algorithms (some are more efficient
 > than DEFLATE, for instance LZMA or LZMA2) and say that DEFLATE *MUST*
 > be implemented when COMPRESS is implemented?

Well, IMAP/NNTP COMPRESS are really just stop-gaps until existing TLS
implementations support compression.  As mentioned in the text TLS
really should be the preferred way to negotiate compression.  So
I don't see the need to add more algorithms to NNTP COMPRESS.
%%%



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.

-- 
Julien ÉLIE

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

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

Show Full Headers
Complete Article Headers
Message-ID: <mvrle0$h20$1@news.trigofacile.com>
Subject: Re: About compression with NNTP
Date: Fri, 16 Oct 2015 22:07:27 +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>
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: Fri, 16 Oct 2015 20:07:28 +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="17472"; 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: <AABWH9TID0cAAAnW.A1.flnews@WStation3.stz-e.de>
X-Received-Body-CRC: 1671076431
X-Received-Bytes: 3121