Return-Path: Delivered-To: apmail-mina-dev-archive@www.apache.org Received: (qmail 4681 invoked from network); 5 Oct 2007 09:00:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Oct 2007 09:00:16 -0000 Received: (qmail 9572 invoked by uid 500); 5 Oct 2007 09:00:01 -0000 Delivered-To: apmail-mina-dev-archive@mina.apache.org Received: (qmail 9543 invoked by uid 500); 5 Oct 2007 09:00:01 -0000 Mailing-List: contact dev-help@mina.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mina.apache.org Delivered-To: mailing list dev@mina.apache.org Received: (qmail 9533 invoked by uid 99); 5 Oct 2007 09:00:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2007 02:00:01 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2007 09:00:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A230871422C for ; Fri, 5 Oct 2007 01:59:50 -0700 (PDT) Message-ID: <19246143.1191574790644.JavaMail.jira@brutus> Date: Fri, 5 Oct 2007 01:59:50 -0700 (PDT) From: "Trustin Lee (JIRA)" To: dev@mina.apache.org Subject: [jira] Commented: (DIRMINA-389) Create a Connection Throttle Filter In-Reply-To: <3084306.1182599905992.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRMINA-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532599 ] Trustin Lee commented on DIRMINA-389: ------------------------------------- We also need to provide a property that limits the number of the clients from the same host. For now we have a problem with more than one client that connects within the same milliseconds because we are using System.currentTimeMillis(). Adding additional counter will fix it. Therefore, we need some simple bookeeping data structure here. > Create a Connection Throttle Filter > ----------------------------------- > > Key: DIRMINA-389 > URL: https://issues.apache.org/jira/browse/DIRMINA-389 > Project: MINA > Issue Type: New Feature > Components: Filter > Affects Versions: 2.0.0-M1 > Environment: All > Reporter: Mark Webb > Assignee: Mark Webb > Priority: Minor > Fix For: 2.0.0-M1 > > > Create a filter that will throttle connections. This filter will monitor newly created sessions and if new connections from the same IP address come in too fast, drop the connections. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.