Re: SSL over Unix-domain sockets - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SSL over Unix-domain sockets
Date
Msg-id 24720.1200414491@sss.pgh.pa.us
Whole thread Raw
In response to Re: SSL over Unix-domain sockets  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane wrote:
>>> One thing to be aware of is /tmp cleaners ...
>> 
>> ... but that would definitely be a problem.  I think on most systems
>> you'd have to explicitly tweak the /tmp-cleaning script to know not to
>> zap such a link.  Given that such a local customization would probably
>> disappear in your next system update, the security gain might be
>> fleeting.

> We could hack the postmaster so that it touches the /tmp socket
> (hardcoded path) in addition to the unix_socket_directory one.

That only saves you if the postmaster is running all the time;
which was an objection already made to several other schemes ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Yoshiyuki Asaba
Date:
Subject: ts_headline() dumps core
Next
From: Gavin Sherry
Date:
Subject: Re: Declarative partitioning grammar