pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephen Frost <sfrost@snowman.net>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Christopher Head <chris2k01@hotmail.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #5559: Full SSL verification fails when hostaddr provided
Date: Thu, 15 Jul 2010 16:18:06 -0400
Message-ID: <11168.1279225086@sss.pgh.pa.us> (raw)
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>

Stephen Frost <sfrost@snowman.net> 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



view thread (26+ messages)  latest in thread

Message-ID: <11168.1279225086@sss.pgh.pa.us>
Permalink:  ../11168.1279225086@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11168.1279225086@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, sfrost@snowman.net, magnus@hagander.net, chris2k01@hotmail.com
  Subject: Re: BUG #5559: Full SSL verification fails when hostaddr provided
  In-Reply-To: <11168.1279225086@sss.pgh.pa.us>
  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> <11168.1279225086@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox