Re: Impossible to bind to a specific IP address

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Graham Leggett <minfrin(at)sharp(dot)fm>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Impossible to bind to a specific IP address
Date: 2001-08-14 15:52:00
Message-ID: 200108141552.f7EFq0b07137@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> Hi,
>
> As far as I can tell from the documentaion, it is impossible to tell the
> postmaster daemon to bind to just a single IP address - only to a
> specific port on all IP addresses. This makes hardening the box
> postgresql is running on impossible.
>
> Is there a workaround to this? (other than trying to firewall off the
> ports - the box needs to be protected from other boxes nearby - it is in
> an insecure environment).

In 7.1.X you can bind to a specific IP. See postmaster -h flag. Not
sure about 7.0.X releases.

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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Stephan Szabo 2001-08-14 16:18:02 Re: [BUGS] triggers
Previous Message Tom Lane 2001-08-14 15:23:59 Re: Impossible to bind to a specific IP address