Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 9C34763318A for ; Wed, 14 Jul 2010 18:50:29 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 03973-08 for ; Wed, 14 Jul 2010 21:50:22 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tamriel.snowman.net (tamriel.snowman.net [72.66.115.51]) by mail.postgresql.org (Postfix) with ESMTP id 2338A633169 for ; Wed, 14 Jul 2010 18:50:22 -0300 (ADT) Received: by tamriel.snowman.net (Postfix, from userid 1000) id DB2E12291D; Wed, 14 Jul 2010 17:50:20 -0400 (EDT) Date: Wed, 14 Jul 2010 17:50:20 -0400 From: Stephen Frost To: Tom Lane Cc: Magnus Hagander , Christopher Head , pgsql-bugs Subject: Re: BUG #5559: Full SSL verification fails when hostaddr provided Message-ID: <20100714215020.GR21875@tamriel.snowman.net> References: <18252.1279058967@sss.pgh.pa.us> <6811.1279123338@sss.pgh.pa.us> <7342.1279124972@sss.pgh.pa.us> <20100714173942.GM21875@tamriel.snowman.net> <9371.1279130114@sss.pgh.pa.us> <20100714183240.GO21875@tamriel.snowman.net> <10950.1279135209@sss.pgh.pa.us> <20100714212805.GP21875@tamriel.snowman.net> <18347.1279143321@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NPB+634diCTkyzKB" Content-Disposition: inline In-Reply-To: <18347.1279143321@sss.pgh.pa.us> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/2.6.26-1-amd64 (x86_64) X-Uptime: 17:46:02 up 321 days, 9:11, 32 users, load average: 0.06, 0.10, 0.08 User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/107 X-Sequence-Number: 27451 --NPB+634diCTkyzKB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * Tom Lane (tgl@sss.pgh.pa.us) wrote: > Uh, no, because hostaddr is (required to be) a numeric IP. The odds of > it being useful in this context seem negligible. Perhaps I was being a bit overzealous in my last response, sorry about that. If the point here is that people who are using hostaddr are in an environment where DNS is non-functional or actively broken, then yes, just bombing out would probably be fine. I think the issue I have here is that if you've gone to the trouble to set things up on the server-side to a point where it asks the client to do Kerberos (which, I think, must be the case if we've gotten to this point in the code), and for some reason the client has decided to use hostaddr instead of host (perhaps some client-side code saw a dotted-quad and thought "oh, you must want to use hostaddr instead of host"), it shouldn't break without a real reason. Thanks, Stephen --NPB+634diCTkyzKB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkw+MRwACgkQrzgMPqB3kiimNwCfcIDQj+Xf8hSJjflig4PeZkth 1p0AnAz83cHM54YMVk7OMECou60WfBO/ =6Xv7 -----END PGP SIGNATURE----- --NPB+634diCTkyzKB--