pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Jerry Asher <jerry.nospam@theashergroup.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: restricting identd to just the loopback adapter.
Date: Tue, 28 Jan 2003 07:58:57 -0600
Message-ID: <20030128135857.GA13823@wolff.to> (raw)
In-Reply-To: <836fa09a.0301262148.6fdfa17f@posting.google.com>
References: <836fa09a.0301262148.6fdfa17f@posting.google.com>

On Sun, Jan 26, 2003 at 21:48:33 -0800,
  Jerry Asher <jerry.nospam@theashergroup.com> wrote:
> I have installed running pg 7.2, and it apparently would like to have
> an identd server to help it establish who is who.

First off, are the users logging into the same machine that the database
server is running on? If so, than you don't need to run an ident server,
you can use domain sockets for connections and the getpeeruid function
will be used to do ident authentication.

> I installed pidentd from the red hat 8.0 distribution and started it
> up but, but looking over the conf files, there is apparently no way to
> restrict identd to listening/binding only to the localhost adapter.

You can use iptables to do this. Block tcp traffic to the identd port
that isn't coming from loopback (though this implies that you have the
situation above and shouldn't be using identd) or if the postgres
server is on another machine, restrict traffic based on IP address.



view thread (4+ messages)

Message-ID: <20030128135857.GA13823@wolff.to>
Permalink:  ../20030128135857.GA13823@wolff.to/
Also on:    postgresql.org/message-id/20030128135857.GA13823@wolff.to

 · 

reply

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: bruno@wolff.to, jerry.nospam@theashergroup.com
  Subject: Re: restricting identd to just the loopback adapter.
  In-Reply-To: <20030128135857.GA13823@wolff.to>
  References: <836fa09a.0301262148.6fdfa17f@posting.google.com> <20030128135857.GA13823@wolff.to>

* 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