gecko-dev/services/settings/dumps
ffxbld ee72038b8e No bug, Automated HSTS preload list update from task BqRcopwHQbGAhBJA_2Vuzw
Summary:
No bug, Automated HPKP preload list update from task BqRcopwHQbGAhBJA_2Vuzw

No bug, Automated blocklist update from task BqRcopwHQbGAhBJA_2Vuzw

No bug, Automated remote settings update from task BqRcopwHQbGAhBJA_2Vuzw

Reviewers: mtabara, jlund

Reviewed By: mtabara

Differential Revision: https://phabricator.services.mozilla.com/D1473

--HG--
extra : rebase_source : 8326a0602e40d57f8fb3da5dd047a5b3840bc77f
2018-06-01 15:56:55 +01:00
..
blocklists No bug, Automated HSTS preload list update from task BqRcopwHQbGAhBJA_2Vuzw 2018-06-01 15:56:55 +01:00
main Bug 1451050 - Generalize loading of packaged remote settings dumps r=Gijs 2018-05-10 15:27:21 +02:00
pinning Bug 1451050 - Generalize loading of packaged remote settings dumps r=Gijs 2018-05-10 15:27:21 +02:00
moz.build Bug 1451050 - Generalize loading of packaged remote settings dumps r=Gijs 2018-05-10 15:27:21 +02:00
readme.md Bug 1451050 - Generalize loading of packaged remote settings dumps r=Gijs 2018-05-10 15:27:21 +02:00

readme.md

Blocklist

The blocklist entries are synchronized locally from the Firefox Settings service.

https://firefox.settings.services.mozilla.com

In order to reduce the amount of data to be downloaded on first synchronization, a JSON dump from the records present on the remote server is shipped with the release.

How to update the JSON files ?

Even though it is not a problem if the dumps are not up-to-date when shipped, here are the commands to update them:

SERVICE_URL="https://firefox.settings.services.mozilla.com/v1"

curl "$SERVICE_URL/buckets/blocklists/collections/certificates/records?"  > services/blocklists/certificates.json
curl "$SERVICE_URL/buckets/blocklists/collections/gfx/records?"  > services/blocklists/gfx.json
curl "$SERVICE_URL/buckets/blocklists/collections/plugins/records?"  > services/blocklists/plugins.json
curl "$SERVICE_URL/buckets/blocklists/collections/addons/records?"  > services/blocklists/addons.json

curl "$SERVICE_URL/buckets/pinning/collections/pins/records?"  > services/blocklists/pins.json

TODO

  • Setup a bot to update it regularly.