Re: Protocol problem with GSSAPI encryption?

From: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Protocol problem with GSSAPI encryption?
Date: 2019-12-04 00:51:23
Message-ID: 87o8woc3vd.fsf@news-spur.riddles.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>>>> "Peter" == Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> writes:

>> It seems to me that this is a bug in ProcessStartupPacket, which
>> should accept both GSS or SSL negotiation requests on a connection
>> (in either order). Maybe secure_done should be two flags rather than
>> one?

Peter> I have also seen reports of that. I think your analysis is
Peter> correct.

I figure something along these lines for the fix. Anyone in a position
to test this?

--
Andrew (irc:RhodiumToad)

Attachment Content-Type Size
gssenc.patch text/x-patch 3.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2019-12-04 01:06:11 Re: [PATCH] Addition of JetBrains project directory to .gitignore
Previous Message Tom Lane 2019-12-04 00:47:29 Re: Runtime pruning problem