Adblock support thread

SSL was the issue, installed and I can see count in blocked domains. I am gonna give some time before I fetch the report.

On which interface should I get the report for?

image

Just keep it "unspecified" ... the auto-detection works quite fine in most setups.

i have error, please help

Sun Jul 26 17:12:34 2020 user.info adblock-4.0.6[20000]: adblock instance started ::: action: reload, priority: 0, pid: 20000
Sun Jul 26 17:12:35 2020 user.info adblock-4.0.6[20000]: download of 'adaway' failed, url: https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt, rule: /^127.0.0.1[[:space:]]+([[:alnum:]-]{1,63}.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($2)}, categories: -, rc: 1, log: /bin/uclient-fetch: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.
Sun Jul 26 17:12:35 2020 user.info adblock-4.0.6[20000]: download of 'adguard' failed, url: https://filters.adtidy.org/windows/filters/15.txt, rule: BEGIN{FS="[/|^|\r]"}/^||([[:alnum:]
-]{1,63}.)+[[:alpha:]]+[/^\r]+$/{print tolower($3)}, categories: -, rc: 1, log: /bin/uclient-fetch: SSL support not available, please install one of the libustream-.[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.
Sun Jul 26 17:12:35 2020 user.info adblock-4.0.6[20000]: download of 'disconnect' failed, url: https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt, rule: /^([[:alnum:]_-]{1,63}.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($1)}, categories: -, rc: 1, log: /bin/uclient-fetch: SSL support not available, please install one of the libustream-.
[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.
Sun Jul 26 17:12:35 2020 user.info adblock-4.0.6[20000]: download of 'yoyo' failed, url: https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&mimetype=plaintext, rule: /^([[:alnum:]_-]{1,63}.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($1)}, categories: -, rc: 1, log: /bin/uclient-fetch: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.
Sun Jul 26 17:12:40 2020 user.info adblock-4.0.6[20000]: blocklist with overall 0 blocked domains loaded successfully (Buffalo WZR-HP-AG300H/WZR-600DHP, OpenWrt 19.07.3 r11063-85e04e9f46)

Please use the "Preformatted text </>" button for logs, scripts, configs and general console output.
grafik
Please edit your post accordingly. Thank you! :slight_smile:

1 Like

The message is quite clear. So install the missing packages on your router.

1 Like

Has anyone experienced adblock interfering with Google Cloud Messaging (now I think it's called Firebase Cloud Messaging). I can't figure out why my phones stop receiving background messages when I enable adblock on my home network. It happens regardless of blocklist selection.

As a novice, I'm not sure where to even start with troubleshooting this. Any pointers would be appreciated.

Log view:

Sat Aug 15 10:34:19 2020 user.info adblock-4.0.6[15544]: adblock instance started ::: action: reload, priority: 0, pid: 15544
Sat Aug 15 10:34:30 2020 user.info adblock-4.0.6[15544]: preparation of 'bitcoin' failed, rc: 2
Sat Aug 15 10:34:33 2020 user.info adblock-4.0.6[15544]: preparation of 'disconnect' failed, rc: 2
Sat Aug 15 10:34:41 2020 user.info adblock-4.0.6[15544]: preparation of 'adaway' failed, rc: 2
Sat Aug 15 10:34:50 2020 user.info adblock-4.0.6[15544]: preparation of 'adguard' failed, rc: 2
Sat Aug 15 10:34:53 2020 user.info adblock-4.0.6[15544]: preparation of 'malwarelist' failed, rc: 2
Sat Aug 15 10:34:54 2020 user.info adblock-4.0.6[15544]: preparation of 'openphish' failed, rc: 2
Sat Aug 15 10:34:56 2020 user.info adblock-4.0.6[15544]: preparation of 'spam404' failed, rc: 2
Sat Aug 15 10:35:00 2020 user.info adblock-4.0.6[15544]: preparation of 'whocares' failed, rc: 2
Sat Aug 15 10:35:01 2020 user.info adblock-4.0.6[15544]: preparation of 'winspy' failed, rc: 2
Sat Aug 15 10:35:02 2020 user.info adblock-4.0.6[15544]: preparation of 'yoyo' failed, rc: 2
Sat Aug 15 10:35:05 2020 user.info adblock-4.0.6[15544]: preparation of 'winhelp' failed, rc: 2
Sat Aug 15 10:35:13 2020 user.info adblock-4.0.6[15544]: blocklist with overall 0 blocked domains loaded successfully and reset afterwards (TP-Link Archer C7 v2, OpenWrt 19.07.3 r11063-85e04e9f46)
Sat Aug 15 10:35:13 2020 user.info adblock-4.0.6[16176]: ubus/adblock monitor started

Result:

Blocked Domains: 0

Configuration:

config adblock 'global'
	option adb_enabled '1'
	option adb_safesearch '0'
	option adb_mail '0'
	option adb_maxqueue '4'
	option adb_dns 'dnsmasq'
	option adb_trigger 'wan'
	option adb_repiface 'br-lan'
	option adb_report '0'
	option adb_forcedns '0'
	list adb_sources 'adaway'
	list adb_sources 'adguard'
	list adb_sources 'bitcoin'
	list adb_sources 'disconnect'
	list adb_sources 'malwarelist'
	list adb_sources 'openphish'
	list adb_sources 'spam404'
	list adb_sources 'whocares'
	list adb_sources 'winhelp'
	list adb_sources 'winspy'
	list adb_sources 'yoyo'
	option adb_debug '0'
	option adb_dnsfilereset '1'
	option adb_dnsflush '1'
	option adb_backup '1'
	option adb_fetchutil 'uclient-fetch'

Do you know what's wrong?

No, most probably a sort problem, please provide the output of:

sort --version
sort: unrecognized option: version
BusyBox v1.30.1 () multi-call binary.

Usage: sort [-nru] [FILE]...

Sort lines of text

        -n      Sort numbers
        -r      Reverse sort order
        -s      Stable (don't sort ties alphabetically)
        -u      Suppress duplicate lines
        -z      Lines are terminated by NUL, not newline

The adblock package depends on gnu sort (coreutils-sort, it's a dependency during package installation) ... it doesn't work with busybox sort, cause it uses a mergesort.

I've noticed that Adblock has changed the Dnsmasq config method from addnhosts to confdir.

However, there's an opinion:

@dibdot, could you clarify which method is more effective from the point of blocklist processing speed and RAM consumption.

The adblock package depends on gnu sort (coreutils-sort, it's a dependency during package installation) ... it doesn't work with busybox sort, cause it uses a mergesort.

I reinstalled adblock and package coreutils-sort. Now adblock works fine. Thank you!

Hi,

sorry I've never tested that - and adblock never used addnhosts ... cause it's not flexible enough (e.g. you have to block each host separately for IPv4 and IPv6, no domain wildcards, no selective whitelisting etc.). The now used "address" method is quite flexible and should be a bit faster than the formerly used "serversfile" method. If there are concerns regarding performance it should be addressed upstream IMHO.

I know that the pihole guys are proud of blocklists with multi-zillions entries ... but that's not my playground.

1 Like

I hope someday it works for youtube of the smart tv, as it does in windows

Hi,
Could anyone help me?
Adblock always automatically clear all filters I have added in Advanced\ Edit Configuration.
Anyway to fix this?
Best regards.

Hello, i dont seem to be able to make adblock work on my archer C7, simple adblock works out of the box tho.

I'm looking for an step by step on how to use adblock and enforce regex blocking settings, can i have help please? thanks in advance

@edneyhelene

I had to set Cloudflare and Google DNS under WAN and Wan6, using my provider DNS(not really a good idea) I could not get AdBlock working.
After that is working pretty well.

1 Like

I will try again with these tips but im almost sure im already using google dns.

Thanks

Hey,

is this just me or is there something wrong with these sources:

Thu Aug 20 15:26:43 2020 user.info adblock-4.0.6[2093]: adblock instance started ::: action: start, priority: 0, pid: 2093
Thu Aug 20 15:29:53 2020 user.info adblock-4.0.6[2093]: download of 'anti_ad' failed, url: https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/anti-ad-domains.txt, rule: /^([[:alnum:]_-]{1,63}\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($1)}, categories: -, rc: 6, log: curl: (6) Couldn't resolve host 'raw.githubusercontent.com'
Thu Aug 20 15:29:53 2020 user.info adblock-4.0.6[2093]: download of 'adguard' failed, url: https://filters.adtidy.org/windows/filters/15.txt, rule: BEGIN{FS="[/|^|\r]"}/^\|\|([[:alnum:]_-]{1,63}\.)+[[:alpha:]]+[\/\^\r]+$/{print tolower($3)}, categories: -, rc: 6, log: curl: (6) Couldn't resolve host 'filters.adtidy.org'
Thu Aug 20 15:29:53 2020 user.info adblock-4.0.6[2093]: download of 'andryou' failed, url: https://gitlab.com/andryou/block/raw/master/kouhai-compressed-domains, rule: /^([[:alnum:]_-]{1,63}\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($1)}, categories: -, rc: 6, log: curl: (6) Couldn't resolve host 'gitlab.com'
Thu Aug 20 15:29:53 2020 user.info adblock-4.0.6[2093]: download of 'adaway' failed, url: https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt, rule: /^127\.0\.0\.1[[:space:]]+([[:alnum:]_-]{1,63}\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($2)}, categories: -, rc: 6, log: curl: (6) Couldn't resolve host 'raw.githubusercontent.com'

Then use simple-adblock or provide debug logs of an adblock run at minimum. BTW, please don't mix/use both tools at the same time.