Re: burst per connection or filter on packet numbers

Linux Advanced Routing and Traffic Control

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

 



On Friday 22 November 2002 19:32, Walter Haidinger wrote:
> Hi!
>
> I'd like put the first n packets of a connection into a seperate class
> like having a burst for each connection.
>
> The netfilter nth patch doesn't quite do this as it
> a. only matches a single packet count and
> b. works on the rule instead the connection count.
>
> I'm thinking of something like:
>   iptables -t mangle -I foo -m nth --every :100 -j ...
> where the counter is reset for every new connection.
>
> Can this be done with filters?
Why not doing with htb?  It has a nice burst parameter that does exactly what 
you want.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


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