block/README.md

35 lines
2.2 KiB
Markdown
Raw Normal View History

2021-03-05 07:44:47 +00:00
# block
2020-02-22 09:51:02 +00:00
2020-05-19 19:08:04 +00:00
A collection of domains, wildcards and substrings designed for [`dnscrypt-proxy`](https://github.com/DNSCrypt/dnscrypt-proxy) filter method.
2020-02-22 10:13:45 +00:00
2021-01-27 14:52:00 +00:00
- __allowed-names.txt:__ it's the file used to unblock a specific domain blocked by some substring/wildcard contained in the blocklists.
2021-01-22 09:23:19 +00:00
- __domains-blocklist.conf:__ it's used to configure the sources to merge during the process.
- __domains-blocklist-local-additions.txt:__ it's used during the generation process to add your own additions and remove duplicates from the sources.
- __domains-allowlist.txt:__ it's used during the generation process to remove legit domains.
- __example-blocklist.txt:__ it contains valid name patterns for this purpose.
- __generate-domains-blocklist.py:__ it's the script used to launch the generation process.
2020-02-22 10:13:45 +00:00
2021-01-22 09:23:19 +00:00
## Sources
2020-05-19 19:08:04 +00:00
2020-05-19 19:10:46 +00:00
Updated sources from the following locations are always merged and included.
2020-05-19 19:08:04 +00:00
2021-01-22 09:23:19 +00:00
#### blocked-names.txt
2020-05-19 19:08:04 +00:00
| Source | Maintainer(s) | Description | Home Page | RAW Source | License |
|--------|:-------------:|-------------|:---------:|:----------:|:-------:|
OISD: Domains (full) | sjhgvr | A merged domain list from a variety of other lists | [LINK](https://oisd.nl/) | [RAW](https://dbl.oisd.nl/) | All Rights Reserved |
domains-blocklist-local-additions.txt | quindecim | Domains, wildcards and substrings collection | [LINK](https://codeberg.org/quindecim/block) | [RAW](https://codeberg.org/quindecim/block/raw/branch/master/config/domains-blocklist-local-additions.txt) | GPLv3 |
2021-03-04 10:06:41 +00:00
domains-allowlist.txt | quindecim | Legit domains collection | [LINK](https://codeberg.org/quindecim/block) | [RAW](https://codeberg.org/quindecim/block/raw/branch/master/config/domains-allowlist.txt) | GPLv3 |
2021-01-22 09:23:19 +00:00
#### blocked-ips.txt
| Source | Maintainer(s) | Description | Home Page | RAW Source | License |
|--------|:-------------:|-------------|:---------:|:----------:|:-------:|
2021-03-28 18:58:54 +00:00
DNSCrypt: Rebind Protection | jedisct1 | DNS rebinding protection | [LINK](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Filters#dns-rebinding-protection) | - | ISC |
2020-05-19 19:08:04 +00:00
2021-01-22 09:23:19 +00:00
## Build
2020-10-27 09:54:30 +00:00
2021-02-25 09:24:06 +00:00
To generate your own list you can clone this repo, move into the `config` folder, edit files according to your needs and run this command:
2020-10-27 09:54:30 +00:00
```
python3 generate-domains-blocklist.py > list.txt.tmp && mv -f list.txt.tmp list
2021-02-25 09:21:17 +00:00
```