Increase shavar chunk size limit
Categories
(Core :: Privacy: Anti-Tracking, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox73 | --- | verified |
People
(Reporter: sykim, Assigned: sykim)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
While pushing all changes to the entity list to include Google's regional domains, we broke production Shavar because of the max size limit on the client which produced sustained increase in requests for download as it failed to download the latest entity list.
As mentioned in this GitHub issue we need to increase the size of the Shavar chunk size limit to be 3.5MB.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Comment 2•5 years ago
|
||
Hi Kim,
I think we decided to use multiple lists to make sure the size of each list shouldn't exceed the maximum chunk size limit? If that is true, do we still need to increase the limit?
Assignee | ||
Comment 3•5 years ago
|
||
Hi Dimi,
When I separated the Google entity lists it was about 1.4MB. So I suggested that we break the larger lists but also increase the size limit. There was a conversation about sharding the Google entity lists but we were unable to predict how Google's domains would expand so for now we decided separating the large organization and their entity lists and increasing the max size.
Comment 4•4 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:sykim, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 5•4 years ago
|
||
Depends on D52913
Assignee | ||
Comment 6•4 years ago
|
||
Adding another patch to have google-trackwhite-digest256
be added to all prefs where mozstd-trackwhite-digest256
was, except cryptomining.
Pushed by dlee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a97415a7ce80 Increase shavar chunk size limit r=dimi https://hg.mozilla.org/integration/autoland/rev/c817e489fd80 Add Google entity lists r=dimi
Backout by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f8403e922e55 Backed out 2 changesets causing firefox-ui test failures on test_initial_download.py. CLOSED TREE
Assignee | ||
Comment 9•4 years ago
|
||
Test kicked out because it was unable to check that the google-trackwhite-digest256
list was installed. This failure should be fixed by having the list be available in Shavar.
Comment 10•4 years ago
|
||
Pushed by dlee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fdef77d6d362 Increase shavar chunk size limit r=dimi https://hg.mozilla.org/integration/autoland/rev/dc907aeafad0 Add Google entity lists r=dimi
Comment 11•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fdef77d6d362
https://hg.mozilla.org/mozilla-central/rev/dc907aeafad0
Comment 12•4 years ago
|
||
Backed out for breaking Twitter pages with blocking settings set to 'Strict'.
Backout: https://hg.mozilla.org/integration/autoland/rev/83ff10838569924efab569b276398f470fed15a4
Comment 13•4 years ago
|
||
Steps to reproduce:
- Open Nightly's Options.
- Go to Privacy & Security.
- Switch Enhanced Tracking Protection to 'Strict'.
- Load a tweet page, e.g. https://twitter.com/mozilla/status/1208786816704405506
Actual result: Page only rendered as text because some resources are blocked.
Expected result: 'Nice' page layout.
Updated•4 years ago
|
Comment 14•4 years ago
|
||
Backout got merged: https://hg.mozilla.org/mozilla-central/rev/83ff10838569
Comment 15•4 years ago
|
||
(In reply to Sebastian Hengst [:aryx] [limited availability until start of 2020] (needinfo on intermittent or backout) from comment #13)
Steps to reproduce:
- Open Nightly's Options.
- Go to Privacy & Security.
- Switch Enhanced Tracking Protection to 'Strict'.
- Load a tweet page, e.g. https://twitter.com/mozilla/status/1208786816704405506
Actual result: Page only rendered as text because some resources are blocked.
Expected result: 'Nice' page layout.
From this description it sounds like the entity list failed to load or failed to apply entirely. I can reproduce by blocking all resources fromtwimg.com
, which is on the blocklist and should be on the Twitter entitylist.
Assignee | ||
Comment 16•4 years ago
|
||
Depends on D57389
Comment 17•4 years ago
|
||
Pushed by senglehardt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/49a332e535d5 Increase shavar chunk size limit r=dimi https://hg.mozilla.org/integration/autoland/rev/2f44d2e92d64 Add Google entity lists r=dimi https://hg.mozilla.org/integration/autoland/rev/eb7267486666 Fix typo on socialtracking whitelistTables r=englehardt
Assignee | ||
Comment 18•4 years ago
|
||
Hi Razvan, thanks for informing us about the breakage. The fix has been applied and pushed here. Once the patch is available in Nightly, in addition to visually checking that the Twitter page does not look broken, here are the steps to check that it has been fixed:
- Go to
about:url-classifier
- To get the latest changes to tracking protection lists, click "Trigger Update" button in the "Mozilla" row in the table "Provider" and check that "Last update status" column states "success".
- In the "Search" table, change the "List type" from "Blacklist" to "Whitelist"
- Enter url
https://twitter.com/?resource=twimg.com
- Check that the url is listed under the "socialtracking-protection" and "socialtracking-annotation" features on the results
- Check that the "List of tables" for the results row for features "socialtracking-protection" and "socialtracking-annotation" have "mozstd-trackwhite-digest256"
Assignee | ||
Updated•4 years ago
|
Comment 19•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/49a332e535d5
https://hg.mozilla.org/mozilla-central/rev/2f44d2e92d64
https://hg.mozilla.org/mozilla-central/rev/eb7267486666
Comment 20•4 years ago
|
||
Verified according to the steps in comment 18.
Please set the qe-verify
flag if a bug fix needs verification in the future (Razvan is not part of the QA team but of the code sheriffs).
Description
•