Feature request: Logging SSL connections - Mailing list pgsql-hackers

From Dr. Andreas Kunert
Subject Feature request: Logging SSL connections
Date
Msg-id 52A0854F.9060905@cms.hu-berlin.de
Whole thread Raw
Responses Re: Feature request: Logging SSL connections
List pgsql-hackers
Hello,

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".

Or have I been missing an existing way to reach the same?

Regards,
Andreas

--
-------------------------------------------------------------
                                         ____  ______  ____
Dr. Andreas Kunert                     / __/ /     / / __/
HU-Berlin, ZE Rechenzentrum (CMS)     / /_  / / / / __\\
www.hu-berlin.de/~kunert             /___/ /_/_/_/ /___/

-------------------------------------------------------------

Attachment

pgsql-hackers by date:

Previous
From: Sameer Kumar
Date:
Subject: Re: Changes in Trigger Firing
Next
From: Heikki Linnakangas
Date:
Subject: Re: same-address mappings vs. relative pointers