From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: PostgreSQL Performance <pgsql-performance@postgresql.org>
Subject: Re: Restricting Postgres
Date: Thu, 4 Nov 2004 21:46:03 +0100
Message-ID: <20041104204603.GC19625@uio.no> (raw)
In-Reply-To: <418A915B.5060600@ethereal-realms.org>
References: <003301c4c29a$f052d910$8300a8c0@solent>
<418A915B.5060600@ethereal-realms.org>
On Thu, Nov 04, 2004 at 03:30:19PM -0500, Martin Foster wrote:
> This should be my last question on the matter, does squid report the
> proper IP address of the client themselves? That's a critical
> requirement for the scripts.
AFAIK it's in some header; I believe they're called "X-Forwarded-For". If
you're using caching, your script will obviously be called fewer times than
usual, though, so be careful about relying too much on side effects. :-)
(This is, of course, exactly the same if the client side uses a caching
proxy. Saying anything more is impossible without knowing exactly what you
are doing, though :-) )
/* Steinar */
--
Homepage: http://www.sesse.net/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: sgunderson@bigfoot.com
Subject: Re: Restricting Postgres
In-Reply-To: <20041104204603.GC19625@uio.no>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox