Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 39EB063282E for ; Thu, 15 Jul 2010 17:18:18 -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 65477-02 for ; Thu, 15 Jul 2010 20:18:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id EE16D63267E for ; Thu, 15 Jul 2010 17:18:10 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o6FKI67x011169; Thu, 15 Jul 2010 16:18:07 -0400 (EDT) To: Stephen Frost cc: Magnus Hagander , Christopher Head , pgsql-bugs Subject: Re: BUG #5559: Full SSL verification fails when hostaddr provided In-reply-to: <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> <20100715200305.GV21875@tamriel.snowman.net> Comments: In-reply-to Stephen Frost message dated "Thu, 15 Jul 2010 16:03:05 -0400" Date: Thu, 15 Jul 2010 16:18:06 -0400 Message-ID: <11168.1279225086@sss.pgh.pa.us> From: Tom Lane 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/117 X-Sequence-Number: 27461 Stephen Frost writes: > * 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. Uh, no, it implies no such thing. I don't think that's a "fix", it's merely fuzzing what the values are for. Magnus, I'm curious to hear your thoughts on this... regards, tom lane