From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Ted Zlatanov <tzz@lifelogs.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#25061: consider adding %COMPAT to default gnutls priority string
Date: Mon, 11 Dec 2017 10:03:42 -0500
Organization: =?UTF-8?Q?=D0=A2=D0=B5=D0=BE=D0=B4=D0=BE=D1=80_?=
	=?UTF-8?Q?=D0=97=D0=BB=D0=B0=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= @
	Cienfuegos
Message-ID: <87zi6p71dd.fsf@lifelogs.com>
References: <87zikiwpl6.fsf@igalia.com> <878trzo5ys.fsf@lifelogs.com>
	<87fum7o0qu.fsf@gnu.org> <87zikfmiiy.fsf@lifelogs.com>
	<878tq0dqgw.fsf@gnus.org> <87sho1gemz.fsf@gnu.org>
	<87vasigi2c.fsf@igalia.com> <871sv2krfc.fsf@lifelogs.com>
	<8360d1yzvj.fsf@gnu.org> <877exbhbc5.fsf@lifelogs.com>
	<87k21bj7sb.fsf@detlef> <87y3phgf3a.fsf@lifelogs.com>
	<83k210mr8l.fsf@gnu.org> <83374t117z.fsf@gnu.org>
	<87a7yra2bz.fsf@lifelogs.com> <83o9n7t669.fsf@gnu.org>
	<87k1xu90eg.fsf@lifelogs.com> <83indeu0xn.fsf@gnu.org>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: blaine.gmane.org 1513004668 30485 195.159.176.226 (11 Dec 2017 15:04:28 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Mon, 11 Dec 2017 15:04:28 +0000 (UTC)
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
Cc: wingo@igalia.com, 25061@debbugs.gnu.org, ludo@gnu.org,
	michael.albinus@gmx.de, larsi@gnus.org
To: Eli Zaretskii <eliz@gnu.org>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 11 16:04:16 2017
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1eOPcs-0007OK-BG
	for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Dec 2017 16:04:14 +0100
Original-Received: from localhost ([::1]:53621 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1eOPcx-0007Kj-U6
	for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Dec 2017 10:04:19 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43532)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1eOPcl-0007KK-5G
	for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 10:04:12 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1eOPcg-0007Fm-Me
	for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 10:04:07 -0500
Original-Received: from debbugs.gnu.org ([208.118.235.43]:48276)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
	id 1eOPcg-0007FT-IZ
	for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 10:04:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1eOPcf-0001Hm-W7
	for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 10:04:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Ted Zlatanov <tzz@lifelogs.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Mon, 11 Dec 2017 15:04:01 +0000
Resent-Message-ID: <handler.25061.B25061.15130046404934@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 25061
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
Original-Received: via spool by 25061-submit@debbugs.gnu.org id=B25061.15130046404934
	(code B ref 25061); Mon, 11 Dec 2017 15:04:01 +0000
Original-Received: (at 25061) by debbugs.gnu.org; 11 Dec 2017 15:04:00 +0000
Original-Received: from localhost ([127.0.0.1]:56957 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1eOPcZ-0001HO-MG
	for submit@debbugs.gnu.org; Mon, 11 Dec 2017 10:04:00 -0500
Original-Received: from mail-qt0-f180.google.com ([209.85.216.180]:41257)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <tzz@lifelogs.com>) id 1eOPcV-0001H9-Qc
	for 25061@debbugs.gnu.org; Mon, 11 Dec 2017 10:03:55 -0500
Original-Received: by mail-qt0-f180.google.com with SMTP id i40so39136238qti.8
	for <25061@debbugs.gnu.org>; Mon, 11 Dec 2017 07:03:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google;
	h=from:to:cc:subject:organization:references:mail-copies-to:date
	:in-reply-to:message-id:user-agent:mime-version;
	bh=llZOk3bsShahBDEZ2xPPl1wcHGgqQo25Y1vGzKZ4r/U=;
	b=UEP+z0aFR6/K307KSd+HtJS8Qhrd5wUUGOfvTkXlr36+OztXZD2VGKtEMX3C2UNnkM
	zv4TfKN7iYzk/8tbEZZKwbtWkXOx7tw1D4nSZZK8GyXwZmm2BqoS6JsbjoL+QuhIo6Tu
	ysgC5BqDtKX7FceZIpAYphTaMBxGTuH5RlfVs=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:from:to:cc:subject:organization:references
	:mail-copies-to:date:in-reply-to:message-id:user-agent:mime-version;
	bh=llZOk3bsShahBDEZ2xPPl1wcHGgqQo25Y1vGzKZ4r/U=;
	b=AvPxXkbt4SYwcwJZWYX3EuGiF1IBUVDrvSQe+UUykns1CA5TZB5Zsc3suXBVZuGvkn
	HnsN1rVOGP8xRDvCJ6R5wdzCzJQMP/8/RrT6YN7IKe5MnxCKGPolcPjb2WrAjv0QFxsd
	5SIn7P1BD57y27k3RJqceTkNetgTwyKuqc/Y5aggNyNAPWoJb8UfazmqsRZAuSMKsVyq
	pkD5FrTQQKWtAu8xZaZWLASYRE8Pg2SWnn+GuQBzVXV3NvhCsa3+1pIC33aSrnvEwOgf
	5mBobMi1hMEm+eDn1QhdorZb/EO6gqjnEm1NDt7HECfXhxUoZjXZ31AOM/bL6cA8n9K9
	kIhg==
X-Gm-Message-State: AKGB3mKQZgpz60LYT73YcutxGeG4HTifKY87j/POPpn9yLdc2iWrtX0v
	zWHl+RxFBc4V3pjryOvxci++hA==
X-Google-Smtp-Source: ACJfBou5MqB3hPtJv+gQGu5oETCzqhmQLs7hY420/L3yPAnpBB4BoHLwU7/hEVyD1/e0qwwas/1RFQ==
X-Received: by 10.200.25.207 with SMTP id s15mr974181qtk.94.1513004626320;
	Mon, 11 Dec 2017 07:03:46 -0800 (PST)
Original-Received: from flea (c-76-28-41-155.hsd1.ma.comcast.net. [76.28.41.155])
	by smtp.gmail.com with ESMTPSA id j1sm4235831qkc.5.2017.12.11.07.03.43
	(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
	Mon, 11 Dec 2017 07:03:45 -0800 (PST)
X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;
	d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT=
	D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx"
Mail-Copies-To: never
In-Reply-To: <83indeu0xn.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 10 Dec
	2017 16:12:20 +0200")
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.43
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
	the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs/>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "bug-gnu-emacs"
	<bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.bugs:140926
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/140926>

On Sun, 10 Dec 2017 16:12:20 +0200 Eli Zaretskii <eliz@gnu.org> wrote: 

>> From: Ted Zlatanov <tzz@lifelogs.com>
>> Cc: wingo@igalia.com,  25061@debbugs.gnu.org,  ludo@gnu.org,  michael.albinus@gmx.de,  larsi@gnus.org
>> Date: Sun, 10 Dec 2017 08:29:27 -0500
>> 
>> It would change behavior for everyone for the sake of fixing a few
>> setups. Does %DUMBFW or %COMPAT create a risk that's not justified by
>> the functionality it provides? These exceptions have a way of living
>> long past their expiration date.
>> 
>> If we're confident that's the right thing, then let's change it in the
>> release and add a note in the docs. I'm OK with the change; any other
>> comments? What should be the actual string?

EZ> You mean, should we use %COMPAT or %DUMBFW?  I think the latter.  But
EZ> if no one can reproduce the problem and verify the fix, I think we
EZ> should simply describe the problem in PROBLEMS and leave the code
EZ> intact.

The GnuTLS docs say it "will add a private extension with bogus data
that make the client hello exceed 512 bytes. This avoids a black hole
behavior in some firewalls. This is the [RFC7685] client hello padding
extension, also enabled with %COMPAT." https://gnutls.org/manual/html_node/Priority-Strings.html

To me this appears benign and without downsides.

Can anyone knowledgeable comment on any possible downsides to this? I'll
wait 3 days for objections, then make the change in emacs-26.

Thanks
Ted