🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87460

Draft -03 for COMPRESS

#87460
From: Julien ÉLIE
Date: Fri, 10 Jun 2016 20:47
87 lines
4242 bytes
Hi all,

As you may already know, TLS-level compression is no longer possible in 
TLS 1.2 whereas NNTP was relying on this feature provided by previous 
TLS versions to compress data.
We agreed that the right move was to standardize a new NNTP command.  It 
is what we finally did with the COMPRESS extension.
Interoperability is proven:  two news servers (INN, Cyrus NNTP) and a 
news client (flnews) have already implemented it.  It also works fine 
with Python nntplib+zlib libraries.

Here is the latest version of the draft:
     https://tools.ietf.org/html/draft-murchison-nntp-compress-03

If you have any comments, please don't hesitate to tell.



Changes since -02:

    o  Added text stating that the receiving end SHOULD terminate the
       connection when receiving invalid or corrupted compressed data.

    o  Explained why COMPRESS permits to do better than existing
       unstandardized commands like XZVER, XZHDR, MODE COMPRESS, and
       XFEATURE GZIP.

    o  The LIST capability label was missing in the examples when READER
       was also advertised.

    o  Improved an example to send CAPABILITIES after successful
       authentication.

    o  Mentioned that COMPRESS is related to security.  CAPABILITIES is
       therefore sent again after COMPRESS.

    o  Re-added discussion of attachments in binary form and
       incompressible file formats.  Improve the discussion about
       flushes, and add a specific section about DEFLATE.

    o  Change a MUST NOT to SHOULD NOT for the use of AUTHINFO after
       COMPRESS.

    o  Algorithm names are case-insensitive.

    o  Mentioned the use of the 501 response code.

    o  Added the Security Considerations Section.

    o  Added Julien Elie as co-author of this document.

    o  Minor editorial changes.




Issues to be addressed

    o  How are TLS (and SASL) specific exchanges supposed to be handled?
       Should it be mentioned in the RFC that they are outside the scope
       of NNTP compression?  (I speak of stuff like TLS handshakes,
       renegotiations, etc. that can occur after the use of COMPRESS.
       OpenSSL may use SSL_read/SSL_write on its own, mayn't it?  And it
       does not know that it should compress data...)
=> Question asked to the UTA and TLS IETF WG.  But in case you have an 
idea of response, you can of course give it.

    o  Anything to add to the Security Considerations section?  Whom
       should we get a review from?

    o  Should we add a naming convention for private compression
       algorithms?  (I am unsure that saying it begins with "X" is a good
       idea, though; we may one day see a standardized compression
       algorithm with such a name - XZ for instance, though LZMA2 would
       be its real name.)
=> Suggestion of not enforcing any naming convention (except that the 
name complies with the syntax of 20 alphanumeric chars, "-" and "_").


Thanks again for your useful comments!

-- 
Julien ÉLIE

« Pourvu que ça dure ! » (Letizia Bonaparte)

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

Show Full Headers
Complete Article Headers
Message-ID: <njf91p$b3i$1@news.trigofacile.com>
Subject: Draft -03 for COMPRESS
Date: Fri, 10 Jun 2016 22:47:53 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
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=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 10 Jun 2016 20:47:53 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb080103c80038405802c8f48016.ipv6.abo.wanadoo.fr:2a01:cb08:103:c800:3840:5802:c8f4:8016";
 logging-data="11378"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0)
 Gecko/20100101 Thunderbird/45.1.1
X-Mozilla-News-Host: snews://news.individual.net:563
X-Received-Body-CRC: 1988673822
X-Received-Bytes: 4223