From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Toptygin Subject: Re: Log with log amount Date: Thu, 28 Oct 2004 11:59:23 +0000 (UTC) Sender: netfilter-bounces@lists.netfilter.org Message-ID: References: <02b201c4bcd8$b5dd17e0$3a00200a@ThaiAn> Mime-Version: 1.0 Return-path: In-Reply-To: <02b201c4bcd8$b5dd17e0$3a00200a@ThaiAn> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: TEXT/PLAIN; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit To: thaian Cc: netfilter@lists.netfilter.org On Thu, 28 Oct 2004, thaian wrote: > Hi All > > In FreeBSD, ipfw uitiliy can log with amount of packet: ipfw add 1200 > deny log tcp from any to any log-amount 100 > > But with netfilter, I do not see any option for setting amount of packet > I want to log iptables -A INPUT -j LOG ...................???? Umm, is iptables -A INPUT -m limit --limit 100/day -j LOG what you want? Or are you trying to limit to 100 packets ever? Alexey