mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
adblock: release 2.3.0
* automatically selects dnsmasq or unbound as dns backend * add the new 'adguard' source, a combined/quite effective block list * remove needless dns backend restarts * optimize adblock restart behavior * optimize block list processing on inotify enabled filesystems * better return code checking on block list download * fix boot function/startup on Chaos Calmer * fix a bug in blocklist removal function * add more (optional) debug output * move backup options to global config * documentation update Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
@@ -6,10 +6,8 @@ config adblock 'global'
|
||||
option adb_debug '0'
|
||||
option adb_whitelist '/etc/adblock/adblock.whitelist'
|
||||
option adb_whitelist_rset '\$1 ~/^([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower(\"^\"\$1\"\\\|[.]\"\$1)}'
|
||||
|
||||
config service 'backup'
|
||||
option enabled '0'
|
||||
option adb_dir '/mnt'
|
||||
option adb_backup '0'
|
||||
option adb_backupdir '/mnt'
|
||||
|
||||
config source 'adaway'
|
||||
option enabled '1'
|
||||
@@ -17,6 +15,12 @@ config source 'adaway'
|
||||
option adb_src_rset '\$0 ~/^127\.0\.0\.1[ \t]+([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower(\$2)}'
|
||||
option adb_src_desc 'focus on mobile ads, infrequent updates, approx. 400 entries'
|
||||
|
||||
config source 'adguard'
|
||||
option enabled '0'
|
||||
option adb_src 'https://raw.githubusercontent.com/AdguardTeam/AdguardDNS/master/Filters/filter.txt'
|
||||
option adb_src_rset '{FS=\"[|^]\"} \$0 ~/^\|\|([A-Za-z0-9_-]+\.){1,}[A-Za-z]+\^$/{print tolower(\$3)}'
|
||||
option adb_src_desc 'combined adguard dns filter list, approx. 12.000 entries'
|
||||
|
||||
config source 'blacklist'
|
||||
option enabled '0'
|
||||
option adb_src '/etc/adblock/adblock.blacklist'
|
||||
|
||||
Reference in New Issue
Block a user