Hi Alexey , Saurabh is talking about drouting dr_gateways table .
We have some trusted IPs which are added in the dr_gateways table . We don't want to monitor these IPs . Rather than these IPs every other IPs should get monitor to block the traffic if it's overflooded . We don't want to add these IPs in the config file . Because the table used to get updated . If we add these IPs in the config file to check for the PIKE module , then every time we will add a new IP we have to restart the service , which we don't want . How will we do this ? *Thanks & Regards* *Sasmita Panda* *Senior Network Testing and Software Engineer* *3CLogic , ph:07827611765* On Mon, Nov 15, 2021 at 11:14 AM Alexey Kazantsev via Users < [email protected]> wrote: > Hi Saurabh, > not clear from your message what routing table do you mean — > either Linux kernel routing table or drouting [1] module. > > Anyway, you may use ratelimit [2] module or pike [3] modules > specifying the IP addresses as the source address to check/not to check > the requests coming from it. > > I have some experience with both of modules, > maybe my notes [4], [5] can also be useful to you. > > [1] https://opensips.org/docs/modules/3.1.x/drouting.html > [2] https://opensips.org/docs/modules/3.1.x/ratelimit.html > [3] https://opensips.org/docs/modules/3.1.x/pike.html > <https://opensips.org/docs/modules/3.1.x/pike.html#overview> > [4] https://alexeyka.zantsev.com/?p=1275 > [5] https://alexeyka.zantsev.com/?p=1194 > > ----------------------------------------------- > BR, Alexey > https://alexeyka.zantsev.com/ > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
