<div dir="ltr"><font face="monospace, monospace">Hi,<br><br>After my application changes unbound configuration, i call a reload to put thing in order.<br><br>After calling reload, I figure out that ip-ratelimit was not changed in ip_ratelimit_list<br><div class="gmail_default" style="font-family:monospace,monospace;display:inline">​</div><br>ip-ratelimit: 350<br>ip-ratelimit-size: 4m<br>ip-ratelimit-slabs: 2<br>ip-ratelimit-factor: 10<br><div class="gmail_default" style="font-family:monospace,monospace;display:inline">​​</div><br><div class="gmail_default" style="display:inline">​$ unbound-control get_option ip-ratelimit<br>350<br>

<span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br>$<span> </span></span><span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"></span><span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">unbound-control </span>ip_ratelimit_list +a<br>192.168.0.1 5 limit 350<br><br></div></font><div><font face="monospace, monospace"><div class="gmail_default" style="display:inline"><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"># change 

<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ip-ratelimit</span> to 400 in unbound conf file and calls reload<br>

<div class="gmail_default" style="text-decoration-style:initial;text-decoration-color:initial;display:inline"><br>

<span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">​$ unbound-control reload</span>​</div><br style="text-decoration-style:initial;text-decoration-color:initial"><div class="gmail_default" style="text-decoration-style:initial;text-decoration-color:initial;display:inline">​$ unbound-control get_option ip-ratelimit<br></div>400<br>

<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"># even new users get the old ip-ratelimit</span><br><br>$<span> </span></span><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"></span><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">unbound-control </span><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ip_ratelimit_list +a</span><br style="text-decoration-style:initial;text-decoration-color:initial"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">192.168.0.1 7 limit 350</span>

<br><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br>$<span> </span></span><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"></span><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">unbound-control </span><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ip_ratelimit_list +a</span><br style="text-decoration-style:initial;text-decoration-color:initial"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">192.168.0.1 7 limit 350</span><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span></span>
<br style="text-decoration-style:initial;text-decoration-color:initial"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">192.168.0.2 15 limit 350</span><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span></span>

<br><br># then I call set_option, and everything is fine<br><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">$<span> </span></span><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"></span><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">unbound-control </span></span></div>set_option ip-ratelimit: 400<br><div class="gmail_default" style="display:inline"><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ok<br style="text-decoration-style:initial;text-decoration-color:initial"><div class="gmail_default" style="text-decoration-style:initial;text-decoration-color:initial;display:inline">​$ unbound-control get_option ip-ratelimit<br></div><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">400</span>

<br>

<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br>$<span> </span></span><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"></span><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">unbound-control </span><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ip_ratelimit_list +a</span><br style="text-decoration-style:initial;text-decoration-color:initial"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">192.168.0.1 8 limit </span>

<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">400</span><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span></span>

<br style="text-decoration-style:initial;text-decoration-color:initial"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">192.168.0.2 9 limit </span>

<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">400</span><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span></span>


<br><br style="text-decoration-style:initial;text-decoration-color:initial"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">This is suppose to work that way? There is a problem/BUG? Or I'm missing something?</span>

<br></span></div></font></div><div><font face="monospace, monospace"><div class="gmail_default" style="display:inline">​</div><br></font></div></div>