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 58A645338B for ; Wed, 11 May 2005 19:25:55 -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 04102-02 for ; Wed, 11 May 2005 22:25:48 +0000 (GMT) Received: from metux.de (seven.metux.de [193.16.1.1]) by svr1.postgresql.org (Postfix) with ESMTP id 4CAE952965 for ; Wed, 11 May 2005 19:25:46 -0300 (ADT) Received: (from weigelt@localhost) by metux.de (8.12.10/8.12.10) id j4BMPmve013278 for pgsql-admin@postgresql.org; Thu, 12 May 2005 00:25:48 +0200 Date: Thu, 12 May 2005 00:25:48 +0200 From: Enrico Weigelt To: pgsql-admin@postgresql.org Subject: Re: brute force attacking the password Message-ID: <20050511222548.GD6485@nibiru.borg.metux.de> Reply-To: weigelt@metux.de Mail-Followup-To: pgsql-admin@postgresql.org References: <200504182027.j3IKRtV09046@candle.pha.pa.us> <42651CFF.1020703@khleuven.be> <20050419203727.GA18200@wolff.to> <200504192254.41977.wim.bertels@khleuven.be> <20050420152044.GB512@wolff.to> <42678890.3020109@khleuven.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42678890.3020109@khleuven.be> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200505/138 X-Sequence-Number: 17567 * Wim Bertels wrote: > since brute force attacks are quit traceable (targetting one and the > same user eg..), > one could a script to check: > - the percentage of failed logins/user, depending on the percentage (eg > 75% or more failed, this should be configurable), these events should be > reporteg in security.log file under the postgres log directory, or > mailed to user (inetd...) > - if there are more than eg 10 (this should be configurable) failed > consecutive logins/user, this should again be reported. BTW: is it possible to do this directly in the database - by rules and triggers on the appropriate system tables ? cu -- --------------------------------------------------------------------- Enrico Weigelt == metux IT service phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: contact@metux.de --------------------------------------------------------------------- Realtime Forex/Stock Exchange trading powered by postgresSQL :)) http://www.fxignal.net/ ---------------------------------------------------------------------