Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id CBB3B632D49 for ; Thu, 15 Jul 2010 17:03:16 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 68202-04 for ; Thu, 15 Jul 2010 20:03:07 +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 7DB0463270E for ; Thu, 15 Jul 2010 17:03:08 -0300 (ADT) Received: by tamriel.snowman.net (Postfix, from userid 1000) id 3B32A2296B; Thu, 15 Jul 2010 16:03:05 -0400 (EDT) Date: Thu, 15 Jul 2010 16:03:05 -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: <20100715200305.GV21875@tamriel.snowman.net> References: <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> <20100714215020.GR21875@tamriel.snowman.net> <19143.1279145790@sss.pgh.pa.us> <20100715125911.GT21875@tamriel.snowman.net> <6245.1279209486@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8f5nplzbBUakLDQQ" Content-Disposition: inline In-Reply-To: <6245.1279209486@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: 16:01:35 up 322 days, 7:26, 36 users, load average: 0.10, 0.13, 0.09 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/116 X-Sequence-Number: 27460 --8f5nplzbBUakLDQQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * Tom Lane (tgl@sss.pgh.pa.us) wrote: > I suggest that we document hostaddr as being an auxiliary field that is > not intended to be the primary source of the host name, but merely saves > libpq from having to do a forward DNS lookup. In some cases it will > work to supply hostaddr without host, but in others it won't. We should > also state that supplying it does not guarantee no DNS lookups occur, > because these external auth libraries will do one anyway. That sounds like it implies we'd also remove the check which prevents Kerberos from being used and fix it to use hostaddr if host is null. That's fine with me. I'd rather have it not broken anyway. Thanks, Stephen --8f5nplzbBUakLDQQ 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/aXkACgkQrzgMPqB3kigZ9ACeMGi5zEe7OIv9JTZRjL+2w2CH ++cAmwSIiXADQwYi40agAMnpCn71aYQS =iFeY -----END PGP SIGNATURE----- --8f5nplzbBUakLDQQ--