Re: SSL over Unix-domain sockets

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: SSL over Unix-domain sockets
Дата
Msg-id 200801051413.46898.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: SSL over Unix-domain sockets  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: SSL over Unix-domain sockets  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Bruce Momjian wrote:
> Peter Eisentraut wrote:
> > Using the attached patch, SSL will act over Unix-domain sockets.  AFAICT,
> > this just works.  I didn't find a way to sniff a Unix-domain socket,
> > however.
> >
> > How should we proceed with this?
>
> I am confused by the shortness of this patch.  Right now pg_hba.conf
> has:
>
>     # host       DATABASE  USER  CIDR-ADDRESS  METHOD  [OPTION]
>     # hostssl    DATABASE  USER  CIDR-ADDRESS  METHOD  [OPTION]
>     # hostnossl  DATABASE  USER  CIDR-ADDRESS  METHOD  [OPTION]
>
> These are all for TCP connections.  How do we handle 'local' SSL
> connection specification?  Do we want to provide similar functionality
> for local connections?

Here is a patch that implements "localssl" as well.  It is quite simple.  
(Note that the code in hba.c is all copy and paste.)

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [PATCH] pg_hba.conf.sample: mention www.postgresql.org
Следующее
От: jMartinez
Дата:
Сообщение: pg 8.3 Windows installer suggestion