[SR-Users] ACC module and BYE attacks

Gholamreza Sabery gr.sabery at gmail.com
Tue Nov 1 12:56:25 CET 2016


Thank you so much. I will test it!

On Tue, Nov 1, 2016 at 1:55 PM, Daniel-Constantin Mierla <miconda at gmail.com>
wrote:

> An alternative, which I haven't tried it to be 100% sure, but it should
> work as the accounting should happen when a reply is sent out -- anyhow,
> the idea is:
>
> - set an onreply_route for the BYE requests and inside it, if the code
> is 481, the reset the accounting flag(ie., resetflag(FLT_ACC)).
>
> If someone tries it, would be good to know the results whether it works
> or not.
>
> Cheers,
> Daniel
>
> On 01/11/16 09:32, Alex Balashov wrote:
> > On 11/01/2016 02:58 AM, Gholamreza Sabery wrote:
> >
> >> Is there an option in the ACC module for this, or I should handle
> >> dialog tracking using dialog module?
> >
> > No, there's no option for it in the ACC module.
> >
> > Using dialog tracking is one option. Adding a database constraint or
> > trigger that would prevent it is another; that's my preferred approach.
> >
> > The ACC module is stateless. Think of it as a relatively unintelligent
> > logger. As with all loggers, it's your choice what to log, and to
> > devise means by which to prevent certain things from being logged.
> >
>
> --
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio Advanced Training, Berlin, Nov 28-30, 2016 -
> http://www.asipto.com
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161101/9e335c78/attachment.html>


More information about the sr-users mailing list