Re: [HACKERS] RE: [INTERFACES] Re: SSL patch

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] RE: [INTERFACES] Re: SSL patch
Дата
Msg-id 199907232124.RAA20518@candle.pha.pa.us
обсуждение исходный текст
Ответ на RE: [INTERFACES] Re: SSL patch  (Magnus Hagander <mha@sollentuna.net>)
Список pgsql-hackers
> Well. The problem is that the client sends the StartupPacket without reading
> anything at all from the server, which means it is too late to do SSL
> negotiation after the StartupPacket. It contains the password (possibly in
> clear-text), which would be one of the most important things to protect. So
> I'm pretty sure that the negotiation has to take place _before_ the
> StartupPacket. And since the StartupPacket is the very first thing that is
> sent, it might be hard.
> Just co clearify: the SSL-enabled server still accepts 6.6 clients that are
> compiled without SSL support, but it will not accept from 6.5 clients, as it
> is now. 

So your concern is that the client will send hashed password as
cleartext before finding out it has to do SSL?  Doesn't the client do
SSL and then send the SSL request to the server?  Why do we have to have
clients who use SSL sending non-SSL requests to the server?  Let them
fail if they do that.  If you want to force SSL from certain hosts, put
that in hba_conf, and only accept SSL from those?  I am really lost on
the problem here.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Re: SSL patch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Phantom row from aggregate in self-join in 6.5