X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id E0D579DC816 for ; Tue, 10 Jan 2006 16:49:49 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 91323-02 for ; Tue, 10 Jan 2006 16:49:49 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by postgresql.org (Postfix) with ESMTP id C8F609DC800 for ; Tue, 10 Jan 2006 16:49:46 -0400 (AST) Received: by wproxy.gmail.com with SMTP id i28so2996349wra for ; Tue, 10 Jan 2006 12:49:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nqsfYxLPEkuTbetU9HgszWOzsF0NtplFfnqySFRzAa+UsN3fAnbi+CKE5XCqX5NlRHRpMpL7WdMCCSmdJXk1oqZZYeE2ubpZFqZUHScQlJgvLV09S4R8BCI9fA5PfrwnLTUZpcTMI5qx3Qktzwv4IcmHG7riYRH55WMNS1qj5BU= Received: by 10.54.72.15 with SMTP id u15mr9995603wra; Tue, 10 Jan 2006 12:49:47 -0800 (PST) Received: by 10.54.92.14 with HTTP; Tue, 10 Jan 2006 12:49:47 -0800 (PST) Message-ID: Date: Tue, 10 Jan 2006 15:49:47 -0500 From: Jaime Casanova To: Murray Cumming Subject: Re: Detecting postgres servers Cc: pgsql-interfaces In-Reply-To: <1136925763.20493.8.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1132421658.10562.31.camel@localhost.localdomain> <1136925763.20493.8.camel@localhost.localdomain> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.082 required=5 tests=[AWL=0.082] X-Spam-Score: 0.082 X-Spam-Level: X-Archive-Number: 200601/18 X-Sequence-Number: 5934 On 1/10/06, Murray Cumming 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@murrayc.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 ;)