🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87269

Re: draft-murchison-nntp-compress-02

#87269
From: Julien ÉLIE
Date: Tue, 01 Dec 2015 20:48
145 lines
6305 bytes
Hi Ken,

> I just posted an updated COMPRESS draft based on the recent feedback on
> -01
> Any and all comments are welcome.

I've just finished to read the new version of the draft.  Here are my 
comments:

* In Section 1 "Introduction", this sentence could be worthwhile adding:

"This specification should be read in conjunction with the NNTP base 
specification [RFC3977].  In the case of a conflict between these two 
documents, [RFC3977] takes precedence."


* In Section 2.1 "Advertising the COMPRESS Extension", I suggest to add 
the following sentence that we can also find in RFC 4642 or 4644 for 
instance:

"However, this capability MUST NOT be advertised when a compression 
layer is active (see Section 2.2.2) or after successful authentication 
([RFC4643])."


* Also in Section 2.1, this sentence may be added:

"As the COMPRESS command is related to security because it can weaken 
encryption, cached results of CAPABILITIES from a previous session MUST 
NOT be relied on, as per Section 12.6 of [RFC3977]."


* In Section 2.2.2 "Description":

    In order help mitigate leaking authentication credentials via a CRIME
    attack [CRIME], a server SHOULD NOT return any arguments with the
    AUTHINFO capability label in response to a CAPABILTIES command
    received after a compression layer is active.  In this case, a client
    SHOULD NOT attempt to utilize any AUTHINFO commands.

=> Typo "In order", that should be written "In order to"?

=> Typo "CAPABILTIES".

=> Shouldn't it be said that TLS compression is not concerned by this 
paragraph?  Notably, if a TLS layer has been negotiated with TLS 
compression, the behaviour of AUTHINFO defined in RFC 4643 is not affected.


* Also in Section 2.2.2, this sentence may be added:

    Additionally, the client MUST NOT issue a MODE READER command after
    activating a compression layer, and a server MUST NOT advertise the
    MODE-READER capability.


* In Section 2.2.3 "Examples":

[S] LIST ACTIVE NEWSGROUPS
is mandatory to advertise when READER is (see Section 7.6.2 of RFC3977).
It should therefore be added in your examples advertising READER.


* Also in Section 2.2.3, shouldn't the example add another CAPABILITIES 
between AUTHINFO PASS and COMPRESS?  The advertised capabilities may 
have changed after authentication.


* Still in Section 2.2.3:

    Example of a server not advertising AUTHINFO mechanisms after
    compression has been activated:

=> "AUTHINFO arguments" would be better than "AUTHINFO mechanisms".  RFC 
4643 uses "argument" in its terminology for the AUTHINFO capability 
("mechanism" is for the SASL capability).


* In Section 3 "Compression Efficiency":

    When attachments are retrieved in Base64 or UUencode form, these
    encodings add another problem.  8-bit compression algorithms such as
    DEFLATE work well on 8-bit file formats, however both Base64 and
    UUencode transform a file into something resembling 6-bit bytes,
    hiding most of the 8-bit file format from the compressor.

=> Shouldn't the 75% compression ratio be mentioned?


* In Section 4.3 "General Non-terminals":

    algorithm = %s"DEFLATE" / 1*20alg-char  ; case-sensitive

=> Why require the algorithms to be case-sensitive?
SASL mechanisms are not case-sensitive...  ("AUTHINFO SASL Plain" is valid.)
I think we should not enforce case-sensitivity.
The reference to RFC 7405 can then be removed in Section 4.


* In Section 7.1.2 "Comments on Algorithm Registrations", should the 
e-mail address of the ietf-nntp list on lists.eyrie.org explicitly 
remain?  Why not just ask to send an e-mail to the NNTP WG?


* In Section 7.1.3 "Change Control":

    NNTP compression algorithm registrations may not be deleted;
    algorithms that are no longer believed appropriate for use can be
    declared OBSOLETE by a change to their "intended usage" field; such
    algorithms will be clearly marked in the lists published by IANA.

=> "in the registry" instead of "in the lists"?


* In Section 7.3 "Registration of the NNTP COMPRESS Extension":

    o  Use of this extension does alter the capabilities list; once the
       COMPRESS command has been used successfully, the COMPRESS
       capability can no longer be advertised by CAPABILITIES.
       Additionally, the STARTTLS and MODE-READER capabilities MUST NOT
       be advertised after successful execution of the COMPRESS command.

=> As well as arguments to AUTHINFO (as a SHOULD according to the 
previous statement in the draft).

    o  The STARTTLS command MUST NOT be used in the same session
       following a successful execution of the COMPRESS command.

=> As well as AUTHINFO.


* In Appendix A "Acknowledgements", you can write my name in lowercase 
(instead of uppercase), the same way the other two persons are mentioned.


* The issue in Appendix C "Issues to be addressed" has already been 
addressed.

-- 
Julien ÉLIE

« Pour Rome, la direction importe peu, car tous les chemins y
   mènent. » (Astérix)

Technical Details
Message-ID: <n3l124$i0g$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: <n229bp$tel$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <n3l124$i0g$1@news.trigofacile.com>
Subject: Re: draft-murchison-nntp-compress-02
Date: Tue, 1 Dec 2015 21:48:03 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <n229bp$tel$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
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: Tue, 1 Dec 2015 20:48:04 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-294-16.w83-114.abo.wanadoo.fr:83.114.213.16";
 logging-data="18448"; 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: <n229bp$tel$1@news.trigofacile.com>
X-Received-Body-CRC: 1997265858
X-Received-Bytes: 6304