Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3lEI-0007RR-2a for pgsql-bugs@arkaria.postgresql.org; Tue, 21 Jun 2022 21:16:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o3lEG-00065k-Um for pgsql-bugs@arkaria.postgresql.org; Tue, 21 Jun 2022 21:16:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3lEG-00065a-N0 for pgsql-bugs@lists.postgresql.org; Tue, 21 Jun 2022 21:16:08 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3lEC-0005rt-7p for pgsql-bugs@lists.postgresql.org; Tue, 21 Jun 2022 21:16:08 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 25LLFsPW3091667; Tue, 21 Jun 2022 17:15:54 -0400 From: Tom Lane To: Jacob Champion cc: Kyotaro Horiguchi , peter.eisentraut@enterprisedb.com, Michael Paquier , byavuz81@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17522: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL test fails on OpenBSD 7.1 In-reply-to: References: <17522-bfcd5c603b5f4daa@postgresql.org> <20220621.092753.452165241922345774.horikyota.ntt@gmail.com> Comments: In-reply-to Jacob Champion message dated "Tue, 21 Jun 2022 15:15:05 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3091665.1655846153.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 21 Jun 2022 17:15:53 -0400 Message-ID: <3091666.1655846153@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Jacob Champion writes: > On Tue, Jun 21, 2022 at 3:07 PM Jacob Champion = wrote: >> There is also a question of why LibreSSL doesn't do the same for the >> IPv6 CIDR test. Should we proactively disable SNI for both of them? > (Never mind; it's because we don't send SNI if there's a colon > anywhere in the host string.) So maybe the simplest fix is to do the same if there's a '/' anywhere? More generally, should we limit the SNI host string to chars allowed in DNS names? regards, tom lane