From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ian Pilcher <pilchman@attbi.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: ident authentication not working over loopback adapter
Date: Fri, 20 Dec 2002 19:24:26 -0500
Message-ID: <26166.1040430266@sss.pgh.pa.us> (raw)
In-Reply-To: <au0b8l$225p$1@news.hub.org>
References: <au0b8l$225p$1@news.hub.org>
Ian Pilcher <pilchman@attbi.com> 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
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, pilchman@attbi.com
Subject: Re: ident authentication not working over loopback adapter
In-Reply-To: <26166.1040430266@sss.pgh.pa.us>
References: <au0b8l$225p$1@news.hub.org> <26166.1040430266@sss.pgh.pa.us>
* 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