Re: [GENERAL] Distinguishing between connections in pg_hba.conf

2005-05-18 Thread Adam Witney
On 17/5/05 2:59 pm, "Scott Marlowe" <[EMAIL PROTECTED]> wrote: > On Tue, 2005-05-17 at 05:08, Stephane Bortzmeyer wrote: >> On Mon, May 16, 2005 at 03:31:27PM -0500, >> Scott Marlowe <[EMAIL PROTECTED]> wrote >> a message of 48 lines which said: >> but how do you assign it so that requests

Re: [GENERAL] Distinguishing between connections in pg_hba.conf

2005-05-17 Thread Scott Marlowe
On Tue, 2005-05-17 at 05:08, Stephane Bortzmeyer wrote: > On Mon, May 16, 2005 at 03:31:27PM -0500, > Scott Marlowe <[EMAIL PROTECTED]> 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 reque

Re: [GENERAL] Distinguishing between connections in pg_hba.conf

2005-05-17 Thread Stephane Bortzmeyer
On Mon, May 16, 2005 at 03:31:27PM -0500, Scott Marlowe <[EMAIL PROTECTED]> 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? > >

Re: [GENERAL] Distinguishing between connections in pg_hba.conf

2005-05-16 Thread Scott Marlowe
On Mon, 2005-05-16 at 15:05, Adam Witney wrote: > On 16/5/05 8:17 pm, "Scott Marlowe" <[EMAIL PROTECTED]> wrote: > > > On Mon, 2005-05-16 at 07:35, Adam Witney wrote: > >> Hi, > >> > >> I have a web application (PHP) which runs on its own box, and connects to a > >> database on a second box. The

Re: [GENERAL] Distinguishing between connections in pg_hba.conf

2005-05-16 Thread Adam Witney
On 16/5/05 8:17 pm, "Scott Marlowe" <[EMAIL PROTECTED]> wrote: > On Mon, 2005-05-16 at 07:35, Adam Witney wrote: >> Hi, >> >> I have a web application (PHP) which runs on its own box, and connects to a >> database on a second box. The database box is behind the firewall and only >> accepts connec

Re: [GENERAL] Distinguishing between connections in pg_hba.conf

2005-05-16 Thread Scott Marlowe
On Mon, 2005-05-16 at 07:35, Adam Witney wrote: > Hi, > > I have a web application (PHP) which runs on its own box, and connects to a > database on a second box. The database box is behind the firewall and only > accepts connections from the web server. > > I have set up stunnel on the web server

[GENERAL] Distinguishing between connections in pg_hba.conf

2005-05-16 Thread Adam Witney
Hi, I have a web application (PHP) which runs on its own box, and connects to a database on a second box. The database box is behind the firewall and only accepts connections from the web server. I have set up stunnel on the web server and I would like to allow some limited external direct access