postgresql listens on all interfaces by default
Bug #12530 reported by
66dny9r02
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql (Ubuntu) |
Invalid
|
Medium
|
Martin Pitt |
Bug Description
PostgreSQL listens on any interface instead of loopback only by default like
other servers do. (/etc/postgresq
that's not intended.
To post a comment you must log in.
(In reply to comment #0)
> PostgreSQL listens on any interface instead of loopback only by default like
> other servers do.
What do you mean by "other servers"? ssh, exim4, and other server packages
usuall do listen on all interfaces to make them work out of the box. The
exceptions are packages which are installed by default in the "Desktop" task
(like postfix, portmap, and Cups); because of our "zero open ports in the
default install" policy these must be restricted to localhost only.
PostgreSQL is not installed by default, and thus it should listen on all /pg_hba. conf. Requiring the
interfaces. Please note that you cannot connect from non-localhost anyway since
this must explicitly be configured in /etc/postgresql
same kind of configuration in _two_ configuration files is confusing and
unnecessary.