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 6BCE752A7C for ; Mon, 18 Apr 2005 18:39:20 -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 00645-01 for ; Mon, 18 Apr 2005 21:39:11 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id EA5B65331D for ; Mon, 18 Apr 2005 18:39:10 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j3ILdBTK026104; Mon, 18 Apr 2005 17:39:11 -0400 (EDT) To: Dawid Kuroczko Cc: pgsql-admin@postgresql.org Subject: Re: brute force attacking the password In-reply-to: <758d5e7f0504181359974fe9@mail.gmail.com> References: <425E5807.2080205@khleuven.be> <200504182027.j3IKRtV09046@candle.pha.pa.us> <3806.134.244.169.17.1113856899.squirrel@webmail.stinkweasel.net> <758d5e7f0504181359974fe9@mail.gmail.com> Comments: In-reply-to Dawid Kuroczko message dated "Mon, 18 Apr 2005 22:59:39 +0200" Date: Mon, 18 Apr 2005 17:39:11 -0400 Message-ID: <26103.1113860351@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/246 X-Sequence-Number: 17259 Dawid Kuroczko writes: > Anyway, a simple 'sleep 2 seconds before telling that password > was wrong' would be a good addition anyhow. Seems pretty useless, unless we change things to also delay 2 seconds before telling the password was good, which I doubt anyone will like ;-) Otherwise, the attacker can simply abandon each connection after say 50 msec, or whatever the expected success time is. He need not wait until the postmaster drops the connection before launching another attempt. (No, I wouldn't like to stop that by putting a throttle on allowed connection rates, either ...) regards, tom lane