Adblock 4 pre-releases

Thanks for pointing this out (again; -) I underestimated the impact of shallalist and ut_capitol so heads up when using them!

All marked as XL, but way different:

   193552 adb_list.hphosts.gz
   779476 adb_list.notracking.gz
  7319704 adb_list.shallalist.gz
~11MB IIRC ut_capitol (without porn)

Only the size, I can't take the processing / expansion of these lists into account. I ended up with USB stick backup / swap expansion.

So thanks again for the amazing v4 you create!

Addendum: Although adblock processing including shallalist with USB stick went fine, router gets "corrupted" rel. quick after that.....will have to look closer. With shallalist number of domains ramp up from ~ 150k to 1.5M

Good point, before release I have to double-check the size settings in the JSON file ... thanks! :wink:

Gave the new version a go, it managed to run for a few seconds before it crashed the dnsmasq service.

This is with the adblock config that i am currently running as well.

The log was just saying dnsmasq wasn't running or executable.

I even tried raw and it didn't work.

I just re-check the archive handling ... and it was broken ... I'll prepare a pre4 in the next days, sorry for the mess.

Edit: bottomline don't use shallalist/ut_capitole with the current pre-release.

1 Like

Debug logs please.

Will do once the router is free to test on again.

Update:

Mon Mar 23 15:43:58 2020 user.info adblock-3.99pre3[2233]: adblock instance started ::: action: start, priority: 0, pid: 2233
Mon Mar 23 15:44:03 2020 user.info adblock-3.99pre3[2233]: download of 'adguard' failed, url: https://filters.adtidy.org/windows/filters/15.txt, rule: BEGIN{FS="[/|^|\r]"}/^\|\|([[:alnum:]_-]+\.)+[[:alpha:]]+[\/\^\r]+$/{print tolower($3)}, categories: -, rc: 6, log: curl: (6) Couldn't resolve host 'filters.adtidy.org'
Mon Mar 23 15:44:51 2020 user.info adblock-3.99pre3[2233]: blocklist with overall 9666 blocked domains loaded successfully (Linksys WRT32X, OpenWrt SNAPSHOT r12567-b052b62efc)
Mon Mar 23 15:45:55 2020 user.info adblock-3.99pre3[6359]: adblock instance started ::: action: start, priority: 0, pid: 6359
Mon Mar 23 15:46:09 2020 user.info adblock-3.99pre3[6359]: blocklist with overall 35510 blocked domains loaded successfully (Linksys WRT32X, OpenWrt SNAPSHOT r12567-b052b62efc)
Mon Mar 23 15:47:51 2020 user.debug adblock-3.99pre3[6973]: f_dns    ::: dns: dnsmasq, dns_dir: /mnt/sda1/adblock, dns_file: adb_list.overall, dns_user: dnsmasq, dns_inotify: 0, dns_instance: 0, backup: 1, backup_dir: /mnt/sda1/adblock
Mon Mar 23 15:47:51 2020 user.debug adblock-3.99pre3[6973]: f_fetch  ::: fetch_util: /usr/bin/curl, fetch_parm: --connect-timeout 20 --silent --show-error --location -o
Mon Mar 23 15:47:51 2020 user.debug adblock-3.99pre3[6973]: f_bgserv ::: status: stop, bg_pid: -, dns_filereset: 1, ubus_service: /etc/adblock/adblock.monitor
Mon Mar 23 15:47:51 2020 user.debug adblock-3.99pre3[6973]: f_uci    ::: config: adblock, change: adblock.global.adb_repiface='br-lan'
Mon Mar 23 15:47:51 2020 user.debug adblock-3.99pre3[6973]: f_report ::: action: reload, report: 1, search: +, count: 50, process: false, print: false, dump_util: /usr/sbin/tcpdump, repdir: /tmp, repiface: br-lan, replisten: 53, repchunksize: 1, repchunkcnt: 5, bg_pid:
Mon Mar 23 15:47:51 2020 user.info adblock-3.99pre3[6973]: adblock instance started ::: action: reload, priority: 10, pid: 6973
Mon Mar 23 15:47:51 2020 user.debug adblock-3.99pre3[6973]: f_jsnup  ::: status: running, cnt: 35510, mail: 0, mail_service: /etc/adblock/adblock.mail, mail_cnt: 0, mail_pid: -
Mon Mar 23 15:47:51 2020 user.debug adblock-3.99pre3[6973]: f_uci    ::: config: dhcp, change: dhcp.cfg01411c.confdir='/mnt/sda1/adblock'
Mon Mar 23 15:47:52 2020 user.debug adblock-3.99pre3[6973]: f_uci    ::: config: firewall, change: firewall.adblock_dns_853='redirect' firewall.adblock_dns_853.name='Adblock DNS, port 853' firewall.adblock_dns_853.src='lan' firewall.adblock_dns_853.proto='tcp udp' firewall.adblock_dns_853.src_dport='853' firewall.adblock_dns_853.dest_port='853' firewall.adblock_dns_853.target='DNAT' firewall.adblock_dns_5353='redirect' firewall.adblock_dns_5353.name='Adblock DNS, port 5353' firewall.adblock_dns_5353.src='lan' firewall.adblock_dns_5353.proto='tcp udp' firewall.adblock_dns_5353.src_dport='5353' firewall.adblock_dns_5353.dest_port='5353' firewall.adblock_dns_5353.target='DNAT'
Mon Mar 23 15:47:52 2020 user.debug adblock-3.99pre3[6973]: f_temp   ::: tmp_base: /mnt/sda1/adblock, tmp_dir: /mnt/sda1/adblock/tmp.GOEDjE, cores: 2, sort_options: --temporary-directory=/mnt/sda1/adblock/tmp.GOEDjE --compress-program=gzip --batch-size=32 --parallel=2, pid_file: /var/run/adblock.pid
Mon Mar 23 15:48:10 2020 user.debug adblock-3.99pre3[6973]: f_dnsup  ::: lookup_util: /usr/bin/nslookup, lookup_domain: example.com, restart_rc: 0, dns_timeout: 5, dns_cnt: 6, in_rc: 0, out_rc: 4
Mon Mar 23 15:48:10 2020 user.debug adblock-3.99pre3[6973]: f_main   ::: mem_total: 510, mem_free: 231, max_queue: 4, safe_search: 0, force_dns: 1, awk: /usr/bin/awk
Mon Mar 23 15:48:10 2020 user.debug adblock-3.99pre3[6973]: f_list   ::: name: whitelist, mode: whitelist, cnt: 38, in_rc: 0, out_rc: 0
Mon Mar 23 15:48:10 2020 user.debug adblock-3.99pre3[6973]: f_list   ::: name: blacklist, mode: blacklist, cnt: 512, in_rc: 0, out_rc: 0
Mon Mar 23 15:48:15 2020 user.info adblock-3.99pre3[6973]: download of 'adaway' failed, url: https://adaway.org/hosts.txt, rule: /^127\.0\.0\.1[[:space:]]+([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($2)}, categories: -, rc: 6, log: curl: (6) Couldn't resolve host 'adaway.org'
Mon Mar 23 15:48:15 2020 user.info adblock-3.99pre3[6973]: download of 'disconnect' failed, url: https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt, rule: /^([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($1)}, categories: -, rc: 6, log: curl: (6) Couldn't resolve host 's3.amazonaws.com'
Mon Mar 23 15:48:15 2020 user.debug adblock-3.99pre3[6973]: f_list   ::: name: disconnect, mode: restore, cnt: 0, in_rc: 6, out_rc: 4
Mon Mar 23 15:48:15 2020 user.info adblock-3.99pre3[6973]: download of 'yoyo' failed, url: https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&mimetype=plaintext, rule: /^([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($1)}, categories: -, rc: 6, log: curl: (6) Couldn't resolve host 'pgl.yoyo.org'
Mon Mar 23 15:48:15 2020 user.info adblock-3.99pre3[6973]: download of 'adguard' failed, url: https://filters.adtidy.org/windows/filters/15.txt, rule: BEGIN{FS="[/|^|\r]"}/^\|\|([[:alnum:]_-]+\.)+[[:alpha:]]+[\/\^\r]+$/{print tolower($3)}, categories: -, rc: 6, log: curl: (6) Couldn't resolve host 'filters.adtidy.org'
Mon Mar 23 15:48:15 2020 user.debug adblock-3.99pre3[6973]: f_list   ::: name: adaway, mode: restore, cnt: 0, in_rc: 6, out_rc: 4
Mon Mar 23 15:48:15 2020 user.debug adblock-3.99pre3[6973]: f_list   ::: name: yoyo, mode: restore, cnt: 0, in_rc: 6, out_rc: 4
Mon Mar 23 15:48:15 2020 user.debug adblock-3.99pre3[6973]: f_list   ::: name: adguard, mode: restore, cnt: 0, in_rc: 6, out_rc: 4
Mon Mar 23 15:48:15 2020 user.debug adblock-3.99pre3[6973]: f_list   ::: name: -, mode: merge, cnt: 512, in_rc: 4, out_rc: 0
Mon Mar 23 15:48:15 2020 user.debug adblock-3.99pre3[6973]: f_tld    ::: source: /mnt/sda1/adblock/tmp.GOEDjE/adb_list.overall, cnt: 512, cnt_tld: 87
Mon Mar 23 15:48:15 2020 user.debug adblock-3.99pre3[6973]: f_list   ::: name: -, mode: final, cnt: 87, in_rc: 4, out_rc: 0
Mon Mar 23 15:48:28 2020 user.debug adblock-3.99pre3[6973]: f_dnsup  ::: lookup_util: /usr/bin/nslookup, lookup_domain: example.com, restart_rc: 0, dns_timeout: 5, dns_cnt: 6, in_rc: 0, out_rc: 4
Mon Mar 23 15:48:28 2020 user.err adblock-3.99pre3[6973]: dns backend restart with adblock blocklist failed
Mon Mar 23 15:48:41 2020 user.debug adblock-3.99pre3[6973]: f_dnsup  ::: lookup_util: /usr/bin/nslookup, lookup_domain: example.com, restart_rc: 0, dns_timeout: 5, dns_cnt: 6, in_rc: 4, out_rc: 4
Mon Mar 23 15:48:41 2020 user.debug adblock-3.99pre3[6973]: f_rmtemp ::: tmp_dir: /mnt/sda1/adblock/tmp.GOEDjE, src_file: /tmp/adb_sources.json, pid_file: /var/run/adblock.pid
Mon Mar 23 15:48:41 2020 user.debug adblock-3.99pre3[6973]: f_rmdns  ::: dns: dnsmasq, status: true, dns_dir: /mnt/sda1/adblock, dns_file: adb_list.overall, rt_file: /tmp/adb_runtime.json, backup_dir: /mnt/sda1/adblock
Mon Mar 23 15:48:41 2020 user.debug adblock-3.99pre3[6973]: f_bgserv ::: status: stop, bg_pid: -, dns_filereset: 1, ubus_service: /etc/adblock/adblock.monitor
Mon Mar 23 15:48:41 2020 user.debug adblock-3.99pre3[6973]: f_jsnup  ::: status: error, cnt: 0, mail: 0, mail_service: /etc/adblock/adblock.mail, mail_cnt: 0, mail_pid: -

Update 2:

Mon Mar 23 15:44:03 2020 user.info adblock-3.99pre3[2233]: download of 'adguard' failed, url: https://filters.adtidy.org/windows/filters/15.txt, rule: BEGIN{FS="[/|^|\r]"}/^\|\|([[:alnum:]_-]+\.)+[[:alpha:]]+[\/\^\r]+$/{print tolower($3)}, categories: -, rc: 6, log: curl: (6) Couldn't resolve host 'filters.adtidy.org'
Mon Mar 23 15:44:51 2020 user.info adblock-3.99pre3[2233]: blocklist with overall 9666 blocked domains loaded successfully (Linksys WRT32X, OpenWrt SNAPSHOT r12567-b052b62efc)
Mon Mar 23 15:45:55 2020 user.info adblock-3.99pre3[6359]: adblock instance started ::: action: start, priority: 0, pid: 6359
Mon Mar 23 15:46:09 2020 user.info adblock-3.99pre3[6359]: blocklist with overall 35510 blocked domains loaded successfully (Linksys WRT32X, OpenWrt SNAPSHOT r12567-b052b62efc)
Mon Mar 23 15:47:51 2020 user.debug adblock-3.99pre3[6973]: f_dns    ::: dns: dnsmasq, dns_dir: /mnt/sda1/adblock, dns_file: adb_list.overall, dns_user: dnsmasq, dns_inotify: 0, dns_instance: 0, backup: 1, backup_dir: /mnt/sda1/adblock
Mon Mar 23 15:47:51 2020 user.debug adblock-3.99pre3[6973]: f_fetch  ::: fetch_util: /usr/bin/curl, fetch_parm: --connect-timeout 20 --silent --show-error --location -o
Mon Mar 23 15:47:51 2020 user.debug adblock-3.99pre3[6973]: f_bgserv ::: status: stop, bg_pid: -, dns_filereset: 1, ubus_service: /etc/adblock/adblock.monitor
Mon Mar 23 15:47:51 2020 user.debug adblock-3.99pre3[6973]: f_uci    ::: config: adblock, change: adblock.global.adb_repiface='br-lan'
Mon Mar 23 15:47:51 2020 user.debug adblock-3.99pre3[6973]: f_report ::: action: reload, report: 1, search: +, count: 50, process: false, print: false, dump_util: /usr/sbin/tcpdump, repdir: /tmp, repiface: br-lan, replisten: 53, repchunksize: 1, repchunkcnt: 5, bg_pid:
Mon Mar 23 15:47:51 2020 user.info adblock-3.99pre3[6973]: adblock instance started ::: action: reload, priority: 10, pid: 6973
Mon Mar 23 15:47:51 2020 user.debug adblock-3.99pre3[6973]: f_jsnup  ::: status: running, cnt: 35510, mail: 0, mail_service: /etc/adblock/adblock.mail, mail_cnt: 0, mail_pid: -
Mon Mar 23 15:47:51 2020 user.debug adblock-3.99pre3[6973]: f_uci    ::: config: dhcp, change: dhcp.cfg01411c.confdir='/mnt/sda1/adblock'
Mon Mar 23 15:47:52 2020 user.debug adblock-3.99pre3[6973]: f_uci    ::: config: firewall, change: firewall.adblock_dns_853='redirect' firewall.adblock_dns_853.name='Adblock DNS, port 853' firewall.adblock_dns_853.src='lan' firewall.adblock_dns_853.proto='tcp udp' firewall.adblock_dns_853.src_dport='853' firewall.adblock_dns_853.dest_port='853' firewall.adblock_dns_853.target='DNAT' firewall.adblock_dns_5353='redirect' firewall.adblock_dns_5353.name='Adblock DNS, port 5353' firewall.adblock_dns_5353.src='lan' firewall.adblock_dns_5353.proto='tcp udp' firewall.adblock_dns_5353.src_dport='5353' firewall.adblock_dns_5353.dest_port='5353' firewall.adblock_dns_5353.target='DNAT'
Mon Mar 23 15:47:52 2020 user.debug adblock-3.99pre3[6973]: f_temp   ::: tmp_base: /mnt/sda1/adblock, tmp_dir: /mnt/sda1/adblock/tmp.GOEDjE, cores: 2, sort_options: --temporary-directory=/mnt/sda1/adblock/tmp.GOEDjE --compress-program=gzip --batch-size=32 --parallel=2, pid_file: /var/run/adblock.pid
Mon Mar 23 15:48:10 2020 user.debug adblock-3.99pre3[6973]: f_dnsup  ::: lookup_util: /usr/bin/nslookup, lookup_domain: example.com, restart_rc: 0, dns_timeout: 5, dns_cnt: 6, in_rc: 0, out_rc: 4
Mon Mar 23 15:48:10 2020 user.debug adblock-3.99pre3[6973]: f_main   ::: mem_total: 510, mem_free: 231, max_queue: 4, safe_search: 0, force_dns: 1, awk: /usr/bin/awk
Mon Mar 23 15:48:10 2020 user.debug adblock-3.99pre3[6973]: f_list   ::: name: whitelist, mode: whitelist, cnt: 38, in_rc: 0, out_rc: 0
Mon Mar 23 15:48:10 2020 user.debug adblock-3.99pre3[6973]: f_list   ::: name: blacklist, mode: blacklist, cnt: 512, in_rc: 0, out_rc: 0
Mon Mar 23 15:48:15 2020 user.info adblock-3.99pre3[6973]: download of 'adaway' failed, url: https://adaway.org/hosts.txt, rule: /^127\.0\.0\.1[[:space:]]+([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($2)}, categories: -, rc: 6, log: curl: (6) Couldn't resolve host 'adaway.org'
Mon Mar 23 15:48:15 2020 user.info adblock-3.99pre3[6973]: download of 'disconnect' failed, url: https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt, rule: /^([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($1)}, categories: -, rc: 6, log: curl: (6) Couldn't resolve host 's3.amazonaws.com'
Mon Mar 23 15:48:15 2020 user.debug adblock-3.99pre3[6973]: f_list   ::: name: disconnect, mode: restore, cnt: 0, in_rc: 6, out_rc: 4
Mon Mar 23 15:48:15 2020 user.info adblock-3.99pre3[6973]: download of 'yoyo' failed, url: https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&mimetype=plaintext, rule: /^([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($1)}, categories: -, rc: 6, log: curl: (6) Couldn't resolve host 'pgl.yoyo.org'
Mon Mar 23 15:48:15 2020 user.info adblock-3.99pre3[6973]: download of 'adguard' failed, url: https://filters.adtidy.org/windows/filters/15.txt, rule: BEGIN{FS="[/|^|\r]"}/^\|\|([[:alnum:]_-]+\.)+[[:alpha:]]+[\/\^\r]+$/{print tolower($3)}, categories: -, rc: 6, log: curl: (6) Couldn't resolve host 'filters.adtidy.org'
Mon Mar 23 15:48:15 2020 user.debug adblock-3.99pre3[6973]: f_list   ::: name: adaway, mode: restore, cnt: 0, in_rc: 6, out_rc: 4
Mon Mar 23 15:48:15 2020 user.debug adblock-3.99pre3[6973]: f_list   ::: name: yoyo, mode: restore, cnt: 0, in_rc: 6, out_rc: 4
Mon Mar 23 15:48:15 2020 user.debug adblock-3.99pre3[6973]: f_list   ::: name: adguard, mode: restore, cnt: 0, in_rc: 6, out_rc: 4
Mon Mar 23 15:48:15 2020 user.debug adblock-3.99pre3[6973]: f_list   ::: name: -, mode: merge, cnt: 512, in_rc: 4, out_rc: 0
Mon Mar 23 15:48:15 2020 user.debug adblock-3.99pre3[6973]: f_tld    ::: source: /mnt/sda1/adblock/tmp.GOEDjE/adb_list.overall, cnt: 512, cnt_tld: 87
Mon Mar 23 15:48:15 2020 user.debug adblock-3.99pre3[6973]: f_list   ::: name: -, mode: final, cnt: 87, in_rc: 4, out_rc: 0
Mon Mar 23 15:48:28 2020 user.debug adblock-3.99pre3[6973]: f_dnsup  ::: lookup_util: /usr/bin/nslookup, lookup_domain: example.com, restart_rc: 0, dns_timeout: 5, dns_cnt: 6, in_rc: 0, out_rc: 4
Mon Mar 23 15:48:28 2020 user.err adblock-3.99pre3[6973]: dns backend restart with adblock blocklist failed
Mon Mar 23 15:48:41 2020 user.debug adblock-3.99pre3[6973]: f_dnsup  ::: lookup_util: /usr/bin/nslookup, lookup_domain: example.com, restart_rc: 0, dns_timeout: 5, dns_cnt: 6, in_rc: 4, out_rc: 4
Mon Mar 23 15:48:41 2020 user.debug adblock-3.99pre3[6973]: f_rmtemp ::: tmp_dir: /mnt/sda1/adblock/tmp.GOEDjE, src_file: /tmp/adb_sources.json, pid_file: /var/run/adblock.pid
Mon Mar 23 15:48:41 2020 user.debug adblock-3.99pre3[6973]: f_rmdns  ::: dns: dnsmasq, status: true, dns_dir: /mnt/sda1/adblock, dns_file: adb_list.overall, rt_file: /tmp/adb_runtime.json, backup_dir: /mnt/sda1/adblock
Mon Mar 23 15:48:41 2020 user.debug adblock-3.99pre3[6973]: f_bgserv ::: status: stop, bg_pid: -, dns_filereset: 1, ubus_service: /etc/adblock/adblock.monitor
Mon Mar 23 15:48:41 2020 user.debug adblock-3.99pre3[6973]: f_jsnup  ::: status: error, cnt: 0, mail: 0, mail_service: /etc/adblock/adblock.mail, mail_cnt: 0, mail_pid: -
Mon Mar 23 15:51:19 2020 user.err adblock-3.99pre3[8261]: dns backend 'dnsmasq' not running or executable
Mon Mar 23 15:51:31 2020 user.debug adblock-3.99pre3[8261]: f_dnsup  ::: lookup_util: /usr/bin/nslookup, lookup_domain: google.com, restart_rc: 0, dns_timeout: 5, dns_cnt: 6, in_rc: 4, out_rc: 4
Mon Mar 23 15:51:31 2020 user.debug adblock-3.99pre3[8261]: f_rmtemp ::: tmp_dir: -, src_file: /tmp/adb_sources.json, pid_file: /var/run/adblock.pid
Mon Mar 23 15:51:31 2020 user.debug adblock-3.99pre3[8261]: f_rmdns  ::: dns: dnsmasq, status: true, dns_dir: /mnt/sda1/adblock, dns_file: adb_list.overall, rt_file: /tmp/adb_runtime.json, backup_dir: /mnt/sda1/adblock
Mon Mar 23 15:51:31 2020 user.debug adblock-3.99pre3[8261]: f_bgserv ::: status: stop, bg_pid: -, dns_filereset: 1, ubus_service: /etc/adblock/adblock.monitor
Mon Mar 23 15:51:32 2020 user.debug adblock-3.99pre3[8261]: f_jsnup  ::: status: error, cnt: 0, mail: 0, mail_service: /etc/adblock/adblock.mail, mail_cnt: 0, mail_pid: -
Mon Mar 23 15:52:03 2020 user.err adblock-3.99pre3[8918]: dns backend 'dnsmasq' not running or executable

Edit: Have quickly gone back, will give it another go on a clean install later on tonight when no one needs the network.

Looks like an OOM condition. Manually restart your dnsmasq instance and check that it is running. After that tip the "Flush DNS Cache" option in adblock and see if this effect disappear ...

1 Like

Hi bud, will test this later. I did try /etc/init.d/dnsmasq restart but it still showed the error it wasn't working as this was my first point of call.

dnsmasq also showed it failed when restarted via ssh.

Will look into it when network is free tonight early hours of the morning, as i have some coding to do with the luci-theme-opentomato theme as refresh options is buggy too.

when trying to show log view I get this message : XHR request aborted by browser
I am using pre3 which get an error and do not work :

root@LPM:/etc/config# cat /etc/config/adblock

config adblock 'global'
	option adb_enabled '1'
	option adb_debug '0'
	option adb_dnsfilereset '0'
	option adb_mail '0'
	option adb_backup '1'
	option adb_maxqueue '4'
	option adb_dns 'dnsmasq'
	option adb_forcedns '1'
	option adb_fetchutil 'uclient-fetch'
	option adb_safesearchmoderate '1'
	list adb_sources 'adaway'
	list adb_sources 'adguard'
	list adb_sources 'utcapitole_porn'
	list adb_sources 'winspy'
	option adb_dnsflush '1'
	option adb_trigger 'wan'
	option adb_report '1'
	option adb_repiface 'br-lan'
	option adb_safesearch '1'
	option adb_safesearchmod '1'

OpenWRT 19.07.2 on EspressoBinBoard MVEBU

Do you use browser adblock addon (ex: adblock-plus, ubock-ogirin) ?

Yes, I use uBlock Origin and Privacy Badger, but the error is shown in OpenWRT :

Try turning it off or disabling some block-lists, I had the same problem.

1 Like

If I suppress utcapitole_porn I get no more error !
But I need utcapitole_porn and I have a multicore mvebu with 1GB...

root@LPM:/etc/config# free
              total        used        free      shared  buff/cache   available
Mem:        1022976       68344      815408       93720      139224      818136
Swap:             0           0           0

You were right for the log view, this is ok with ublock-origin disabled...

1 Like

I mean try turn-off browser adblock add-on, disable some browser blocklists or add router ip to whitelist on browser.

with debug mode (verbose logging);

...
Tue Mar 24 09:19:32 2020 user.debug adblock-3.99pre3[28311]: f_list   ::: name: -, mode: final, cnt: 1968228, in_rc: 4, out_rc: 0
Tue Mar 24 09:19:46 2020 user.debug adblock-3.99pre3[28311]: f_dnsup  ::: lookup_util: /usr/bin/nslookup, lookup_domain: example.com, restart_rc: 0, dns_timeout: 5, dns_cnt: 6, in_rc: 0, out_rc: 4
Tue Mar 24 09:19:46 2020 user.err adblock-3.99pre3[28311]: dns backend restart with adblock blocklist failed
Tue Mar 24 09:19:52 2020 user.debug adblock-3.99pre3[28311]: f_dnsup  ::: lookup_util: /usr/bin/nslookup, lookup_domain: example.com, restart_rc: 0, dns_timeout: 5, dns_cnt: 0, in_rc: 4, out_rc: 0
Tue Mar 24 09:19:53 2020 user.debug adblock-3.99pre3[28311]: f_rmtemp ::: tmp_dir: /tmp/tmp.ONONJH, src_file: /tmp/adb_sources.json, pid_file: /var/run/adblock.pid
Tue Mar 24 09:19:53 2020 user.debug adblock-3.99pre3[28311]: f_rmdns  ::: dns: dnsmasq, status: true, dns_dir: /tmp/dnsmasq.d, dns_file: adb_list.overall, rt_file: /tmp/adb_runtime.json, backup_dir: /tmp
Tue Mar 24 09:19:53 2020 user.debug adblock-3.99pre3[28311]: f_bgserv ::: status: stop, bg_pid: -, dns_filereset: 0, ubus_service: /etc/adblock/adblock.monitor
Tue Mar 24 09:19:53 2020 user.debug adblock-3.99pre3[28311]: f_jsnup  ::: status: error, cnt: 0, mail: 0, mail_service: /etc/adblock/adblock.mail, mail_cnt: 0, mail_pid: -
Tue Mar 24 09:56:56 2020 daemon.crit dnsmasq[6340]: bad option at line 1 of /root/adblock/safesearch.google.gz
Tue Mar 24 09:56:56 2020 daemon.crit dnsmasq[6340]: FAILED to start up

Please post your current adblock config.

Edit: and your dhcp config as well!

root@LPM:~# cat /etc/config/dhcp 

config dnsmasq
	option localise_queries '1'
	option rebind_protection '1'
	option rebind_localhost '1'
	option expandhosts '1'
	option readethers '1'
	option resolvfile '/tmp/resolv.conf.auto'
	option nonwildcard '0'
	option leasefile '/root/dhcp.leases'
	list rebind_domain 'gk2.net'
	option localservice '0'
	option quietdhcp '1'
	option boguspriv '0'
	list server '212.27.40.240'
	list server '212.27.40.241'
	list server '2a01:e00::2'
	list server '2a01:e00::1'
	list server '8.8.8.8'
	list server '9.9.9.9'
	option authoritative '1'
	option confdir '/root/adblock'
root@LPM:~# cat /etc/config/adblock

config adblock 'global'
	option adb_mail '0'
	option adb_backup '1'
	option adb_dns 'dnsmasq'
	option adb_safesearchmoderate '1'
	option adb_report '1'
	option adb_repiface 'br-lan'
	option adb_debug '1'
	option adb_dnsfilereset '1'
	option adb_backupdir '/root/adblock'
	option adb_tmpbase '/root/adblock'
	option adb_dnsdir '/root/adblock'
	option adb_safesearch '0'
	option adb_maxqueue '4'
	list adb_sources 'energized_porn'
	list adb_sources 'utcapitole_porn'
	option adb_forcedns '1'
	option adb_fetchutil 'uclient-fetch'
	option adb_enabled '0'

If I activate flushdns option, I get the error...

First of all archive handling is broken in current pre3, therefore you can't use utcaptilole and shalla ATM (will be fixed in pre4).
Second, you've misconfigured adblock in certain ways: backup, temp and dns directory is the same in your config - that can't work, e.g. dnsmasq tries to read the dnsdir and find backups from adblock as well ...
Please don't use flash space (wear leveling!) and please use different directories for temp, dns and backups.