Re: Detecting postgres servers

From: Jaime Casanova <systemguards(at)gmail(dot)com>
To: Murray Cumming <murrayc(at)murrayc(dot)com>
Cc: pgsql-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: Detecting postgres servers
Date: 2006-01-10 20:49:47
Message-ID: c2d9e70e0601101249mcadea8fq7dcf6431e2a146d8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On 1/10/06, Murray Cumming <murrayc(at)murrayc(dot)com> wrote:
> On Sat, 2005-11-19 at 18:34 +0100, Murray Cumming wrote:
> > Is there any way, without a username and password, to
> > 1. Detect whether a Postgres server is running on a certain host on a
> > certain port.
> > 2. Detect whether a Postgres server is running on a certain host.
> > 3. Detect whether a Postgres server is running somewhere on the local
> > network, via some bonjour/rendezvous/avahi/howl-type thing?
>
> Does anybody have any ideas about this?
>
> Is a patch to add discovery via avahi likely to be accepted?
>
> --
> Murray Cumming
> murrayc(at)murrayc(dot)com
> www.murrayc.com
> www.openismus.com
>
>

imagine you can port scan, and try to connect on every open port
starting with default one for postgres (5432)...

but this sounds like an attack to me...

--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2006-01-10 21:00:19 Re: Detecting postgres servers
Previous Message Murray Cumming 2006-01-10 20:42:43 Re: Detecting postgres servers