X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E68B83A4940 for ; Thu, 4 Nov 2004 20:46:06 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 17230-03 for ; Thu, 4 Nov 2004 20:46:04 +0000 (GMT) Received: from trofast.sesse.net (trofast.sesse.net [129.241.93.32]) by svr1.postgresql.org (Postfix) with ESMTP id 0981F3A496B for ; Thu, 4 Nov 2004 20:46:04 +0000 (GMT) Received: from sesse by trofast.sesse.net with local (Exim 3.36 #1 (Debian)) id 1CPoUd-0005BB-00 for ; Thu, 04 Nov 2004 21:46:03 +0100 Date: Thu, 4 Nov 2004 21:46:03 +0100 From: "Steinar H. Gunderson" To: PostgreSQL Performance Subject: Re: Restricting Postgres Message-ID: <20041104204603.GC19625@uio.no> Mail-Followup-To: PostgreSQL Performance References: <003301c4c29a$f052d910$8300a8c0@solent> <418A915B.5060600@ethereal-realms.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <418A915B.5060600@ethereal-realms.org> X-Operating-System: Linux 2.6.8.1 on a i686 User-Agent: Mutt/1.5.6+20040907i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/60 X-Sequence-Number: 9014 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/