Re: Distinguishing between connections in pg_hba.conf

Поиск
Список
Период
Сортировка
От Stephane Bortzmeyer
Тема Re: Distinguishing between connections in pg_hba.conf
Дата
Msg-id 20050517100802.GA13082@nic.fr
обсуждение исходный текст
Ответ на Re: Distinguishing between connections in pg_hba.conf  (Scott Marlowe <smarlowe@g2switchworks.com>)
Ответы Re: Distinguishing between connections in pg_hba.conf  (Scott Marlowe <smarlowe@g2switchworks.com>)
Список pgsql-general
On Mon, May 16, 2005 at 03:31:27PM -0500,
 Scott Marlowe <smarlowe@g2switchworks.com> wrote
 a message of 48 lines which said:

> > but how do you assign it so that requests from apache appear on
> > the db box as one IP address, and requests coming through stunnel
> > appear as the second IP address?
>
> That's kinda OS dependent.  On RedHat you should have some kind of
> netconfig command

I do not think it was the question.

For stunnel, the solution is probably :

       -I host
           IP of the outgoing interface is used as source for remote connections.
           Use this option to bind a static local IP address, instead.



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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: psql -U user -l cive all db list
Следующее
От: Patrick.FICHE@AQSACOM.COM
Дата:
Сообщение: Password Encryption / PgAdmin