-
-
Notifications
You must be signed in to change notification settings - Fork 390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate domains blocked by __cfduid cookies. #1538
Comments
This follows up on #1361 and #1533 (comment). We should first try to figure out if this is a thing and how big of a thing. One approach idea: Of all the domains in error reports/GitHub issues submitted using version |
Instead of doing that, we could look at blocked domains, then check if these have only a |
This sounds reasonable, as an implementation approach. We should get a number of specific cases to verify the migration though. Can that cookie db site ( |
From here.
|
First, let's get the full list of blocked domains from error reports from Privacy Badger versions after the Cloudflare workaround went out: DROP TABLE IF EXISTS numbers;
CREATE TEMPORARY TABLE numbers AS (
SELECT id FROM reports WHERE id <= (
SELECT MAX(ROUND((LENGTH(block) - LENGTH(REPLACE(block, ",", ""))) / LENGTH(",")) + 1) AS max_split_length
FROM reports WHERE (
version = "2017.5.9" OR
version = "2017.6.13" OR
version = "2017.6.13.1" OR
version = "2017.7.24" OR
version = "2017.9.12" OR
version = "2017.9.12.1"
)
)
);
SELECT blocked_fqdn FROM (
SELECT SUBSTRING_INDEX(SUBSTRING_INDEX(reports.block, ",", numbers.id), ",", -1) AS blocked_fqdn
FROM numbers
INNER JOIN reports ON CHAR_LENGTH(reports.block) - CHAR_LENGTH(REPLACE(reports.block, ",", "")) >= numbers.id-1
WHERE (
version = "2017.5.9" OR
version = "2017.6.13" OR
version = "2017.6.13.1" OR
version = "2017.7.24" OR
version = "2017.9.12" OR
version = "2017.9.12.1"
)
) AS tmp GROUP BY blocked_fqdn; Then, let's make a GET to "/" of each domain and see if for domain in $(cat domains.txt); do curl -Iv -m10 "$domain" 2>&1 | grep -q __cfduid && echo "$domain"; done |
Here is the list of Cloudflare-using domains reported as blocked in errors reports from Badgers version
Full list without the counts: |
The same list but grouped by version:
Just the Medium domains grouped by version:
|
Should next see which (of the top reported ones) are only here because of |
We released #1361 with Privacy Badger version 2017.5.9. I guess affected users either whitelisted the affected site, unblocked the relevant domain, or uninstalled Privacy Badger. |
__cfduid
cookies.
User's might still have many sites blocked by the cloudflare
__cfduid
cookie. We should unblock these.The text was updated successfully, but these errors were encountered: