pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: gilberto.castillo@etecsa.cu
Cc: Dyonisius Visser <visser@terena.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: Listen on IPv6 only
Date: Fri, 11 Mar 2011 10:31:51 -0500 (EST)
Message-ID: <201103111531.p2BFVpD24018@momjian.us> (raw)
In-Reply-To: <1299790117.15499.17.camel@gilbertoc.mtcorp.etecsa.cu>

Gilberto Castillo Martínez wrote:
> 
> 
> El jue, 10-03-2011 a las 15:33 -0500, Bruce Momjian escribi?:
> > Dyonisius Visser wrote:
> > > On 10 March 2011 21:03, Bruce Momjian <bruce@momjian.us> wrote:
> > > 
> > > > OK, let's skip documenting this then. ?They can already do this via
> > > > pg_hba.conf.
> > > 
> > > Restricting access via pg_hba.conf is something else than listening
> > > (or not) on sockets...
> > > 
> > > FYI, the listen_addresses is basically the same as sshd's ListenAddress.
> > 
> > Yes, listen_addresses prevents anyone from even binding to the address.
> 
> I keep thinking you should put that information somewhere accessible
> comun.

Attached doc patch applied.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

Attachments:

/rtmp/listen.diff (text/x-diff, 847B) download diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 8e27f73..0c682c8 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -324,7 +324,9 @@ SET ENABLE_SEQSCAN TO OFF; to listen for connections from client applications. The value takes the form of a comma-separated list of host names and/or numeric IP addresses. The special entry <literal>*</> - corresponds to all available IP interfaces. + corresponds to all available IP interfaces. The entry + <literal>0.0.0.0</> allows listening for all IPv4 addresses and + <literal>::</> allows listening for all IPv6 addresses. If the list is empty, the server does not listen on any IP interface at all, in which case only Unix-domain sockets can be used to connect to it.

view thread (16+ messages)

Message-ID: <201103111531.p2BFVpD24018@momjian.us>
Permalink:  ../201103111531.p2BFVpD24018@momjian.us/
Also on:    postgresql.org/message-id/201103111531.p2BFVpD24018@momjian.us

 ·  · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: bruce@momjian.us, gilberto.castillo@etecsa.cu, visser@terena.org
  Subject: Re: Listen on IPv6 only
  In-Reply-To: <201103111531.p2BFVpD24018@momjian.us>

* 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