Re: SSL over Unix-domain sockets

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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 12:21:21
Message-ID: 20080115122121.GC4473@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:

> It strikes me that given the postmaster's infrastructure for listening
> on multiple sockets, it would be a pretty small matter of programming
> to teach it to listen on socket files in multiple directories not only
> one.

The problem with this idea is that if the postmaster goes away, both
sockets go away, which means the attacker can place his socket in /tmp
as he sees fit.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kenneth Marshall 2008-01-15 13:33:43 Re: Index trouble with 8.3b4
Previous Message Alvaro Herrera 2008-01-15 12:05:45 Re: SSL over Unix-domain sockets

Browse pgsql-patches by date

  From Date Subject
Next Message Stefan Schwarzer 2008-01-15 13:42:05 Re: Forgot to dump old data before re-installing machine
Previous Message Alvaro Herrera 2008-01-15 12:05:45 Re: SSL over Unix-domain sockets