eldy / AWStats

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

Visits from HuaweiBrowser showing as Robots/Spiders visitor #222

Open heidivanniekerkcpt opened 2 years ago

heidivanniekerkcpt commented 2 years ago

At https://github.com/eldy/AWStats/blob/develop/robots.pm on line 923 - 'core', - is included as a robot. This appears to be the cause for visits from HuaweiBrowser to be listed under Robots/Spiders visitors (Top 10). Within the web logs, the entries are:

21 Jul 2022 - 23:33 [xxxIPxxx] - - [21/Jul/2022:23:33:32 +0200] "GET /wp-content/uploads/2022/07/PE.jpg HTTP/2.0" 200 26272 "https://[xxxdomainxxx]/home-sale/pe20220722/" "Mozilla/5.0 (Linux; Android 10; ART-L29; HMSCore 6.6.0.311) AppleWe bKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.105 HuaweiBrowser/12.1.0.303 Mobile Safari/537.36" 68 26555 TLSv1.3 TLS_AES_256_GCM_SHA384

I am assuming it is this that causes it to be seen as a Robot/Spider: (Linux; Android 10; ART-L29; HMSCore 6.6.0.311)

Is my assumption correct, or am I misunderstanding?

On the AWStats frontend for this customer, it is listed as (file attached):

awstats

The customer receives a fair amount of traffic from android devices and when they are from Huawei devices, the traffic is categorised as visits from Robots/Spiders.