Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id CA5DF475CC7 for ; Fri, 20 Dec 2002 19:24:27 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 7F81A475C22 for ; Fri, 20 Dec 2002 19:24:26 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id gBL0ORpd026167; Fri, 20 Dec 2002 19:24:27 -0500 (EST) To: Ian Pilcher Cc: pgsql-admin@postgresql.org Subject: Re: ident authentication not working over loopback adapter In-reply-to: References: Comments: In-reply-to Ian Pilcher message dated "Fri, 20 Dec 2002 18:05:35 -0600" Date: Fri, 20 Dec 2002 19:24:26 -0500 Message-ID: <26166.1040430266@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/253 X-Sequence-Number: 6748 Ian Pilcher writes: > This is a bit backwards. ident authentication is working for me over > Unix domain sockets, but it isn't working over the loopback adapter. > Notes: This is Red Hat Linux 8.0. Password authentication works over > Unix domain sockets or the loopback adapter. Check to see if ident traffic is being filtered by kernel-level packet filtering. IIRC, RHL ships with mighty tight packet filtering, even on the loopback connection (which is a tad silly, but...). One easy way to investigate this is to see if you can telnet to the ident daemon: $ telnet localhost 113 <--- I typed this Trying... Connected to localhost.sss.pgh.pa.us. Escape character is '^]'. 1 2 <--- and this, which is junk, 1 , 0 : ERROR : INVALID-PORT <--- so the ident daemon answered this Connection closed by foreign host. $ If you get a timeout or "connection refused" or anything except actual communication with the ident daemon, you've got a filtering problem. regards, tom lane