Comments (5)
Hi @DanielRuf,
Have you an alternative the functions?
from wp-statistics.
https://www.php.net/manual/en/function.sha1.php
https://www.php.net/manual/en/function.hash.php
use sha256...
from wp-statistics.
sha256 can be used but requires bigger fields. What do we have from hashing the IP and useragent? In general the useragent will be frozen in the near future and there may be cases when different users in the same building have the same IP and useragent (for example at work).
Serverside sessions can be used too.
At least ip + useragent is not a unique enough identifier.
NinjaFirewall for example removes the last 3 characters and replaces each of them with a x
.
from wp-statistics.
Then shorten them, and allow to shorten them to /24 and /16 (so 123.231.222.xxx or 123.231.xxx.xxx) and be done with it. I think the redirection plugin does that too. See https://redirection.me/support/privacy-gdpr/ and https://redirection.me/support/options/ ... he just masks the last octet.
I would do that and close this issue. Or make the field bigger, shouldn't be that much more IP address data... 30% or so?
from wp-statistics.
Exactly. IPv6 notation is normally not that long as parts can be compressed with ::
.
from wp-statistics.
Related Issues (20)
- Deprecated-Warning with PHP8.2 for Useragent.php HOT 1
- wordpress wp visitor statics Foreground secondary encoding injection vulnerability HOT 1
- the page ranking don't support Chinese HOT 1
- No graphs showing HOT 1
- geoip2 critical error (getWithPrefixLen) HOT 44
- Role exclusion not working HOT 1
- ALTER TABLE is still run on every update HOT 18
- Blank Full Site Editor HOT 7
- Question about date picker error HOT 1
- The American date system HOT 1
- Report security issues! HOT 5
- Homepage Hits not captured in "Top Pages" HOT 3
- Problems Detected on WP Hive Insights HOT 2
- PHP Fatal error: Allowed memory size of 268435456 bytes exhausted HOT 2
- Uncaught mysqli_sql_exception for WP_STATISTICS\Install::create_events_table() (Multisite installation) HOT 8
- Not Counting Correctly HOT 2
- wp_statistics_report_hook no action HOT 2
- Comparison function `compare_uri_hits_int` breaks `wp_statistics_get_top_pages` HOT 3
- issue with the latest release HOT 3
- Uncaught mysqli_sql_exception for WP_STATISTICS\Install::create_events_table() on upgrade 14.1 -> 14.7 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-statistics.