Hello,
in my bot blocking experiences I see a option in the TrackingSpamPrevention, that is better than IP or CIDR blocking.
The Matomo PlugIn “TrackingSpamPrevention” has an option to block ISP via the DP IP to ASN database in the GeoIP settings.
- activate GeoIP
go to matomo Settings → System → Geolocation
- Location provider
-
- DBIP / GeoIP 2 (Php) - activate
↓
- DBIP / GeoIP 2 (Php) - activate
- Setup automatic updates of geolocation databases
-
- ISP Database
-
- Update databases every:
-
-
- month
-
- set ISP names for blocking
- open on the server the file
config/config.ini.php -
- go to the section
-
-
- [TrackingSpamPrevention]
-
-
- expand the array:
-
-
- block_geoip_organisations
-
like:
block_geoip_organisations[] = "twitter"
block_geoip_organisations[] = "deutsche telekom global business solutions"
block_geoip_organisations[] = "fastly"
block_geoip_organisations[] = "logicweb"
block_geoip_organisations[] = "dataport"
block_geoip_organisations[] = "cityfibre"
block_geoip_organisations[] = "cox communications"
block_geoip_organisations[] = "vodafone germany business"
block_geoip_organisations[] = "terratransit"
block_geoip_organisations[] = "gtt communications inc"
block_geoip_organisations[] = "amazon.com"
block_geoip_organisations[] = "vultr"
block_geoip_organisations[] = "bell canada business"
block_geoip_organisations[] = "fiber optical network"
block_geoip_organisations[] = "google virtual private cloud"
block_geoip_organisations[] = "asadov ruslan rafaelevich"
block_geoip_organisations[] = "contact consumers"
block_geoip_organisations[] = "spectrum networks"
block_geoip_organisations[] = "cisco opendns"
block_geoip_organisations[] = "zayo bandwidth"
block_geoip_organisations[] = "ace data centers"
block_geoip_organisations[] = "bite lietuva"
block_geoip_organisations[] = "oculus networks"
block_geoip_organisations[] = "ovh sas"
block_geoip_organisations[] = "sprious"
block_geoip_organisations[] = "web2objects"
block_geoip_organisations[] = "zayo bandwidth"
consider: The names are compared case insensitive. The names are saved in lower case to preserve CPU load by the comparing.
Save the edit.