From: Tom Lane <tgl@sss.pgh.pa.us>
To: Albrecht Dreß <albrecht.dress@arcor.de>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general@lists.postgresql.org
Cc: Michael Paquier <michael@paquier.xyz>
Subject: Re: FDW Foreign Table Access: strange LOG message
Date: Fri, 23 Mar 2018 18:22:58 -0400
Message-ID: <13523.1521843778@sss.pgh.pa.us> (raw)
In-Reply-To: <YVI42U3L.KUGXVHOJ.W6BU5GKM@ULTJ4BD2.CC66IOQE.PJRMLTGY>
References: <YVI42U3L.KUGXVHOJ.W6BU5GKM@ULTJ4BD2.CC66IOQE.PJRMLTGY>
Albrecht =?iso-8859-1?b?RHJl3w==?= <albrecht.dress@arcor.de> writes:
> A different, confusing point (which is closer to a “bug” IMHO) is that connections to localhost are actually encrypted by default. This is basically useless and just a waste of cpu cycles – if a malicious user may somehow tap (tcpdump) lo, there is a different problem which can not be mitigated by encryption…
I agree that it's not very useful to do that, but it'd be tough for us to
make it not happen by default --- that requires knowing an awful lot about
the local network topology. Not sure that we'd want to assume that
"localhost" is safe, and we'd certainly not know what to do for
connections that use the host's name.
Note that in most scenarios, "local" connections travel over a Unix socket
not TCP, and in that case we don't encrypt.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, albrecht.dress@arcor.de, adrian.klaver@aklaver.com, michael@paquier.xyz
Subject: Re: FDW Foreign Table Access: strange LOG message
In-Reply-To: <13523.1521843778@sss.pgh.pa.us>
References: <YVI42U3L.KUGXVHOJ.W6BU5GKM@ULTJ4BD2.CC66IOQE.PJRMLTGY> <13523.1521843778@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