Re: Distinguishing between connections in pg_hba.conf - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Distinguishing between connections in pg_hba.conf
Date
Msg-id 1116338383.22291.106.camel@state.g2switchworks.com
Whole thread Raw
In response to Re: Distinguishing between connections in pg_hba.conf  (Stephane Bortzmeyer <bortzmeyer@nic.fr>)
Responses Re: Distinguishing between connections in pg_hba.conf
List pgsql-general
On Tue, 2005-05-17 at 05:08, Stephane Bortzmeyer wrote:
> 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.

Sorry, I'm not that familiar with stunnel, so I didn't really get it
that that's what the OP was asking...

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: psql -U user -l cive all db list
Next
From: Tino Wildenhain
Date:
Subject: Re: psql -U user -l cive all db list