Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s01nK-000Aak-Hv for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Apr 2024 16:17:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s01nH-000Per-W2 for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Apr 2024 16:17:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s01nH-000Pej-My for pgsql-hackers@lists.postgresql.org; Thu, 25 Apr 2024 16:17:56 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1s01nF-0001MK-PN for pgsql-hackers@lists.postgresql.org; Thu, 25 Apr 2024 16:17:55 +0000 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a4715991c32so126264366b.1 for ; Thu, 25 Apr 2024 09:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714061873; x=1714666673; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=X5h9Z9Uox1+m5YxIe77K1DsoSBTXXiMP1SSOHN3y8Mw=; b=j0u1+VYCObaMri6IqJhltwHirDOGwvJHoiS0NIWSB7EvWCzKsqMn+aLkQbwOzVntgs 7iQWMtUkpIsFAf0rzwPaUp5xDKpicHe/xRvwTx1p+ozX+XxiSXiZt/yyCMNO5rA5WFop mAgIouyVCsaRL9/1rSUXJnthMqlGqtZ8vGKcCnmFzzwcENVz6Jgr6L2JxAir3vNbUzwi hI1UtQGI1zxM7XE88q7Qe2AFPskXxcQYtjQIKmaZPb4l1Tas5A2ppAxKqPpqjDeskTuu HbIt9C2rJGa0SMxoX5EiqzLGSpnt08HMJ1JwQbNnwN1FNBXAxtQya9vWklforjRRHa5y vHug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714061873; x=1714666673; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=X5h9Z9Uox1+m5YxIe77K1DsoSBTXXiMP1SSOHN3y8Mw=; b=YDGJWDgEbQugmjejE+wN+H8NOGMjb1cqoqctfvx4D7kpt5QHZ/cfUGATlp1cqoVbgk EBTzEsW2kxx9yGS+nuWhz8DrmWmevPvre/qSuPjreb4mlyUXC1PKZmrnGn2KUoqj5qh3 kD1NZmyeetsjeNGVp5srHt1fEXfSGJ/XHQjzI5bMjCLZ+9YSIL9SOc923LEwyp0y1eaC DIUTv9kIBYNWn0XoRjRdK+WpYIyiLbwYTiMP5C1wXmS9FVt7dfhoVRydE7mp0Fr/OrUw Q3XcxfTQvFysULOQdeWUOqGgUNO044nOePB7jpI+Vl+LsuHsnmSYAx2cHP8jhQIn5dsd iSvQ== X-Forwarded-Encrypted: i=1; AJvYcCUY+viZtC6CdonmiF/7BTp8IDjmM7V1qtyC1r029ssEn/iUJBYC+ntU5LDko0GCbgm+xpBrSwLXVgKdMhgAyLFFfON3zHXmiVFckT/xwuhoSiTD X-Gm-Message-State: AOJu0Yz/4ao9kOn+Tqz7ahG+AFGm6qv8SGQJRLhyYAkJWrOzx4t0jn+8 5AcIslxMFqwlwtd63BAdb3pNTxrLYoDfbBb2HZzYkw+C7WvILycJ1Pk8uXjIYdkiV7IerhYICMD IuZ2tsZbzbSwUjZR0i/ai2Ijq3Go= X-Google-Smtp-Source: AGHT+IH8vdXSRTj5FJhKDjN0iqAn4kN74ZRUDo2B7p1GAQSfDoNtwrNROa+/ef30qbnwBcsjeWdgFsFifkcky+5C5rA= X-Received: by 2002:a17:906:f9d5:b0:a58:c10f:1e29 with SMTP id lj21-20020a170906f9d500b00a58c10f1e29mr159898ejb.2.1714061872759; Thu, 25 Apr 2024 09:17:52 -0700 (PDT) MIME-Version: 1.0 References: <5a79ed71-b365-4b20-80bc-9c2bf97bf84b@iki.fi> In-Reply-To: From: Robert Haas Date: Thu, 25 Apr 2024 12:17:41 -0400 Message-ID: Subject: Re: Direct SSL connection with ALPN and HBA rules To: Jacob Champion Cc: Heikki Linnakangas , Michael Paquier , Postgres hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Apr 25, 2024 at 12:16=E2=80=AFPM Jacob Champion wrote > Right. I don't like that it still happens with > sslnegotiation=3Drequiredirect, but I suspect that this is not the > thread to complain about it in. Maybe I can propose a > sslnegotiation=3Dforcedirect or something for 18, to complement a > postgresqls:// scheme. It is difficult to imagine a world in which we have both requiredirect and forcedirect and people are not confused. --=20 Robert Haas EDB: http://www.enterprisedb.com