Skip to content

Commit

Permalink
dns_blocklists: Refresh for 25th Sept, add ASN blocking for social media
Browse files Browse the repository at this point in the history
  • Loading branch information
jbjorkang committed Sep 25, 2023
1 parent fc752d3 commit a353e5a
Show file tree
Hide file tree
Showing 46 changed files with 378,392 additions and 213,283 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,12 +195,14 @@ The output files located in `output/relay/` are what are imported onto our VPN s
## Step by step

- Ensure the values in `group_vars/<group>.yml` are up to date with any block lists
- Ensure the script in scripts/generate_social_blocklists.sh has been run in a Disposible VM (dispVM) with the output qvm-copied to inventory/group_vars
- Ensure the values in `scripts/generate_social_blocklists_urls` and `scripts/generate_social_blocklists_asn.py` are up to date (URLs and ASNs)
- Start a DisposibleVM (dispVM) and `qvm-copy` this repository to it
- Ensure the script in `scripts/generate_social_blocklists.sh` has been run in a Disposible VM (dispVM) with the output qvm-copied to files/social (`cp /tmp/social files/social`)
- Ensure you have added any 'custom' extra lists or websites to block
- Run the playbook to generate the lists:
- `ansible-playbook -i inventory/ playbook.yml`
- `ansible-playbook -i inventory/ playbook.yml --tags=readme` can be used to generate the README on its own
- View the output (once pushed) at `https://raw.githubusercontent.com/mullvad/dns-adblock/main/output/<group>.txt?raw=true`
- View the output (once pushed) at `https://raw.githubusercontent.com/mullvad/dns-blocklists/main/output/<group>.txt?raw=true`
- Run test script: `cd scripts && ./check_zonedata.sh`
- Sign the outputted relay files with your GPG code signing key, for example:
- `for list in adblock adult privacy gambling social; do gpg2 --detach-sign --armor output/relay/relay_${list}.txt > output/relay/relay_${list}.txt.gpg; done && for list in adblock adult privacy gambling social; do gpg2 --detach-sign --armor output/relay/relay_${list}.zone > output/relay/relay_${list}.gpg; done`
Expand Down
60,755 changes: 30,768 additions & 29,987 deletions files/social

Large diffs are not rendered by default.

Loading

0 comments on commit a353e5a

Please sign in to comment.