Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature to ignore traffic of Cloud providers - prevent spam tracking #16794

Closed
tsteur opened this issue Nov 25, 2020 · 1 comment
Closed
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.

Comments

@tsteur
Copy link
Member

tsteur commented Nov 25, 2020

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.

@tsteur tsteur added Help wanted Beginner friendly issues or issues where we'd highly appreciate community's help and involvement. c: New plugin For features that probably will not be added to Matomo, but could be implemented as plugins. labels Nov 25, 2020
@tsteur tsteur added this to the Backlog (Help wanted) milestone Nov 25, 2020
@tsteur tsteur added the trackingspam For issues related to receiving tracking requests from spammers and bots. label Nov 25, 2020
@tsteur
Copy link
Member Author

tsteur commented Dec 23, 2020

@tsteur tsteur closed this as completed Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

1 participant