Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 2B5DC633CC3 for ; Tue, 4 May 2010 17:04:47 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 45969-01 for ; Tue, 4 May 2010 20:04:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-yx0-f195.google.com (mail-yx0-f195.google.com [209.85.210.195]) by mail.postgresql.org (Postfix) with ESMTP id 2EC27633CB7 for ; Tue, 4 May 2010 17:04:40 -0300 (ADT) Received: by yxe33 with SMTP id 33so1338958yxe.15 for ; Tue, 04 May 2010 13:04:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=lh328IKloFG+dG4Y8Wi5P2lMxGXS/vFCMDrECKhTsoI=; b=bg8h71WKTyVaO1BX1CBI0kg/jR8WBj3UN+CYf/S9Agwqg+I8D/Xsjdn4UUKEa4AkKC cW7N+GNqmKjiCrrMDH1i+shsoc9LKo5fl9vYPMa5nit6S4t7PBlelnByzod0jLljHdNw eVPMtXEFtE8cftW0zrJsVvIrb+mMVfoIFhBgA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Ixq94Y8Fx/G3e0l2hf9O2QBr3vQ0DJSm1moPHylbwLsrMgQ2O/+Z50sb+Op1FIpVwq lpwuJcOAViMp98H9enSs00OsXAIMXWXFvHrr4XGNwZ6zJHGnCxWWy+pHbbB3GCzjlkHL bwQAXTGBnCKBOw+KLkZglU4u3xHZOc67rwt0I= MIME-Version: 1.0 Received: by 10.150.193.18 with SMTP id q18mr13938150ybf.129.1273003478797; Tue, 04 May 2010 13:04:38 -0700 (PDT) Received: by 10.150.134.20 with HTTP; Tue, 4 May 2010 13:04:38 -0700 (PDT) In-Reply-To: <1273002081.2590.7.camel@w-ehs-psa.telbiomed.at> References: <1272977816.21378.13.camel@w-ehs-psa.telbiomed.at> <13335.1272987580@sss.pgh.pa.us> <1273002081.2590.7.camel@w-ehs-psa.telbiomed.at> Date: Tue, 4 May 2010 14:04:38 -0600 Message-ID: Subject: Re: Statistics collector port / unix dom. socket? From: Scott Marlowe To: Peter Sabaini Cc: Tom Lane , pgsql-admin@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.087 tagged_above=-10 required=5 tests=AWL=0.812, BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201005/43 X-Sequence-Number: 34516 On Tue, May 4, 2010 at 1:41 PM, Peter Sabaini wrote: > On Tue, 2010-05-04 at 11:39 -0400, Tom Lane wrote: >> Peter Sabaini writes: >> > it seems Postgres tries to send a UDP packet to a random high port to >> > communicate with the statistics collector daemon. We have rather strict >> > packet filter rules in place, and I'd like to make the system use a >> > fixed port for this, or even better a Unix domain socket. Is this >> > possible (setting a compile time or run time parameter)? >> >> No, the stats collector just uses whatever port bind() chooses for it. > > A pity. > >> I'd suggest backing off your ideas about how much filtering is >> appropriate for local connections. > > Since we're running multiple database instances with different projects > on one machine I'd like to isolate them as best I can. Maybe running them in individual VMs would do that.