Re: Java proxies connection to postgres

Поиск
Список
Период
Сортировка
От Matthew Wakeling
Тема Re: Java proxies connection to postgres
Дата
Msg-id alpine.DEB.2.00.1008091354510.2654@aragorn.flymine.org
обсуждение исходный текст
Ответ на Re: Java proxies connection to postgres  ("Donald Fraser" <postgres@kiwi-fraser.net>)
Список pgsql-jdbc
On Mon, 9 Aug 2010, Donald Fraser wrote:
> We have 30+ clients all using HTTP proxies to connect to our database. It
> works be cause as previously stated you must use SSL. That is, as soon as you
> specify the target port to be 443, the proxy has to let the packets pass
> through un touched otherwise SSL handshake will not work. We haven't found a
> HTTP proxy that doesn't work with this technique.

The proxies pass the data through to where? How does the proxy know where
to forward the data on to unless it can inspect the headers of the
request?

No, if you are using a general HTTP proxy for an outgoing connection, the
client software needs to be proxy aware, enough to tell the proxy which
server it wants to connect to. This is done using the CONNECT command. SSL
handshake occurs after that with the target server once that connection is
set up.

Matthew

--
*****  Support feudalism - Your Count Votes!  *****

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

Предыдущее
От: "Donald Fraser"
Дата:
Сообщение: Re: Java proxies connection to postgres
Следующее
От: "Donald Fraser"
Дата:
Сообщение: Re: Java proxies connection to postgres