X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4832D3A491E for ; Fri, 19 Nov 2004 03:44:37 +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 44511-07 for ; Fri, 19 Nov 2004 03:44:30 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by svr1.postgresql.org (Postfix) with ESMTP id 8E0CC3A4927 for ; Fri, 19 Nov 2004 03:44:33 +0000 (GMT) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CUzhJ-0000nb-00 for ; Fri, 19 Nov 2004 04:44:33 +0100 Received: from c-24-0-215-208.client.comcast.net ([24.0.215.208]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Nov 2004 04:44:33 +0100 Received: from i.pilcher by c-24-0-215-208.client.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Nov 2004 04:44:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Ian Pilcher Subject: Re: Why IDENT doesn't work with JDBC Date: Thu, 18 Nov 2004 21:44:28 -0600 Lines: 30 Message-ID: References: <419D2EE2.20702@opencloud.com> <419D5602.2090805@opencloud.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-24-0-215-208.client.comcast.net User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) X-Accept-Language: en-us, en In-Reply-To: <419D5602.2090805@opencloud.com> 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/149 X-Sequence-Number: 11571 Oliver Jowett wrote: > Ian Pilcher wrote: >> Did you read the bug? > Yes, I did. My appologies if that sounded a little short. > Anyway, thanks for the report and workaround, it's good to get that > information into the archives. There doesn't seem to be anything that > postgresql or the JDBC driver can do about the problem, though. There might be a way for the driver to force an IPv4 connection, even when java.net.preferIPv4Stack isn't set. It doesn't seem worth the effort to me, though. Something I find slightly interesting is the idea of having postgresql do its own parsing of /proc/net/tcp* (or netstat output) when it gets a connection request over the loopback adapter. This would obviate the need for a seperate IDENT daemon (with all of its security problems) in the loopback case. In the short term, however, the answer is definitely to get the IDENT daemon authors of the world to fix their programs. (I am somewhat concerned that Red Hat will come back with a "working as designed" answer.) -- ======================================================================== Ian Pilcher i.pilcher@comcast.net ========================================================================