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 A0E905341B for ; Mon, 18 Apr 2005 17:59:46 -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 84125-07 for ; Mon, 18 Apr 2005 20:59:39 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.195]) by svr1.postgresql.org (Postfix) with ESMTP id AEAFE533F8 for ; Mon, 18 Apr 2005 17:59:37 -0300 (ADT) Received: by zproxy.gmail.com with SMTP id 34so154757nzf for ; Mon, 18 Apr 2005 13:59:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DFVCidkGaO7cPepcpP+ITw11W4X6XrCbWdqn3yHdWB68yL7XJ9DR0rtMIKTYzu2oEEUA839sU/uMoruRg8pZb6+TqjDOvVWqGKROWusVtYiOs1E0bhQaNsjnioEUMFhbyg37q4XR78pvlGUOTcW7mSiyPxOviBvO7BNvZlWtaDI= Received: by 10.36.12.7 with SMTP id 7mr415006nzl; Mon, 18 Apr 2005 13:59:39 -0700 (PDT) Received: by 10.36.22.15 with HTTP; Mon, 18 Apr 2005 13:59:39 -0700 (PDT) Message-ID: <758d5e7f0504181359974fe9@mail.gmail.com> Date: Mon, 18 Apr 2005 22:59:39 +0200 From: Dawid Kuroczko Reply-To: Dawid Kuroczko To: pgsql-admin@postgresql.org Subject: Re: brute force attacking the password In-Reply-To: <3806.134.244.169.17.1113856899.squirrel@webmail.stinkweasel.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <425E5807.2080205@khleuven.be> <200504182027.j3IKRtV09046@candle.pha.pa.us> <3806.134.244.169.17.1113856899.squirrel@webmail.stinkweasel.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.76 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, FROM_ENDS_IN_NUMS, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200504/241 X-Sequence-Number: 17254 > > No, there is not. Does anyone want to suggest a possible implementatio= n > > 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. >=20 > That would be groovy. :) And dangerous. Imagine a system with say, apache accound used from some Apache application. And a maluser who purposefully tries to log in to "apache" account and fails, thus causing a DoS on the web application. :) ...of course with careful planning and right implementation it would be very good. Anyway, a simple 'sleep 2 seconds before telling that password was wrong' would be a good addition anyhow. [ if it already is inside PgSQL, please forgive me :) ] Regards, Dawid