Add feature to ignore traffic of Cloud providers - prevent spam tracking #16794
Labels
c: New plugin
For features that probably will not be added to Matomo, but could be implemented as plugins.
Help wanted
Beginner friendly issues or issues where we'd highly appreciate community's help and involvement.
trackingspam
For issues related to receiving tracking requests from spammers and bots.
Milestone
Be great to have a new plugin or setting that will not track any traffic coming from any cloud provider such as AWS, GC or Azure. For most websites this should be fine as the traffic in this case be unlikely from a human.
There is eg here all the current IP ranges of AWS: https://ip-ranges.amazonaws.com/ip-ranges.json
azure: maybe https://www.microsoft.com/en-us/download/details.aspx?id=56519
Google Cloud: https://cloud.google.com/compute/docs/faq#find_ip_range
There is also https://github.com/bcoe/which-cloud but seems outdated maybe. There might be ways to get this data though eg see https://posts.specterops.io/head-in-the-clouds-bd038bb69e48 (although a whois be slow)
Not sure if I'm missing something but this could be useful for when you get spammed from bots? Checking so many IP ranges might be slow though.
The text was updated successfully, but these errors were encountered: