pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
To: Christopher Head <chris2k01@hotmail.com>
To: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #5559: Full SSL verification fails when hostaddr provided
Date: Wed, 14 Jul 2010 12:29:32 -0400
Message-ID: <7342.1279124972@sss.pgh.pa.us> (raw)
In-Reply-To: <6811.1279123338@sss.pgh.pa.us>
References: <201007130825.o6D8Pepl005798@wwwmaster.postgresql.org>
	<18252.1279058967@sss.pgh.pa.us>
	<AANLkTikEU91MMvOXTrXkf7TGF8KZPRoBNh7csEeSy6ag@mail.gmail.com>
	<6811.1279123338@sss.pgh.pa.us>

... btw, the libpq documentation claims that

	If hostaddr is specified without host, the value for hostaddr
	gives the remote address. When Kerberos is used, a reverse name
	query occurs to obtain the host name for Kerberos.

but so far as I can see this is flat wrong.  pg_krb5_sendauth throws
an error if you didn't provide a host name, and so do the other places
in fe-auth.c that need the host name.  What we're about to do to SSL
verification will match that.  So I think the docs need a fix here.

			regards, tom lane



view thread (26+ messages)  latest in thread

Message-ID: <7342.1279124972@sss.pgh.pa.us>
Permalink:  ../7342.1279124972@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7342.1279124972@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, magnus@hagander.net, chris2k01@hotmail.com
  Subject: Re: BUG #5559: Full SSL verification fails when hostaddr provided
  In-Reply-To: <7342.1279124972@sss.pgh.pa.us>
  References: <201007130825.o6D8Pepl005798@wwwmaster.postgresql.org> <18252.1279058967@sss.pgh.pa.us> <AANLkTikEU91MMvOXTrXkf7TGF8KZPRoBNh7csEeSy6ag@mail.gmail.com> <6811.1279123338@sss.pgh.pa.us> <7342.1279124972@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