Re: Refuse SSL patch - Mailing list pgsql-patches

From Tom Lane
Subject Re: Refuse SSL patch
Date
Msg-id 13940.1041957552@sss.pgh.pa.us
Whole thread Raw
In response to Re: Refuse SSL patch  (Bruno Wolff III <bruno@wolff.to>)
Responses Re: Refuse SSL patch
List pgsql-patches
Bruno Wolff III <bruno@wolff.to> writes:
> Can't you use a "reject" hostssl line in hba.conf to keep SSL connections
> from working for particular IP addresses? Does the client not fall back
> in this case?

I think it won't --- the fallback is only at the initial attempt to open
the connection, not if the startup packet is rejected.

A more global question is whether the overhead of SSL is really large
enough to justify any concern about avoiding it.  I have never measured
it, but even a local LAN is a lot slower than modern CPUs.  It doesn't
seem to me to be a foregone conclusion that we need to worry about
providing a way to avoid it.

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: Refuse SSL patch
Next
From: Jon Jensen
Date:
Subject: Re: Refuse SSL patch