Re: throtling bandwidth

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry its ipt_quota

iptables -I FORWARD 1 -s 192.16.0.1/24 -m quota --quota 6000 -j ACCEPT
iptables -I FORWARD 2 -s 192.16.0.1/24 -j DENY

All of 192.16.0.0 will be limited to 6M after which they get nothing
more clever things are possible but I will leave it too you.

 quota
       Implements network quotas by decrementing  a  byte  counter  with
each
       packet.

       --quota bytes
              The quota in bytes.

On Thu, 2005-11-10 at 12:09 -0500, Payal Rathod wrote:
> On Thu, Nov 10, 2005 at 04:06:50PM +0000, Oscar Mechanic wrote:
> > Instead of restricting the speed use iptables ipt_account to restrict
> > usage and the put in a script on cron to zero the counters. That way you
> > get to budget and the users get best experience.
> > 
> <lartc@xxxxxxxxxxxxxxx>
> Sorry didn't get what you meant. What exactly is ipt_account? Can you 
> give an example?
> Thanks in advance.
> With warm regards,
> -Payal

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux