From mboxrd@z Thu Jan 1 00:00:00 1970 From: bash <0x62ash@gmail.com> Subject: Re: help me (nfcan: addressed to exclusive sender for this address) Date: Thu, 30 Mar 2006 19:58:26 +0400 Message-ID: <20060330195826.ef15fbaf.0x62ash@gmail.com> References: <20060329231421.0d6d3a59.0x62ash@gmail.com> <000201c653bd$16ea0e40$0101000a@sterenborg.info> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <000201c653bd$16ea0e40$0101000a@sterenborg.info> 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: netfilter@lists.netfilter.org On Thu, 30 Mar 2006 07:45:01 +0200 "Rob Sterenborg" wrote: > >> $ipt -A [INPUT|FORWARD] -i $IF_LAN -m state --state NEW -s $LAN_NET \ > >> -p tcp --syn -m limit --limit 3/sec -j ACCEPT > > > > If just ONE host from my $LAN_NET will exceed this limit, then ALL > > hosts in $LAN_NET will not able to start new session... and this is > > bad. I want to limit 3/sec per host, not for all net.... > > Yes.. :-\ > Maybe this post is of help then. > http://www.linux-noob.com/forums/index.php?showtopic=1829 I saw it... "-m recent" has only 1 second sampling... i cant handle situaton of 3/sec and etc..... I found "-m dstlimit" module which is handy, *but* for my situation i wanna the same but with limit the packet rate on a per SOURCE ip.... inverted dstlimit :) Any ideads? :/ -- Biomechanica Artificial Sabotage Humanoid