matomo-org / plugin-TrackingSpamPrevention

GNU General Public License v3.0
12 stars 7 forks source link

IP Allow list #118

Open Chardonneaur opened 3 weeks ago

Chardonneaur commented 3 weeks ago

Hi team,

In some cases some end users are performing a lot of actions and are legitimate traffic. For example: let's imagine an internal bot performing some quality assessment. It would then be interesting for this bot to not be excluded even though the number of actions it is performing goes beyond a limit that we consider as legitimate (for example above 250 actions).

Suggested solution: Based on the demand of a client, it would be useful to have an IP allow list.

snake14 commented 3 weeks ago

Hi @Chardonneaur . Thank you for taking the time to create this issue. I believe that the iprange_allowlist config, mentioned in the plugin FAQ, already allows for this. Is that sufficient or are you looking for a UI setting?

Chardonneaur commented 3 weeks ago

thank you @snake14 for answering. Here are my questions:

AltamashShaikh commented 3 weeks ago

@Chardonneaur Answer to your questions

would it be possible to have this feature as a UI feature within the cloud?

Ans1. Yes we can expose this in UI.

if yes, would that mean that if i whitelist one of those IP addresses that they won't be filtered if they enter within one other condition of the spam filter for example: 192.168.0.1 is making 500 actions in a visit whereas my filter indicated that visits above 250 actions shouldn't be counted?

Ans2. Yes it won't be filtered even if it is making 500 actions, as the visit from such i/ps will be always allowed.