eldy / AWStats

AWStats Log Analyzer project (official sources)
https://www.awstats.org
361 stars 119 forks source link

Windows11 reporting? #243

Open delinuxco opened 7 months ago

delinuxco commented 7 months ago

Looking for info...

I am trying to find out if version of awstats 7.9-1, is able to report Windows 11 operating systems? In looking through all of the domains on my server, (cPanel), I am not seeing any Windows 11 data, the current version installed is awstats-7.9-1.el8

According to this thread https://github.com/eldy/AWStats/pull/224 it was added back in Sept 2022.

chuckhoupt commented 7 months ago

Most browsers have frozen the desktop OS info in their user-agent strings, so the UA string can no longer be used to determine the exact OS version. For example, the latest Chrome/Edge/FireFox have all frozen Windows at "NT 10.0", even on Windows 11. Similarly, on macOS, Chrome/Safari/Edge have frozen on "Mac OS X 10_15_7", even on macOS 11-14.

So, although AWStats can detect Windows 11, almost no visitors UA will declare Window 11. The few I see in my stats are just scrapers or bots.

Ideally, AWStats should be adjusted to explicitly recognize the frozen versions and report them as "Generic Windows", "Generic macOS", etc. In the long run, the full-version report may need to be removed, since it won't contain any useful info.

delinuxco commented 7 months ago

That is very interesting, thank you for the info.