🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87468

Re: Draft -03 for COMPRESS

#87468
From: Michael Baeuerle
Date: Sun, 12 Jun 2016 15:09
58 lines
3681 bytes
Julien ÉLIE wrote:
> Julien ÉLIE wrote:
> > 
> > Whence his suggestion of:
> > - adding a None algorithm;
> > - allowing COMPRESS to be called inside a COMPRESS session, replacing
> > the previous one.
> > 
> > Does it sound also fine from the point of view of a news client?  Any
> > concerns if we go into that direction?

In general I see the problem at layer 8: The user need to understand
what is going on and how to control things with the user interface of
the programs.
The same thing as with encrypted E-Mail: It's far too easy with most
programs to send confidential information as clear text by accident.

For security purposes it is likely already too much to expect that the
"compression on/off" switch is recognised as security relevant by the
users.
Therefore I think the best solution for security is to use a separate
newsreader (explicitly compiled without compression support) for
security relevant tasks.

> Hmm, maybe we could avoid extra complexity with:
> - If a client wants to access both public groups and secret articles, 
> why not open two separate NNTP connections (either in parallel or one 
> after the other)?  These two sessions can be compressed, and there will 
> be no leakage.
> - Additionally, so as to ensure that the contents of two secret 
> articles are not compressed together, we could call "COMPRESS DEFLATE 
> FLUSH" (or another better optional argument) that asks the server to 
> clear the compression dictionary after every NNTP response.
> 
> Any comment about that proposed behaviour?

I vote for not adding more complexity. The simple "compression on/off"
switch is very easy to implement and should be sufficient for nearly
all non academic scenarios.

But maybe the default setting for the switch should be defined as "off",
because this is the more secure option. Possible words instead of the
current:
| 
| Implementations MUST support a configuration where compression can be
| easily disabled.

---
Implementations SHOULD use a default configuration with disabled
compression and MUST support an option to easily enable compression
[either with global scope or server/connection based].
---

This will ensure that e.g. a new version of a newsreader with support
for compression will not enable it automatically (possibly without
knowledge of a user who have not read the changelog).

Technical Details
Message-ID: <AABXXXroib0AAA1G.A1.flnews@Server4.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: <njf91p$b3i$1@news.trigofacile.com> <AABXW+4JgdcAAA2l.A1.flnews@Server4.micha.freeshell.org> <njh71t$gq3$1@news.trigofacile.com> <AABXXSM2rvcAAAt6.A1.flnews@Server4.micha.freeshell.org> <njjo6n$ct3$1@news.trigofacile.com> <njjpno$eit$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <AABXXXroib0AAA1G.A1.flnews@Server4.micha.freeshell.org>
Subject: Re: Draft -03 for COMPRESS
Date: Sun, 12 Jun 2016 15:09:24 -0000
From: Michael Baeuerle <michael.baeuerle@gmx.net>
References: <njf91p$b3i$1@news.trigofacile.com> <AABXW+4JgdcAAA2l.A1.flnews@Server4.micha.freeshell.org> <njh71t$gq3$1@news.trigofacile.com> <AABXXSM2rvcAAAt6.A1.flnews@Server4.micha.freeshell.org> <njjo6n$ct3$1@news.trigofacile.com> <njjpno$eit$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
Supersedes: <AABXXXCaejEAAA1G.A1.flnews@Server4.micha.freeshell.org>
Lines: 56
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=fixed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net +kiLuEMzOi003rV4IODeCwbxYDCsLRPRcn3fboBWf5xqcuepCA
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:MvUfGZOkwjJ5TJ+E43pNNOssJXw=
Cancel-Key: sha1:Qe6J1DKsMDTTEuRtBYN6rN+5oDY=
Injection-Date: Sun, 12 Jun 2016 15:09:24 -0000
User-Agent: flnews/0.14pre24 (for HP-UX)
X-Received-Body-CRC: 3917101765
X-Received-Bytes: 3540