I'm trying to whitelist googleadservices but I'm not having any luck. How can I figure out the problem?
simple-adblock 1.6.3-5
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 18.06.1, r7258-5eb055306f
-----------------------------------------------------
root@OpenWrt:~# nslookup googleadservices.com
Server: 127.0.0.1
Address: 127.0.0.1#53
** server can't find googleadservices.com: NXDOMAIN
** server can't find googleadservices.com: NXDOMAIN
root@OpenWrt:~# nslookup www.googleadservices.com
Server: 127.0.0.1
Address: 127.0.0.1#53
** server can't find www.googleadservices.com: NXDOMAIN
** server can't find www.googleadservices.com: NXDOMAIN
root@OpenWrt:~# /etc/init.d/simple-adblock check www.googleadservices.com
The www.googleadservices.com is not found in current blacklist.
root@OpenWrt:~# uci show simple-adblock
root@OpenWrt:~# uci show simple-adblock
simple-adblock.config=simple-adblock
simple-adblock.config.verbosity='2'
simple-adblock.config.force_dns='1'
simple-adblock.config.hosts_file='/var/dnsmasq.d/simple-adblock'
simple-adblock.config.blacklist_hosts_url='http://www.mvps.org/winhelp2002/hosts.txt' 'http://pgl.yoyo.org/as/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext' 'http://www.malwaredomainlist.com/hostslist/hosts.txt' 'https://adaway.org/hosts.txt' 'http://someonewhocares.org/hosts/hosts' 'https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt' 'https://zeustracker.abuse.ch/blocklist.php?download=hostfile'
simple-adblock.config.blacklist_domains_url='http://mirror1.malwaredomains.com/files/justdomains' 'https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt' 'https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt' 'https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt' 'https://ransomwaretracker.abuse.ch/downloads/RW_DOMBL.txt' 'https://ssl.bblck.me/blacklists/domain-list.txt' 'http://dshield.org/feeds/suspiciousdomains_High.txt'
simple-adblock.config.boot_delay='120'
simple-adblock.config.download_timeout='10'
simple-adblock.config.enabled='1'
simple-adblock.config.whitelist_domain='raw.githubusercontent.com' 'https://www.googleadservices.com' 'http://www.googleadservices.com' 'https://googleadservices.com' 'http://googleadservices.com' 'googleadservices.com' 'www.googleadservices.com'
@stangri
Need help to run luci-app-simple-adblock on barrier breaker (BB).
I built the luci-app-simple-adblock package using BB SDK. Installs fine, appears in luci->services menu as well.
However when I click on it, it throws error:
/usr/lib/lua/luci/dispatcher.lua:461: Failed to execute cbi dispatcher target for entry '/admin/services/simple-adblock'. The called action terminated with an exception: /usr/lib/lua/luci/model/cbi/simple-adblock.lua:12: attempt to call field 'ubus' (a nil value) stack traceback: [C]: in function 'assert' /usr/lib/lua/luci/dispatcher.lua:461: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:195: in function </usr/lib/lua/luci/dispatcher.lua:194>
Just quickly read this thread and trying to understand what the difference between simple-adblock and the other adblock: they see to be using the same blacklists so functionally are the same. Am I wrong?
Totally would be. The downloading and processing of each list is spun into a separate process and I haven't figured out the way to make nice work with them.
There was an overview of differences. This one can only process simpler lists, but is much faster due to that, fully UCI-controllable (no manual editing of config files) and the lists can be easily added/deleted from WebUI. You can also choose to keep compressed blacklists cache which survives router reboots.
The adblock package has more complex code with custom processing filters for additional block-lists which simple-adblock cannot process.
You will never be able to get rid of all ads, simple-adblock merely works on a DNS basis depending on externally curated blocklists. These blocklists will never cover all hosts serving ads - and especially google/ youtube are increasingly serving content and ads from the same domain/ server, making DNS based blocking ineffective.
When clicking refresh on the LUCI GUI or re-running the service via /etc/init.d/simple-adblock start or /etc/init.d/simple-adblock reload, I get following issue: