Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 5122064FC21 for ; Wed, 24 Sep 2008 15:29:52 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 78573-10 for ; Wed, 24 Sep 2008 15:29:49 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gwmta.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by postgresql.org (Postfix) with ESMTP id 606C164FC34 for ; Wed, 24 Sep 2008 15:29:49 -0300 (ADT) Received: from Courts-MTA by gwmta.wicourts.gov with Novell_GroupWise; Wed, 24 Sep 2008 13:29:47 -0500 Message-Id: <48DA40BB.EE98.0025.0@wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 7.0.3 Date: Wed, 24 Sep 2008 13:29:32 -0500 From: "Kevin Grittner" To: "pgsql-admin@postgresql.org" , "Napolean Periathambi" Subject: Re: Postgres client Configuration References: <099FFC189307044D91DEEB5CB90DD60A1D6F794E98@vsdulmail1.VSOFTCORP.LOCAL> In-Reply-To: <099FFC189307044D91DEEB5CB90DD60A1D6F794E98@vsdulmail1.VSOFTCORP.LOCAL> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200809/285 X-Sequence-Number: 30378 >>> Napolean Periathambi wrote: > Is there any ways to include wildcard in pg_hba.conf file to accept all > postgres clients on the network rather than specifying specific IP addresses > on this file? # CIDR-ADDRESS specifies the set of hosts the record matches. # It is made up of an IP address and a CIDR mask that is an integer # (between 0 and 32 (IPv4) or 128 (IPv6) inclusive) that specifies # the number of significant bits in the mask. Alternatively, you can write # an IP address and netmask in separate columns to specify the set of hosts. In other words, it says how many bits of the IP address need to match. For example: # TYPE DATABASE USER CIDR-ADDRESS METHOD # "local" is for Unix domain socket connections only local all postgres ident sameuser local cir all md5 # IPv4 local connections: host cir all 127.0.0.1/32 md5 # IPv6 local connections: host cir all ::1/128 md5 # Programmer/analyst network segment host cir all 165.219.88.0/22 md5 # STEP network segment host cir all 165.219.80.0/24 md5 # TECH network segment host cir all 165.219.95.0/24 md5 -Kevin