Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCprN-0003Tn-Uy for pgsql-bugs@arkaria.postgresql.org; Thu, 09 Nov 2017 16:39:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eCprN-0005Ma-Hb for pgsql-bugs@arkaria.postgresql.org; Thu, 09 Nov 2017 16:39:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eCprN-0005MQ-3O for pgsql-bugs@postgresql.org; Thu, 09 Nov 2017 16:39:21 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eCprK-0004vO-EQ for pgsql-bugs@postgresql.org; Thu, 09 Nov 2017 16:39:20 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id vA9GdGIE025137; Thu, 9 Nov 2017 11:39:16 -0500 From: Tom Lane To: minfrin@sharp.fm cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14893: libpq SSL ClientHello too long, no option to set ciphers or affect cipher list length In-reply-to: <20171109135718.1492.93238@wrigleys.postgresql.org> References: <20171109135718.1492.93238@wrigleys.postgresql.org> Comments: In-reply-to minfrin@sharp.fm message dated "Thu, 09 Nov 2017 13:57:18 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25135.1510245556.1@sss.pgh.pa.us> Date: Thu, 09 Nov 2017 11:39:16 -0500 Message-ID: <25136.1510245556@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org minfrin@sharp.fm writes: > I am having trouble on an Ubuntu Xenial machine where the out-the-box psql > refuses to connect to the out-the-box postgresql over SSL. The same setup > worked on Ubuntu Trusty. > Debugging reveals that the cipher list sent by the libpg client is too long > (greater than 255 bytes), and this causes the postgresql server to slam down > the phone, or it derails the client side enough that a bogus message "tlsv1 > alert unknown ca" is returned by the client. This seems like an OpenSSL bug, not a Postgres bug. libpq doesn't do anything that determines cipher lists. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs