Improved rules handling

Rules can now come in 3 different formats:
- AdBlock rules
- Host lists
- Domains lists
All will be converted into domain lists and aggregated
(only AdBlock rules matching a whole domain will be kept).

Subdomains will now be matched if it is a subdomain of any domain of the
rule.
It is way faster (seconds rather than hours!) but less flexible
(although it shouldn't be a problem).
This commit is contained in:
Geoffrey Frogeye 2019-12-03 08:48:12 +01:00
parent c23004fbff
commit 69b82d29fd
Signed by: geoffrey
GPG key ID: D8A7ECA00A8CD3DD
11 changed files with 130 additions and 28 deletions

View file

@ -4,5 +4,6 @@
./fetch_resources.sh
./collect_subdomains.sh
./resolve_subdomains.sh
./filter_subdomains.sh