[OpenSIPS-Users] ratelimit network algorithm traffic limit

David Villasmil david.villasmil.work at gmail.com
Mon Mar 2 17:18:40 EST 2020


Jeff,

Yep, you’re totally right. The limit should be set when calling the check,
I.e:

if (!rl_check("$rU", "50", "TAILDROP")) {
		sl_send_reply("503", "Server Unavailable");
		exit;
	};



On Mon, 2 Mar 2020 at 16:19, Jeff Pyle <jeff at ugnd.org> wrote:

> This doesn't appear to have anything to do with a any type of limit or the
> network algorithm.  In fact, it says, "...and only affects the Taildrop and
> RED algorithms."  ?
>
>
> - Jeff
>
>
> On Mon, Mar 2, 2020 at 11:05 AM David Villasmil <
> david.villasmil.work at gmail.com> wrote:
>
>>
>> https://opensips.org/html/docs/modules/2.4.x/ratelimit.html#param_limit_per_interval
>>
>>
>> On Mon, 2 Mar 2020 at 15:54, Jeff Pyle <jeff at ugnd.org> wrote:
>>
>>> Hello,
>>>
>>> The ratelimit doc page (v2.4) section 1.3.4 says the following:  "If the
>>> returned amount exceeds the limit specified in the modparam, rl_check
>>> returns an error."  The problem is I don't see a modparam to define the
>>> limit.
>>>
>>>
>>>
>>> - Jeff
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>> --
>> Regards,
>>
>> David Villasmil
>> email: david.villasmil.work at gmail.com
>> phone: +34669448337
>>
> ____________________________
>>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-- 
Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200302/f5c8d94c/attachment.html>


More information about the Users mailing list