pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Daniil Zakhlystov <usernamedt@yandex-team.ru>
Cc: Konstantin Knizhnik <knizhnik@garret.ru>
Cc: Justin Pryzby <pryzby@telsasoft.com>
Cc: Andrey Borodin <x4mmm@yandex-team.ru>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: libpq compression
Date: Mon, 22 Feb 2021 15:44:30 -0500
Message-ID: <3604970.1614026670@sss.pgh.pa.us> (raw )
In-Reply-To: <CA+TgmobucpYrZoQL8=qcuoeodpmZu2w2=AiJiPNypL9=Hq07gw@mail.gmail.com >
References: <aad16e41-b3f9-e89d-fa57-fb4c694bec25@postgrespro.ru >
<612f227d-cb27-9238-5922-1500f8b2eb96@postgrespro.ru >
<160623927937.7563.15974279758478581796.pgcf@coridan.postgresql.org >
<CA+TgmoY5AMq8auemc0g3geCpVDeRnawW1A-jUeqT-5cE-_2MiA@mail.gmail.com >
<6811D196-E2FB-40CC-B1C9-F19427FBF675@yandex-team.ru >
<CA+TgmoZMTLydjP3iWBir20OrSXTugxS2CXC1WP1nWM5=Zqz0Nw@mail.gmail.com >
<A1D0D9A4-1FC4-4311-83C7-EEA90749EE07@yandex-team.ru >
<CA+TgmoZrM9T_W9YR-vLYZXj-vC_+F-DER65A87+pDXRwUFjJXg@mail.gmail.com >
<D5354E7A-3B9F-4D32-B3AB-F65058D36500@yandex-team.ru >
<CA+TgmobPjqe-89PRH_qGHMWruXPK-Ya9tABEFuCvv1j26m5Efw@mail.gmail.com >
<470E411E-681D-46A2-A1E9-6DE11B5F59F3@yandex-team.ru >
<3676BA4F-ED2B-470C-9892-007C943BB1D2@yandex-team.ru >
<CA+TgmobucpYrZoQL8=qcuoeodpmZu2w2=AiJiPNypL9=Hq07gw@mail.gmail.com >
Robert Haas <robertmhaas@gmail.com> writes:
> So at the end of the day I'm not really quite sure what is best here.
> I agree with all of Craig's points about the advantages of
> packet-level compression, so I'd really prefer to make that approach
> work if we can. However, it also seems to me that there's room to be
> fairly concerned about what these test results are showing.
BTW ... in view of the nearby thread about permanently disabling
OpenSSL's compression option, I wonder whether we really ought to be
in a hurry to put back compression underneath that. While this area
is out of my wheelhouse, my understanding of the problem with OpenSSL
is that the packet length changes due to compression can provide
enough information to an attacker to break the encryption. It seems
to me that do-it-ourselves compression would most likely create an
equivalent vulnerability.
Perhaps that problem can be dodged by refusing to use compression
if any form of encryption is in use ... but that would make for
another big reduction in the scope of usefulness of this feature.
Connections on which you'd care about compression are likely to be
across open networks where encryption is an even more pressing need.
regards, tom lane
view thread (289+ messages) latest in thread
Message-ID: <3604970.1614026670@sss.pgh.pa.us>
Permalink: ../3604970.1614026670@sss.pgh.pa.us/
Also on: postgresql.org/message-id/3604970.1614026670@sss.pgh.pa.us
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, usernamedt@yandex-team.ru, knizhnik@garret.ru, pryzby@telsasoft.com, x4mmm@yandex-team.ru, pgsql-hackers@lists.postgresql.org
Subject: Re: libpq compression
In-Reply-To: <3604970.1614026670@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox