Re: [PATCH] libxt_hashlimit: add support for byte-based operation

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

 



On Tuesday 2012-05-08 15:16, Florian Westphal wrote:

> I've re-used the existing options. For example,
> --hashlimit-mode srcip,dstip,srcport,dstport --hashlimit\-above 512kb/s would
> match when the flow exceeded 512kbytes per second.
>
> Similarily, the --hashlimit-burst parameter now either a number (packetcount)
> number, or a "byte" suffix, e.g. "--hashlimit-burst 1mb".
>
> If you believe that we should introduce new options instead, please
> let me know and I'll re-spin the patch.

libxt_rateest also deals with rate suffixes, so it would seem to be 
worthwhile to investigate a new option type.
--
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