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

-- 

[EMAIL PROTECTED]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to