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

[Feature Request] Segment filtering using standard subnet masks #19072

Open
Jieiku opened this issue Apr 9, 2022 · 2 comments
Open

[Feature Request] Segment filtering using standard subnet masks #19072

Jieiku opened this issue Apr 9, 2022 · 2 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@Jieiku
Copy link

Jieiku commented Apr 9, 2022

Summary

Would like to be able to exclude IPs in segments using standard subnets for example:

  • 10.0.0.0/8
  • 172.16.0.0/12
  • 192.168.0.0/16

Additionally I am using Matomo Log Analytics, which rules out any plugin that requires cookies or javascript.

2022-04-08_17-13-56

Your Environment

  • Matomo Version: 4.8.0
  • MySQL version: 10.3.34-MariaDB-0ubuntu0.20.04.1
  • PHP Version: 7.4.3
  • Server Operating System: ubuntu 20.04
  • Additionally installed plugins: none
@Jieiku Jieiku added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Apr 9, 2022
@Jieiku Jieiku changed the title [Feature Request] Segments add filtering using standard subnet expression [Feature Request] Segments add filtering using standard subnet masks Apr 9, 2022
@Jieiku Jieiku changed the title [Feature Request] Segments add filtering using standard subnet masks [Feature Request] Segment filtering using standard subnet masks Apr 9, 2022
@peterhashair
Copy link
Contributor

@Jieiku If I am correct, you can set it up with at most and at least for the range of IPs .
FAQ https://matomo.org/faq/how-to/faq_21018/.
Let me know if require help for this.

@Jieiku
Copy link
Author

Jieiku commented Apr 12, 2022

I seen those options, they do not seem like a very efficient or even straight forward way of doing it when dealing with multiple IP ranges.

Would still like to be able to do it using standard subnet masks, as most other tools in the industry do.

Also the page you linked even says:

Note: you can only define one IP range at a time using this technique.

If subnet masks were supported you would not need two separate filters like you do with at most and at least and you would be able to exclude multiple ranges

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

3 participants