From mboxrd@z Thu Jan 1 00:00:00 1970 From: Deti Fliegl Subject: Re: Can i have a rate limit per source IP Address in IPSet? Date: Thu, 05 Oct 2006 09:51:04 +0200 Message-ID: <4524B968.303@fliegl.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: netfilter-devel@lists.netfilter.org Return-path: To: Retesh Chadha In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Hi, better use match 'hashlimit' for your purpose. Example: iptables --append FORWARD --match hashlimit --hashlimit 1/s --hashlimit-mode srcip --jump ACCEPT This would limit the number of requests from an specific IP address to 1 per second. Regards, Deti