Re: SSL over Unix-domain sockets

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Mark Mielke <mark(at)mark(dot)mielke(dot)cc>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: SSL over Unix-domain sockets
Date: 2008-01-15 16:28:11
Message-ID: 24720.1200414491@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Alvaro Herrera <alvherre(at)commandprompt(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-01-15 16:34:07 Re: Array behavior oddities
Previous Message Yoshiyuki Asaba 2008-01-15 16:21:40 ts_headline() dumps core

Browse pgsql-patches by date

  From Date Subject
Next Message Stefan Schwarzer 2008-01-15 16:41:31 Re: Forgot to dump old data before re-installing machine
Previous Message Tom Lane 2008-01-15 16:12:16 Re: Forgot to dump old data before re-installing machine