From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Tricaud Subject: Re: repeated failed logons and ignoring them Date: Mon, 26 Jun 2006 13:43:49 +0200 Message-ID: <449FC875.50000@wengo.fr> References: <200606260702.57739.tyche@ica.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200606260702.57739.tyche@ica.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: tyche Cc: netfilter@lists.netfilter.org Netfilter doesn't know about authentication success of failure. Linux PAM is what you are looking for. You can simply modify your PAM configuration and use the pam_access and/or pam_tally module. You can read documentation about it there : http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam-6.html tyche wrote: > over the last few days, my server has been attacked. i would > like to limit remote logon attempts by address so that if > someone tries to logon from an ip address and fails 3 times, > my computer will ignore repeated attempts from that ip > address. any idea how to make a rule for this? > > tia > > tyche >