Adblock support thread

I want to block gaming website, because now is school from home due to covid pandemic, however, the reality, children are playing more games than usual.

i want to use this:
https://raw.githubusercontent.com/stopgaming/pihole-blocklist/master/game.txt
from = https://github.com/abyssin/pihole-blocklist

how to add it into the adblock in the easy way.
i try to copy paste the above list into the adblock blacklist, it not working.

Regard the different format:

https://forum.openwrt.org/t/tp-link-tl-wr841n-d-wa701n-d-wr740n-d-wr741n-d-wr743n-d-wr940n-wr941n-d-ladus-julia-ultra-lite-vpn-builds/1158/97

1 Like

I'll add your source with this PR (https://github.com/openwrt/packages/pull/13283). Thanks for your input!

1 Like

Thank for this, hope it can be more updated to block all gaming sites, especially the online one.
I prefer my child play with offline game one.

Is there any benefit to using gawk over the version of awk with busybox?

Nope, not really - all awk strings in adblock are compatible/tested with both versions.

1 Like

Just wanting to report that I was running into a problem with Adblock breaking videos on The Weather Channel app on Android, and videos on weather[dot]com in all browsers in Windows 10.

A few months ago I upgraded the firmware on a wrt1200ac to the latest image from dc502wrt.org (2020-05-24). Unwittingly, this came with Adblock 4.0.5 installed and I'm pretty sure it was enabled by default, which I wasn't aware of.

With whatever the default Adblock settings were set to (I hadn't configured it), I found that video playback was broken on The Weather Channel app on Android devices, and on weather[dot]com in various browsers in Windows (to test this, you can click on "Video" at the top of the page and then try playing any of the videos on the right hand side).

I don't know if this is still the case with the latest versions of Adblock, but I just thought I'd report it in case it might help someone.

Something especially weird that I noticed was that while Adblock was running on the router, and if I was on a Windows PC, then under Network Connections -> under the WiFi adapter properties, if I unchecked Internet Protocol Version 6, then some of the videos or video thumbnails would start to work again, but if I kept IPv6 checked, then they would not work. This seems completely absurd to me, but this is what I found.

Ultimately, I just disabled Adblock on the router completely, and this fixed the problem on the Android app and on the desktop.

Hi,
any special reason to advertise the above site three times in the same post? Anyway, to fix your problem simply whitelist the domain "v.w-x.co" and you're done ... it's included the default list provider "adaway".

Sorry, just an artifact of me trying to be specific. I'm not affiliated with them or anything like that. I can at least edit out the last mention. Thanks for providing a solution for people.

Team, when a configure dhcp (dnsmasq) option serversfile '/tmp/adb_list.overall', and during the dnsmasq restart it sending the following error, and do not block any, any idea?

Fri Sep 18 07:31:33 2020 daemon.err dnsmasq[26173]: illegal option at line 40905 of /tmp/adb_list.overall

config dnsmasq
option local '/lan/'
option authoritative '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
option boguspriv '0'
option nonwildcard '0'
list server '127.0.0.1#53'
option nonegcache '1'
option rebind_protection '1'
option localuse '1'
option localservice '0'
option sequential_ip '1'
option domain 'lan'
option dhcpleasemax '50'
option cachesize '5000'
option noresolv '1'
option port '1053'
#option serversfile '/tmp/adb_list.overall'
option confdir '/tmp/dnsmasq.d'

same error with addblock and luci 4.0.6 on 19.07.4

Firmware Version :
OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.261.50352-d98fff3

root@LPM:~# opkg list-installed| grep adblock 
adblock - 4.0.6-2
luci-app-adblock - git-20.261.50352-d98fff3-1

The list format has been changed in adblock 4.x - just remove this serversfile option.

1 Like

I wondered whether anyone has done some performance testing on the Turris in terms of maximum adblock entries. Given 2GB of RAM and the 1.6 Ghz dual core I'd have thought that 500k entries should be ok.

My DNS latency has quite significantly dropped recently although the drop is not constant and I am yet to pin down the root cause.

Spontaneously fixed !
No reboot but after the night, this morning adblock do no more show any error and works fine !!!

Great, sounds like a local browser cache issue.

I tried to search in this thread and didn't find this question been asked. Are there any impacts on how adblock works if DNS over HTTPS (DoH) is enabled. For example in the following 2 scenarios DoH is enabled: one is through OpenWRT package https-dns-proxy, the other is through Firefox or Chrome browser settings. Does Adblock works the same (meaning blocks the same domains) with and without DoH is enabled?

Hello.
@dibdot for the beginning, thanks for this wonderful app. I have a question please.
I encounter errors when I try to set a refresh timer, not working any option, errors in the screenshot. Why?

Is this a snapshot version? If so, please post the release string, e.g. Powered by LuCI Master (git-20.278.53893-c2b22af) / OpenWrt SNAPSHOT r14639-2a90d308c7

1 Like

No, it is stable.
Powered by LuCI openwrt-19.07 branch (git-20.247.75781-0d0ab01) / OpenWrt 19.07.4 r11208-ce6496d796
And how can I free memory space after delete a list? It is required a reboot of device?

OK, thanks. I would guess an 'out of space' condition ... just try to edit /etc/crontabs/root manually via ssh and check your filesystem with df.

If that's the case, reduce the number of lists ...