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

SitesManager: CIDR notation #1775

Closed
robocoder opened this issue Oct 21, 2010 · 3 comments
Closed

SitesManager: CIDR notation #1775

robocoder opened this issue Oct 21, 2010 · 3 comments
Assignees
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone

Comments

@robocoder
Copy link
Contributor

IP exclusion currently limited to wildcards, e.g., 128.252.135.*

Support for CIDR notation would allow for the equivalent 128.252.135.0/24, but also allow for things harder to express using wildcards, e.g., 199.27.128.0/21.

@mattab
Copy link
Member

mattab commented Nov 16, 2010

Wildcards and / or a combination of listing specific IP addresses will meet all use cases for IP exclusion within a company.

@robocoder
Copy link
Contributor Author

Wildcards are limited to representing /24, /16, and /8.

@robocoder
Copy link
Contributor Author

(In [4533]) fixes #1111 - add support for IPv6 addresses (tracking, anonymization, and exclusion)
fixes #2095 - add new anonymization hook (pre-heuristics)
fixes #2055 - optional IP filter when multiple proxies present
fixes #1775 - SitesManager: supports CIDR notation for IP exclusion

Notes:

  • Installer no longer checks for IPv6, so the related messages should be deleted from translations
  • IPv4 mapped addresses (e.g., ::ffff:127.0.0.1) are no longer re-mapped into IPv4 space
  • users who to query IP addresses from MySQL directly, can use the following SQL, but inet_ntoa() is limited to IPv4 addresses:
select inet_ntoa(conv(hex(location_ip), 16, 10)) from piwik_log_visit;

This issue was closed.
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

2 participants