Bug 1418 - [ip ratelimit] initialize slabhash using ip-ratelimit-slabs
[ip ratelimit] initialize slabhash using ip-ratelimit-slabs
Status: RESOLVED FIXED
Product: unbound
Classification: Unclassified
Component: server
unspecified
Other All
: P5 enhancement
Assigned To: unbound team
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-30 06:38 CEST by Manu Bretelle
Modified: 2017-08-31 14:02 CEST (History)
2 users (show)

See Also:


Attachments
ipratelimit.patch (934 bytes, patch)
2017-08-30 06:38 CEST, Manu Bretelle
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Manu Bretelle 2017-08-30 06:38:22 CEST
Created attachment 448 [details]
ipratelimit.patch

The `client_ip_rates` slabhash was initialized using cfg->ratelimit_slabs instead of cfg->ip_ratelimit_slabs .
Comment 1 Wouter Wijngaards 2017-08-31 14:02:40 CEST
Hi Manu,

Of course, good fix to find!  Thank you,

Best regards, Wouter