From: Christopher Browne <cbbrowne@acm.org>
To: pgsql-admin@postgresql.org
Subject: Re: Change port number
Date: Tue, 14 Feb 2006 08:26:23 -0500
Message-ID: <87mzgurs00.fsf@wolfe.cbbrowne.com> (raw)
References: <000f01c63041$49743d80$1401a8c0@netsis01xp>
In the last exciting episode, rodrigo.sakai@poli.usp.br ("Rodrigo Sakai") wrote:
> I have a question about changing the port number of Databases
> server. It was told to me that is a good administrative practice to
> change the port number of the services, like change the 5432 to 6985
> or any other number. This is for security reasons. Is really a good
> practice?
Well, it would presumably protect against certain kinds of "script
kiddie" attacks which assume that PostgreSQL can only ever run on port
5432.
It won't protect terribly much against a concerted attack.
We use variant port numbers a lot because we have multiple database
instances in our environments. The measure isn't "protective" so much
as it is necessary, since at most one instance can use port 5432...
--
let name="cbbrowne" and tld="gmail.com" in String.concat "@" [name;tld];;
http://linuxdatabases.info/info/internet.html
"I heard that if you play the Windows CD backward, you get a satanic
message. But that's nothing compared to when you play it forward: It
installs Windows...." -- G. R. Gaudreau
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: cbbrowne@acm.org
Subject: Re: Change port number
In-Reply-To: <87mzgurs00.fsf@wolfe.cbbrowne.com>
References: <000f01c63041$49743d80$1401a8c0@netsis01xp> <87mzgurs00.fsf@wolfe.cbbrowne.com>
* 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