aboutsummaryrefslogtreecommitdiff
path: root/net/adblock/files
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2017-10-18 12:50:12 +0200
committerDirk Brenken <dev@brenken.org>2017-10-18 12:50:12 +0200
commit5c934e5352b6d700d6b3771261d0ad585e95a547 (patch)
tree2743cf5d625caa95d1e30d8b454b131d891e4dfd /net/adblock/files
parent8822046be5658ac380abee02d0b3966a3b4297d5 (diff)
adblock: update 3.0.3
* add new list source to default config to block browser-based crypto mining Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'net/adblock/files')
-rw-r--r--net/adblock/files/README.md2
-rw-r--r--net/adblock/files/adblock.conf6
-rwxr-xr-xnet/adblock/files/adblock.sh2
3 files changed, 9 insertions, 1 deletions
diff --git a/net/adblock/files/README.md b/net/adblock/files/README.md
index 610bad773..835781351 100644
--- a/net/adblock/files/README.md
+++ b/net/adblock/files/README.md
@@ -9,6 +9,8 @@ A lot of people already use adblocker plugins within their desktop browsers, but
* => infrequent updates, approx. 400 entries (enabled by default)
* [adguard](https://adguard.com)
* => numerous updates on the same day, approx. 12.000 entries
+ * [bitcoin](https://github.com/hoshsadiq/adblock-nocoin-list)
+ * => infrequent updates, approx. 15 entries
* [blacklist]()
* => static local blacklist, located by default in '/etc/adblock/adblock.blacklist'
* [disconnect](https://disconnect.me)
diff --git a/net/adblock/files/adblock.conf b/net/adblock/files/adblock.conf
index f6ea48b65..eb9c6bd08 100644
--- a/net/adblock/files/adblock.conf
+++ b/net/adblock/files/adblock.conf
@@ -26,6 +26,12 @@ config source 'adguard'
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 'bitcoin'
+ option enabled '0'
+ option adb_src 'https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt'
+ option adb_src_rset '\$0 ~/^0\.0\.0\.0[ \t]+([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower(\$2)}'
+ option adb_src_desc 'focus on malicious bitcoin mining sites, infrequent updates, approx. 15 entries'
+
config source 'blacklist'
option enabled '0'
option adb_src '/etc/adblock/adblock.blacklist'
diff --git a/net/adblock/files/adblock.sh b/net/adblock/files/adblock.sh
index 6eb36fa58..cd0357617 100755
--- a/net/adblock/files/adblock.sh
+++ b/net/adblock/files/adblock.sh
@@ -10,7 +10,7 @@
#
LC_ALL=C
PATH="/usr/sbin:/usr/bin:/sbin:/bin"
-adb_ver="3.0.2"
+adb_ver="3.0.3"
adb_sysver="unknown"
adb_enabled=0
adb_debug=0