X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CC40E533B8 for ; Mon, 18 Apr 2005 17:55:45 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 84208-03 for ; Mon, 18 Apr 2005 20:55:43 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [64.139.89.126]) by svr1.postgresql.org (Postfix) with ESMTP id 645B6533F8 for ; Mon, 18 Apr 2005 17:55:43 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id j3IKtj713477; Mon, 18 Apr 2005 16:55:45 -0400 (EDT) From: Bruce Momjian Message-Id: <200504182055.j3IKtj713477@candle.pha.pa.us> Subject: Re: brute force attacking the password In-Reply-To: <3806.134.244.169.17.1113856899.squirrel@webmail.stinkweasel.net> To: "C. Bensend" Date: Mon, 18 Apr 2005 16:55:45 -0400 (EDT) Cc: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.01 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/240 X-Sequence-Number: 17253 C. Bensend wrote: > > > No, there is not. Does anyone want to suggest a possible implementation > > for the TODO list? > > I would like to see a combination of number of login failures and a > timeout, configurable via the conf file. Say, X login failures > disables further logins for that account for Y minutes. > > That would be groovy. :) I would like to pick something that matches what a typical Unix system does because I think the _fancy_ solutions actually cause weird problems like denial-of-service attacks by just trying to log in. How do typical open source Unix's handle it? It think they slow down prompting for a password --- but as I remember we only allow one password attempt per connection so that is already covered. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073