Re: Spoofing as the postmaster

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: Spoofing as the postmaster
Дата
Msg-id e51f66da0712221103v36ad73ecgc39e31d787067712@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Spoofing as the postmaster  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Spoofing as the postmaster  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 12/22/07, Peter Eisentraut <peter_e@gmx.net> wrote:
> Bruce Momjian wrote:
> > The fundamental problem is that because we don't require root, any user's
> > postmaster or pretend postmaster is as legitimate as anyone else's. SSL
> > certificates add legitimacy checks for TCP, but not for unix domain
> > sockets.
>
> Wouldn't SSL work over Unix-domain sockets as well?  The API only deals with
> file descriptors.

For Unix sockets it should be enough to just check server
process uid, no?

(FYI - Debian already puts unix socket to directory writable
only to postgres user, so they dont have the problem.  Maybe
we should encourage distros to move away from /tmp?)

-- 
marko


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Mike Rylander"
Дата:
Сообщение: Re: Spoofing as the postmaster
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Spoofing as the postmaster