pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedrestricting identd to just the loopback adapter.
4+ messages / 4 participants
[nested] [flat]
* restricting identd to just the loopback adapter.
@ 2003-01-27 05:48 Jerry Asher <jerry.nospam@theashergroup.com>
0 siblings, 2 replies; 4+ messages in thread
From: jerry.nospam@theashergroup.com @ 2003-01-27 05:48 UTC (permalink / raw)
To: pgsql-admin
I have installed running pg 7.2, and it apparently would like to have
an identd server to help it establish who is who.
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.
Can you folks help?
How do I make identd bind only to the loopback adapter?
Thank you,
Jerry Asher
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: restricting identd to just the loopback adapter.
@ 2003-01-28 04:24 David Jericho <david.jericho@bytecomm.com.au>
parent: Jerry Asher <jerry.nospam@theashergroup.com>
1 sibling, 1 reply; 4+ messages in thread
From: David Jericho @ 2003-01-28 04:24 UTC (permalink / raw)
To: Jerry Asher <jerry@theashergroup.com>; +Cc: pgsql-admin
On Sun, Jan 26, 2003 at 09:48:33PM -0800, Jerry Asher wrote:
> 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.
The sgi_fam service contains an example, and it's detailed in the man
page xinetd.conf(5).
The option you're wanting is "bind".
The syntax being "bind = 127.0.0.1" in the service description stanza.
--
David Jericho
Senior Systems Administrator, Bytecomm Pty Ltd
--
Scanned and found clear of viruses by EntireScan. http://www.entirescan.com/
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: restricting identd to just the loopback adapter.
@ 2003-01-28 04:53 Jerry Asher <jerry@theashergroup.com>
parent: David Jericho <david.jericho@bytecomm.com.au>
0 siblings, 0 replies; 4+ messages in thread
From: Jerry Asher @ 2003-01-28 04:53 UTC (permalink / raw)
To: David Jericho <david.jericho@bytecomm.com.au>; +Cc: pgsql-admin
David Jericho wrote:
> On Sun, Jan 26, 2003 at 09:48:33PM -0800, Jerry Asher wrote:
>
> >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.
>
>
> The sgi_fam service contains an example, and it's detailed in the man
> page xinetd.conf(5).
>
> The option you're wanting is "bind".
>
> The syntax being "bind = 127.0.0.1" in the service description stanza.
>
Thanks David,
That mirrors my latest thinking and I am looking at the xinetd man page
now. Other info I've looked at on xinetd has not been helpful. In
particular it is not at all clear that a style in a sysv init style is
immediately amenable to being started from xinetd.
???
Thanks,
Jerry Asher
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: restricting identd to just the loopback adapter.
@ 2003-01-28 13:58 Bruno Wolff III <bruno@wolff.to>
parent: Jerry Asher <jerry.nospam@theashergroup.com>
1 sibling, 0 replies; 4+ messages in thread
From: Bruno Wolff III @ 2003-01-28 13:58 UTC (permalink / raw)
To: Jerry Asher <jerry.nospam@theashergroup.com>; +Cc: pgsql-admin
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.
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2003-01-28 13:58 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-01-27 05:48 restricting identd to just the loopback adapter. Jerry Asher <jerry.nospam@theashergroup.com>
2003-01-28 04:24 ` David Jericho <david.jericho@bytecomm.com.au>
2003-01-28 04:53 ` Jerry Asher <jerry@theashergroup.com>
2003-01-28 13:58 ` Bruno Wolff III <bruno@wolff.to>
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