Skip to contentSkip to conversation

hashlimit supports only up to 10.000 pps

DISCUSSION Thomas Jacob 2 participants 2 messages Jul 6, 2009 netfilter

lore
Share & tools
lore
#0 lore raw

Since hashlimit has come up on the list today:

Is there any technical reason why hashlimit has a built in maximum limit of only 10k pps? If not, are there any plans of some of the core developers to increase that limit in the near future? If not, I presume that patches would be welcome?

10k pps isn't exactly a lot these days.

Thomas

#1 lore raw
Quoted 4 lines · Thomas Jacob

Since hashlimit has come up on the list today:

Is there any technical reason why hashlimit has a built in maximum limit of only 10k pps?

Same reason as xt_limit, see comment above MAX_CPJ.

Quoted 3 lines

If not, are there any plans of some of the core
developers to increase that limit in the near future? If not, I presume that patches would be welcome?

The rate estimator seems to be a better fit algorithmatically, though the extension lacks the grouping using --hashlimit-mode and --hashlimit-{src,dst}mask that makes hashlimit so versatile. RATEEST also - standalone - requires two rules at this time.