From: Pavlos Parissis Subject: About limit Date: Fri, 1 Nov 2002 21:38:05 +0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: <20021101213805.45bf3891.p_pavlos@freemail.gr> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org Hello all, I read today the thread "next topic: --limit and --burst-limit" and some thoughts came up about my rules. I have the followings : -A internet-firewall -p icmp -m icmp --icmp-type 8 -m limit --limit 30/min -j ACCEPT -A internet-firewall -p icmp -m icmp --icmp-type 8 -m limit --limit 1/min -j LOG --log-prefix "PoD attack! " --log-level 6 -A internet-firewall -p icmp -m icmp --icmp-type 8 -j DROP SO with the rule 1 i accept only 30 packets per minute with second rule i logged only the next 30 packets,actually only the first of the 30 packtes. and the third rule drops the next 30 packets. I just want to allow only 30 packets per minute and log only 1 dropped packet per limit. So do i do what i want? Thanks in advance, Pavlos -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I love having the feeling of being in control while i have the sensation of speed The surfer of life ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~