pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Steele <david@pgmasters.net>
To: Robbie Harwood <rharwood@redhat.com>
To: pgsql-hackers@postgresql.org
Cc: Michael Paquier <michael.paquier@gmail.com>
Subject: Re: [PATCH v6] GSSAPI encryption support
Date: Mon, 14 Mar 2016 16:13:48 -0400
Message-ID: <56E71B7C.6050108@pgmasters.net> (raw)
In-Reply-To: <jlgegbcq0qc.fsf@thriss.redhat.com>
References: <jlg1tgq1ktm.fsf@thriss.redhat.com>
	<jlgegbkmvxl.fsf@thriss.redhat.com>
	<56E05575.9060200@pgmasters.net>
	<jlgegbcq0qc.fsf@thriss.redhat.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 3/14/16 4:10 PM, Robbie Harwood wrote:
> David Steele <david@pgmasters.net> writes:
> 
>> Hi Robbie,
>>
>> On 3/8/16 5:44 PM, Robbie Harwood wrote:
>>> Hello friends,
>>>
>>> Here's yet another version of GSSAPI encryption support.  It's also
>>> available for viewing on my github:
>>
>> The build went fine but when testing I was unable to logon at all.  I'm
>> using the same methodology as in
>> http://www.postgresql.org/message-id/56BE0FF9.70302@pgmasters.net except
>> that I'm running against 51c0f63 and using the v6 patch set.
>>
>> psql simply hangs and never returns.  I have attached a pcap of the
>> psql/postgres session generated with:
>>
>> tcpdump -i lo -nnvvXSs 1514 port 5432 -w gssapi.pcap
>>
>> If you would like me to capture more information please let me know
>> specifically how you would like me to capture it.
> 
> Please disregard my other email.  I think I've found the issue; will
> post a new version in a moment.

Strange timing since I was just testing this.  Here's what I got:

$ pg/bin/psql -h localhost -U vagrant@PGMASTERS.NET postgres
conn->inStart = 179, conn->inEnd = 179, conn->inCursor = 179
psql (9.6devel)
Type "help" for help.

postgres=>

This was after commenting out:

// appendBinaryPQExpBuffer(&conn->gwritebuf,
// 						conn->inBuffer + conn->inStart,
// 						conn->inEnd - conn->inStart);
// conn->inEnd = conn->inStart;

The good news I can log on every time now!

-- 
-David
david@pgmasters.net

Attachments:

  signature.asc (application/pgp-signature, 841B) download

view thread (220+ messages)  latest in thread

Message-ID: <56E71B7C.6050108@pgmasters.net>
Permalink:  ../56E71B7C.6050108@pgmasters.net/
Also on:    postgresql.org/message-id/56E71B7C.6050108@pgmasters.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: david@pgmasters.net, rharwood@redhat.com, michael.paquier@gmail.com
  Subject: Re: [PATCH v6] GSSAPI encryption support
  In-Reply-To: <56E71B7C.6050108@pgmasters.net>

* 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