Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group