Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XdhVb-0006yc-Iz for pgsql-bugs@arkaria.postgresql.org; Mon, 13 Oct 2014 15:26:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XdhVb-0006qF-2G for pgsql-bugs@arkaria.postgresql.org; Mon, 13 Oct 2014 15:26:03 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XdhVa-0006on-3U for pgsql-bugs@postgresql.org; Mon, 13 Oct 2014 15:26:02 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XdhVS-00009w-UF for pgsql-bugs@postgresql.org; Mon, 13 Oct 2014 15:26:00 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1XdhVQ-0001Qg-CP; Mon, 13 Oct 2014 11:25:52 -0400 Date: Mon, 13 Oct 2014 11:25:52 -0400 From: Bruce Momjian To: Tom Lane Cc: Steven Siebert , Magnus Hagander , Stephen Frost , pgsql-bugs Subject: Re: BUG #10680: LDAP bind password leaks to log on failed authentication Message-ID: <20141013152552.GX21267@momjian.us> References: <20140619153712.GV16098@tamriel.snowman.net> <20140619160901.GW16098@tamriel.snowman.net> <20141011183535.GA21267@momjian.us> <25516.1413142930@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25516.1413142930@sss.pgh.pa.us> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) 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 On Sun, Oct 12, 2014 at 03:42:10PM -0400, Tom Lane wrote: > The right problem to be solving, to my mind, is that you feel a need > to give access to the postmaster log to untrusted people. Now maybe > that's just a problem of wrong administrative procedures, but let's > consider what we might do in PG to improve your ability to do that > safely. Perhaps what we should be entertaining is a proposal to have > multiple log channels, some containing more security-relevant messages > and others less so. Then you could give people the ability to read only > the non-security-relevant messages. If we arranged for *all* messages > relevant to pg_hba.conf to go into a secure log, it'd be a lot easier to > convince ourselves that we would not leak any security-critical info > than if we take the approach this patch proposes. Uh, are we ready to output pg_hba.conf syntax errors (that might contain passwords) to the that security channel? That seems confusing too. :-( -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs