Re: Patch to make postmaster bind to only to localhost. - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Patch to make postmaster bind to only to localhost.
Date
Msg-id 200009121549.LAA22843@candle.pha.pa.us
Whole thread Raw
In response to Re: Patch to make postmaster bind to only to localhost.  (The Hermit Hacker <scrappy@hub.org>)
Responses Re: Patch to make postmaster bind to only to localhost.  (The Hermit Hacker <scrappy@hub.org>)
List pgsql-patches
> On Tue, 12 Sep 2000, Bruce Momjian wrote:
>
> > The big question is why we can't just scan pg_hba.conf and bind only
> > to those ip's.  That way, we don't have to have a new flag.  It will
> > all happen by default.
>
> huh?  pg_hba.conf references IPs on remote hosts ... won't you find i
> tkinda difficult to bind to them? :)

Well, we list the IP numbers we will accept connections from in
pg_hba.conf.  If only on IP address appears on the file, why not just
bind to that one only?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-patches by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: Patch to make postmaster bind to only to localhost.
Next
From: The Hermit Hacker
Date:
Subject: Re: Patch to make postmaster bind to only to localhost.