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 0AFBF5333D for ; Tue, 19 Apr 2005 09:54:49 -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 62277-07 for ; Tue, 19 Apr 2005 12:54:43 +0000 (GMT) Received: from wolff.to (unknown [66.93.197.194]) by svr1.postgresql.org (Postfix) with SMTP id 719D953B29 for ; Tue, 19 Apr 2005 08:15:42 -0300 (ADT) Received: (qmail 11300 invoked by uid 500); 19 Apr 2005 11:23:04 -0000 Date: Tue, 19 Apr 2005 06:23:04 -0500 From: Bruno Wolff III To: Bruce Momjian Cc: "C. Bensend" , pgsql-admin@postgresql.org Subject: Re: brute force attacking the password Message-ID: <20050419112304.GB10314@wolff.to> Mail-Followup-To: Bruno Wolff III , Bruce Momjian , "C. Bensend" , pgsql-admin@postgresql.org References: <3806.134.244.169.17.1113856899.squirrel@webmail.stinkweasel.net> <200504182055.j3IKtj713477@candle.pha.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200504182055.j3IKtj713477@candle.pha.pa.us> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.009 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/256 X-Sequence-Number: 17269 On Mon, Apr 18, 2005 at 16:55:45 -0400, Bruce Momjian wrote: > > 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. Can't people use PAM to get this effect if they want it? For most people password guessing isn't going to be a big problem as the database won't be accessible from totally untrusted places and watching the log files for guessing will probably be a good enough solution.