Use JSON tracking protection blocklists from Shavar
Categories
(Firefox for Android :: Privacy, task)
Tracking
()
People
(Reporter: csadilek, Unassigned)
Details
From github: https://github.com/mozilla-mobile/android-components/issues/8228.
About this Issue
Shavar currently have a version control system on files we store on S3 for tracking protection blocklists. To get the latest list a GET request to S3 can be done like:
http://tracking-protection.stage.mozaws.net/tracking/<latest release Firefox version>/base-fingerprinting-track.jsonIf all the Android component is interested on is retrieving the latest tracking protection lists through a simple automation of incrementing one part of the path (the Firefox version in this case), this could suffice. But if you want to download and be able to always download the given file for the build we can instead use a link formatted like:
http://tracking-protection.stage.mozaws.net/base-fingerprinting-track-digest256/<latest release Firefox version>/<timestamp of when the file was generated>.jsonAs such, to retrieve the latest “timestamp of when the file was generated” you would be able to ping an endpoint like:
https://shavar.stage.mozaws.net/downloads?client=navclient-auto-ffox&appver=<latest Firefox desktop release version>&pver=2.2which would return:
n:3600 i:base-fingerprinting-track-digest256 u:tracking-protection.stage.mozaws.net/base-fingerprinting-track-digest256/74.0/1591205756which you can then grab the url from and add .json to.
The content of the tracking protection blocklist JSON file will look like this┆Issue is synchronized with this Jira Task
Change performed by the Move to Bugzilla add-on.
Comment 1•3 years ago
|
||
The severity field is not set for this bug.
:cpeterson, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Description
•