Re: Feature request: Logging SSL connections

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Dr(dot) Andreas Kunert" <kunert(at)cms(dot)hu-berlin(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Feature request: Logging SSL connections
Date: 2013-12-05 14:43:31
Message-ID: 52A09113.9000104@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/5/13, 8:53 AM, Dr. Andreas Kunert wrote:
> we were really missing the information in our log files if (and which
> of) our users are using SSL during their connections.
>
> The attached patch is a very simple solution to this problem - it just
> tests if the ssl pointer in Port is null. If no, it adds "SSL" to the
> logfile, otherwise it adds "NOSSL".

That seems useful. Do we need more information, like whether a client
certificate was presented, or what ciphers were used?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-12-05 14:44:34 Re: same-address mappings vs. relative pointers
Previous Message Greg Stark 2013-12-05 14:42:29 Re: Why we are going to have to go DirectIO