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 1lbkt0-0004er-9L for pgsql-hackers@arkaria.postgresql.org; Wed, 28 Apr 2021 14:09:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lbksz-0003sf-2k for pgsql-hackers@arkaria.postgresql.org; Wed, 28 Apr 2021 14:09:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lbksy-0003sX-Rl for pgsql-hackers@lists.postgresql.org; Wed, 28 Apr 2021 14:09:52 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lbksw-00079W-Jl for pgsql-hackers@postgresql.org; Wed, 28 Apr 2021 14:09:51 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AA67F5C00D5; Wed, 28 Apr 2021 10:09:49 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 28 Apr 2021 10:09:49 -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:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=RnvqZtkXjh8H9ek7xmItvJdMmCvy2fuZWKAPYxDJwDc=; b=LsScm5QT BIjWppYgs/MuKhGOq1aHUpzaZcgLXvHFkhUjL8cjSNPVqFYLxGhd9A3iIE+Ic5Ow zZHOdKV1BAaZwkGR8PHCxvuIJc1VN2oT1aFj5nVbvUx5J9S0AxiD92dtUgxwk133 F8DWSQMPOSxxECDik3ITrcBczbbkjfB+3OR+JnXLlGQlZX2lYQXGXFTztT94JiiC ql89GOov3j03CawXKfmMuCtfogXgiGKsJqXPDerJ+pb8WvJvTS3AwruAKGDpiI9g MBEhBrsKjHkL7mJW6Kcaq5E+6B+DXsTaXQatu0+w7fmaIP2d1U4JbLm8yg5MChke x1gEJcgYSQoC4g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddvvddggeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjfgesthekredttderudenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepueffhfejieeuueffgedvudekgeeltdeviedvieeufeei ieevgfetheeufeethedvnecukfhppeduledtrdelhedrudelrdelheenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghl vhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.19.95]) by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 28 Apr 2021 10:09:48 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 49CAB2A09BF; Wed, 28 Apr 2021 10:09:46 -0400 (-04) Date: Wed, 28 Apr 2021 10:09:46 -0400 From: Alvaro Herrera To: Peter Eisentraut Cc: pgsql-hackers Subject: Re: pg_hba.conf.sample wording improvement Message-ID: <20210428140946.GA13248@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Apr-28, Peter Eisentraut wrote: > I propose the attached patch to shake up the wording in the connection type > section of pg_hba.conf.sample a bit. After the hostgssenc part was added > on, the whole thing became a bit wordy, and it's also a bit inaccurate for > example in that the current wording for "host" appears to say that it does > not apply to GSS-encrypted connections. Yeah, that's a clear improvement. 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? -- Álvaro Herrera 39°49'30"S 73°17'W "Pensar que el espectro que vemos es ilusorio no lo despoja de espanto, sólo le suma el nuevo terror de la locura" (Perelandra, C.S. Lewis)