Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 1D5E763292B for ; Wed, 5 May 2010 04:34:14 -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 51439-03 for ; Wed, 5 May 2010 07:34:06 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.ait.ac.at (arcss01.ait.ac.at [62.218.164.126]) by mail.postgresql.org (Postfix) with ESMTP id 95BC96327E0 for ; Wed, 5 May 2010 04:34:06 -0300 (ADT) Received: from telbiomed.at (192.168.160.1) by relay.arc.local (172.30.249.40) with Microsoft SMTP Server id 8.1.393.1; Wed, 5 May 2010 09:33:55 +0200 Received: from telbiomed.at ([192.168.180.13]) by telbiomed.at with Microsoft SMTPSVC(6.0.3790.4675); Wed, 5 May 2010 09:34:41 +0200 Received: from [192.168.160.58] ([192.168.160.58]) by telbiomed.at with Microsoft SMTPSVC(6.0.3790.4675); Wed, 5 May 2010 09:34:40 +0200 Subject: Re: Statistics collector port / unix dom. socket? From: Peter Sabaini To: Scott Marlowe CC: In-Reply-To: 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> Content-Type: text/plain; charset="UTF-8" Date: Wed, 5 May 2010 09:33:54 +0200 Message-ID: <1273044834.6856.7.camel@w-ehs-psa.telbiomed.at> MIME-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 05 May 2010 07:34:40.0915 (UTC) FILETIME=[6C584630:01CAEC25] Received-SPF: None (S0HC.arc.local: peter.sabaini@ait.ac.at does not designate permitted sender hosts) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.011 tagged_above=-10 required=5 tests=BAYES_40=-0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201005/46 X-Sequence-Number: 34519 On Tue, 2010-05-04 at 14:04 -0600, Scott Marlowe wrote: > On Tue, May 4, 2010 at 1:41 PM, Peter Sabaini w= rote: > > 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 t= o > >> > communicate with the statistics collector daemon. We have rather str= ict > >> > 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. >=20 > Maybe running them in individual VMs would do that. We run them in containers (kind of like a chroot++). Since we're running a lot of small projects on that machine, full virtualization (VMware, Xen etc) would be unfeasible. --=20 PETER SABAINI Safety & Security Department Information Management & eHealth AIT Austrian Institute of Technology GmbH Reininghausstra=C3=9Fe 13/1 | 8020 Graz | Austria T +43(0) 316 586570-55 | M +43(0) 664 8251123 | F +43(0) 316 586570-12 peter.sabaini@ait.ac.at | http://www.ait.ac.at | http://www.ait.ac.at/eH= ealth FN: 115980 i HG Wien | UID: ATU14703506 Kennen Sie die www.eHealth2010.at ? This email and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient, please notify the sender by return e-mail or by telephone and delete this message from your system and any printout thereof. Any unauthorized use, reproduction, or dissemination of this message is strictly prohibited. Please note that e-mails are susceptible to change. AIT Austrian Institute of Technology GmbH shall not be liable for the improper or incomplete transmission of the information contained in this communication, nor shall it be liable for any delay in its receipt.