Mailinglist Archive: opensuse (3242 mails)

< Previous Next >
Re: [SLE] Iptables: --limit, and bandwidth limiters.
  • From: "Victor R. Cardona" <vcardon@xxxxxxxx>
  • Date: Fri, 7 Sep 2001 00:07:51 -0500
  • Message-id: <20010907000751.A7355@xxxxxxxxxxxxxxxxxxxxxxxx>
On Thu, Sep 06, 2001 at 08:54:06PM +0200, Praise wrote:
> I just want to learn how to use iptables.
> I want to set up my firewall by hand, but I have not very clear what does
> the --limit directive work.
> Does it only limit how much packets does match a rule?
>
> I ask this because I plan to use something to limit the bandwidth of some
> computer in my LAN.

limit only limits the frequency that a packet can match a rule. For
example, iptables -A INPUT -m limit --limit 1/min -p icmp -j LOG will
only log one ICMP packet per minute.

HTH,
-v

--
Victor R. Cardona
12:03am up 13 days, 6:34, 1 user, load average: 1.04, 1.02, 1.00
Powered by SuSE Linux 7.1 (i386) 2.4.5-64GB-SMP
< Previous Next >
Follow Ups
References