X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 3D276475B99 for ; Fri, 9 May 2003 10:13:08 -0400 (EDT) Received: from zix2.med.utah.edu (zix2.med.utah.edu [155.100.238.43]) by postgresql.org (Postfix) with ESMTP id 6A2E3475B85 for ; Fri, 9 May 2003 10:13:07 -0400 (EDT) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by Outbound.med.utah.edu (Proprietary) with ESMTP id 1C1F21C0077 for ; Fri, 9 May 2003 08:14:38 -0600 (MDT) Received: from gwdom2-med.med.utah.edu (gwdom2-med.med.utah.edu [155.100.100.43]) by zix2.med.utah.edu (Proprietary) with ESMTP id E26251A4084 for ; Fri, 9 May 2003 08:14:37 -0600 (MDT) Received: from GWY-MTA by gwdom2-med.med.utah.edu with Novell_GroupWise; Fri, 09 May 2003 08:12:37 -0600 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.3 Date: Fri, 09 May 2003 08:12:32 -0600 From: "Bernie LaSalle" To: , , Subject: Re: Pg_hba and dynamic dns Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Status: No, hits=-9.0 required=5.0 tests=BAYES_10,QUOTED_EMAIL_TEXT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/171 X-Sequence-Number: 8733 You may want to consider using another server to access your database(s) wh= ich is publically accessable and keep your databse server access restricted= . It would require controlling access with a middle layer such as Apache/C= oldFusion, Apache/PHP or Apache/Perl but your database would probably be m= ore secure and your mobile users would only need an SSL web browser. ----------------------------------------------------------------- Bernie LaSalle GCRC Informatics Core Director University of Utah 50 North Medical Drive Rm 4R210 SOM Salt Lake City, UT 84132 (801) 581-3670 >>> Randall Perry 05/09/03 07:51AM >>> Ok, those are valid points. What I'm trying to do is get access to the db for clients who are on the road using connections with dynamic IPs, from a PC running an MS Access db app. Dynamic DNS would have been an easy solution. Any ideas how to achieve this in other ways? > On Thu, May 08, 2003 at 06:40:14PM -0400, Randall Perry wrote: >> I've discovered I can use URLs for an IP address in pg_hba.conf, and >> everything works ok if the host can be resolved. >>=20 >> If it can't be resolved I get the error: >> psql: FATAL: Missing or erroneous pg_hba.conf file, see postmaster log = for >> details >>=20 >> And then all tcp/ip is denied. >>=20 >> That sucks -- means I can't use dynamic DNS. Anyone else think tcp/ip ac= cess >> shouldn't break if a URL can't be resolved? >=20 > IMHO support for fqdn should be removed. >=20 > 1. FQDN's are mostly resolved when the configuration is being loaded. > So that data isn't going to change when the program is running or > would you like to do a dns query for every connection you get? >=20 > 2. How are you going to handle forward and reversed dns? Think about > multiple A-records, fake or no reversed DNS, etc. >=20 > 3. If fqdn is being checked when the db gets a connection people can > break in when you only check reversed dns. >=20 > 4. Who is going to ensure me that dns isn't compromised somewhere down > the line? >=20 > This are just a few things, but I'm wondering. --=20 Randall Perry sysTame Xserve Web Hosting/Co-location Website Development/Promotion Mac Consulting/Sales http://www.systame.com/=20 ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org