########################################################################################## ADBLK-27: Incorporate AdGuard CNAME Tracker Domains ########################################################################################## Issue Type: Improvement ----------------------------------------------------------------------------------------- Issue Information ==================== Priority: Major Status: Closed Resolution: Done (2021-03-05 13:19:03) Project: Adblock Lists (ADBLK) Reported By: btasker Assigned To: btasker Time Estimate: 0 minutes Time Logged: 0 minutes ----------------------------------------------------------------------------------------- Issue Description ================== There's been an increase in the number of domains using CNAMEs to try and mask tracking - essentially allowing trackers to masquerade as 1st party rather than 3rd party sites. Adguard have released a list of underlying CNAMEs - https://github.com/AdguardTeam/cname-trackers/tree/master/trackers - however they're not in a particularly convenient format so will need some processing for inclusion. They're of (relatively) limited use in browser-based adblocker extensions (only those that use dns.resolve or similar will see the CNAME target to block it), but are of use in Pihole and various other DNS based solutions. ----------------------------------------------------------------------------------------- Issue Relations ================ - Adguard CNAME Trackers Repo (https://github.com/AdguardTeam/cname-trackers/tree/master/trackers) ----------------------------------------------------------------------------------------- Activity ========== ----------------------------------------------------------------------------------------- 2021-03-05 09:54:23 btasker ----------------------------------------------------------------------------------------- Domains/zones are listed in per-advertiser files within the directory trackers, so the simplest solution is probably to have the list build server have a clone of the repo, then we can do something like -- BEGIN SNIPPET -- cd $repo git pull find ./trackers -name '*.txt' -exec $some_magic -- END SNIPPET -- in order to extract the domains. It'd also mean that if the ad companies managed to pull some DMCA nonsense and temporarily got the repo removed we'd still have a copy of the lists to use. ----------------------------------------------------------------------------------------- 2021-03-05 11:15:21 git ----------------------------------------------------------------------------------------- -- BEGIN QUOTE -- Repo: adblocklists Commit: 3bd8180bfbb9187f24c95dcb3fcd555a41e08707 Author: B Tasker