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 1lbyuB-0001Zw-A0 for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Apr 2021 05:08:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lbyuA-0000Y7-6Y for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Apr 2021 05:08:02 +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 1lbyuA-0000Xo-04 for pgsql-hackers@lists.postgresql.org; Thu, 29 Apr 2021 05:08:02 +0000 Received: from wforward5-smtp.messagingengine.com ([64.147.123.35]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lbyu7-0003qW-Sg for pgsql-hackers@postgresql.org; Thu, 29 Apr 2021 05:08:01 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailforward.west.internal (Postfix) with ESMTP id 2126612B8; Thu, 29 Apr 2021 01:07:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 29 Apr 2021 01:07:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=VHUFZAuCIEgqZZneXJ0VQp+onn+bKox7+ZLvivL6G PY=; b=KIqIRZZuLUfAVyxuRazZIGx5ouro4cCiE1RopU+YfSAW1P/RVwz5zdrpW c2CZpixqDkLXdIcpgcCDZ1VoBN7SvXNlc7N7SRQlRZBWWN+XJTzkGK8pqBHp1ptq JCmUSEyFNRAg42TE60UnHDsHGAHae1XMGVuG45H7uAn4i0+fZwTusPw/ltDppKtK oVFPgrq8QsSym2CLaioJJNI20dpO5egAdzXJT3WdDoSHbUG9/MZ30za+6TrIqoCF xv1qqmIdV+jVzBmMv1j2M+c4AqlqjHuHmIOnOnhM3WikRNBk+CxDoqyM0jRG96Xx xacsY9akT9cZluwCRUgF2O8YMDWQA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddvfedgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvg hrphhrihhsvggusgdrtghomheqnecuggftrfgrthhtvghrnhepleevheehueeiudeiteei tdekueetleefteejffeiffdugedvffdvffdtiedvueeknecukfhppeeluddrudegrddvvd egrdduvddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepphgvthgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Received: from laptop206oxuk.local (p5b0ee078.dip0.t-ipconnect.de [91.14.224.120]) by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 29 Apr 2021 01:07:55 -0400 (EDT) Subject: Re: pg_hba.conf.sample wording improvement To: Alvaro Herrera Cc: pgsql-hackers References: <20210428140946.GA13248@alvherre.pgsql> From: Peter Eisentraut Message-ID: Date: Thu, 29 Apr 2021 07:07:54 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <20210428140946.GA13248@alvherre.pgsql> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 28.04.21 16:09, Alvaro Herrera wrote: > Looking at it now, I wonder how well do the "hostno" options work. If I > say "hostnogssenc", is an SSL-encrypted socket good? If I say > "hostnossl", is a GSS-encrypted socket good? If so, how does that make > sense? I think for example if you want to enforce SSL connections, then writing "hostnossl ... reject" would be sensible. That would also reject GSS-encrypted connections, but that would be what you want in that scenario.