Re: rateest usage problem - slightly lost

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

 



On Sunday 2009-05-31 18:24, Anton VG wrote:

>Seems finally I've got it working, and had to look at the sources of
>the xt_rateest.c to understand what it wants :)
>
>Possibly it's good to update man page with more examples of rateest
>usage, so it would be clear, that we have to use the first and the
>second (bps1 and bps2) parameters, and rateest give it's result as
>difference of them,[...]

If you have any concrete recommendations — perhaps even your use case — 
on how to improve the wording, we would like to hear. Ideally in the 
form of a patch, but an unformatted text/plain blob will also do.

> so the following
>
>iptables -t mangle -A PREROUTING -s $SOURCE -m rateest --rateest1
>$RATEESTIMATOR --rateest-bps1 0 --rateest-bps2 200kbit --rateest-lt -j
>MARK --set-mark $TARGETMARK
>
>will set mark only when estimated rate is below 200kbit
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux