Adblock support thread

I have an Archer C7 (ath79 target) with 128MB ram and ticked almost every adblock list + DNS file reset+nxdomain option. So it use ~70Mb ram (20mb system + 47mb dnsmasq) after adblock processing. Next If I don't use coreutils-sort package while doing "adblock reload" then everything works fine w/o any error even using all the available ram during sort operation (peaks at ~94mb). But it crashed sometimes with coreutils-sort installed (adblock.overall error) showing 400000+ blocked domains and takes only 20mb ram usage (and nothing in dnsmasq) after that. I think sorting operation causes OOM with coreutils-sort when refreshing blocklist at least in my case...

Hi,
I have two devices netgear WNDR4300 and BT Home Hub 5A both with latest version of openWRT 19.07.1.
I discovered that adblock plugin does not work. On both devices on the main page of adblock Runtime information are empty. Moreover, in the first device the log error is empty while in the second I get this error:

Fri Jan 31 09:20:09 2020 user.info adblock-3.8.15[11183]: your adblock config seems to be too old, please update your config with the '--force-maintainer' opkg option

I'm using for both devices the same configuration under Advanced->Edit Configuration:

config adblock 'global'
	option adb_fetchutil 'uclient-fetch'
	option adb_enabled '1'
	option adb_dns 'dnscrypt-proxy'
	option adb_trigger 'wlan'

config adblock 'extra'
	option adb_debug '0'
	option adb_forcedns '1'
	option adb_forcesrt '1'
	option adb_dnsflush '1'
	option adb_nice '0'
	option adb_maxqueue '4'

config source 'adaway'
	option enabled '1'
	option adb_src 'https://adaway.org/hosts.txt'
	option adb_src_rset '\$0~/^127\.0\.0\.1[[:space:]]+([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$2)}'
	option adb_src_desc 'focus on mobile ads, infrequent updates, approx. 400 entries'

config source 'adguard'
	option adb_src 'https://filters.adtidy.org/windows/filters/15.txt'
	option adb_src_rset 'BEGIN{FS=\"[/|^|\r]\"}\$0~/^\|\|([[:alnum:]_-]+\.){1,}[[:alpha:]]+([\/\^\r]|$)/{print tolower(\$3)}'
	option adb_src_desc 'combined adguard dns filter list, frequent updates, approx. 15.700 entries'
	option enabled '1'

config source 'bitcoin'
	option adb_src 'https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt'
	option adb_src_rset '\$0~/^0\.0\.0\.0[[:space:]]+([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$2)}'
	option adb_src_desc 'focus on malicious bitcoin mining sites, infrequent updates, approx. 20 entries'
	option enabled '1'

config source 'blacklist'
	option enabled '1'
	option adb_src '/etc/adblock/adblock.blacklist'
	option adb_src_rset '\$0~/^([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'static local domain blacklist, always deny these domains'

config source 'disconnect'
	option enabled '1'
	option adb_src 'https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt'
	option adb_src_rset '\$0~/^([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'mozilla driven blocklist, numerous updates on the same day, approx. 4.600 entries'

config source 'dshield'
	option adb_src 'https://www.dshield.org/feeds/suspiciousdomains_Low.txt'
	option adb_src_rset '\$0~/^([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'generic blocklist, daily updates, approx. 3.500 entries'
	option enabled '1'

config source 'feodo'
	option adb_src 'https://feodotracker.abuse.ch/blocklist/?download=domainblocklist'
	option adb_src_rset '\$0~/^([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'focus on feodo botnet, daily updates, approx. 0-10 entries'
	option enabled '1'

config source 'hphosts'
	option adb_src 'https://hosts-file.net/ad_servers.txt'
	option adb_src_rset '\$0~/^127\.0\.0\.1[[:space:]]+([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$2)}'
	option adb_src_desc 'broad blocklist, monthly updates, approx. 19.200 entries'
	option enabled '1'

config source 'malware'
	option adb_src 'https://mirror.espoch.edu.ec/malwaredomains/justdomains'
	option adb_src_rset '\$0~/^([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'broad blocklist, daily updates, approx. 18.300 entries'
	option enabled '1'

config source 'malwarelist'
	option adb_src 'http://www.malwaredomainlist.com/hostslist/hosts.txt'
	option adb_src_rset '\$0~/^127\.0\.0\.1[[:space:]]+([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$2)}'
	option adb_src_desc 'focus on malware, daily updates, approx. 1.200 entries'
	option enabled '1'

config source 'openphish'
	option adb_src 'https://openphish.com/feed.txt'
	option adb_src_rset 'BEGIN{FS=\"/\"}\$0~/^http[s]?:\/\/([[:alnum:]_-]+\.){1,}[[:alpha:]]+(\/|$)/{print tolower(\$3)}'
	option adb_src_desc 'focus on phishing, numerous updates on the same day, approx. 2.400 entries'
	option enabled '1'

config source 'ransomware'
	option adb_src 'https://ransomwaretracker.abuse.ch/downloads/RW_DOMBL.txt'
	option adb_src_rset '\$0~/^([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|\r|$)/{print tolower(\$1)}'
	option adb_src_desc 'focus on ransomware, numerous updates on the same day, approx. 1900 entries'
	option enabled '1'

config source 'reg_cn'
	option enabled '0'
	option adb_src 'https://easylist-downloads.adblockplus.org/easylistchina+easylist.txt'
	option adb_src_rset 'BEGIN{FS=\"[|^]\"}\$0~/^\|\|([[:alnum:]_-]+\.){1,}[[:alpha:]]+\^("\\\$third-party")?$/{print tolower(\$3)}'
	option adb_src_desc 'focus on chinese ads plus generic easylist additions, daily updates, approx. 11.700 entries'

config source 'reg_de'
	option enabled '0'
	option adb_src 'https://easylist-downloads.adblockplus.org/easylistgermany+easylist.txt'
	option adb_src_rset 'BEGIN{FS=\"[|^]\"}\$0~/^\|\|([[:alnum:]_-]+\.){1,}[[:alpha:]]+\^("\\\$third-party")?$/{print tolower(\$3)}'
	option adb_src_desc 'focus on german ads plus generic easylist additions, daily updates, approx. 9.200 entries'

config source 'reg_id'
	option enabled '0'
	option adb_src 'https://easylist-downloads.adblockplus.org/abpindo+easylist.txt'
	option adb_src_rset 'BEGIN{FS=\"[|^]\"}\$0~/^\|\|([[:alnum:]_-]+\.){1,}[[:alpha:]]+\^("\\\$third-party")?$/{print tolower(\$3)}'
	option adb_src_desc 'focus on indonesian ads plus generic easylist additions, weekly updates, approx. 9.600 entries'

config source 'reg_nl'
	option enabled '0'
	option adb_src 'https://easylist-downloads.adblockplus.org/easylistdutch+easylist.txt'
	option adb_src_rset 'BEGIN{FS=\"[|^]\"}\$0~/^\|\|([[:alnum:]_-]+\.){1,}[[:alpha:]]+\^("\\\$third-party")?$/{print tolower(\$3)}'
	option adb_src_desc 'focus on dutch ads plus generic easylist additions, weekly updates, approx. 9.400 entries'

config source 'reg_pl'
	option enabled '0'
	option adb_src 'http://adblocklist.org/adblock-pxf-polish.txt'
	option adb_src_rset 'BEGIN{FS=\"[|^]\"}\$0~/^\|\|([[:alnum:]_-]+\.){1,}[[:alpha:]]+\^("\\\$third-party")?$/{print tolower(\$3)}'
	option adb_src_desc 'focus on polish ads, daily updates, approx. 90 entries'

config source 'reg_ro'
	option enabled '0'
	option adb_src 'https://easylist-downloads.adblockplus.org/rolist+easylist.txt'
	option adb_src_rset 'BEGIN{FS=\"[|^]\"}\$0~/^\|\|([[:alnum:]_-]+\.){1,}[[:alpha:]]+\^("\\\$third-party")?$/{print tolower(\$3)}'
	option adb_src_desc 'focus on romanian ads plus generic easylist additions, weekly updates, approx. 9.400 entries'

config source 'reg_ru'
	option enabled '0'
	option adb_src 'https://easylist-downloads.adblockplus.org/ruadlist+easylist.txt'
	option adb_src_rset 'BEGIN{FS=\"[|^]\"}\$0~/^\|\|([[:alnum:]_-]+\.){1,}[[:alpha:]]+\^("\\\$third-party")?$/{print tolower(\$3)}'
	option adb_src_desc 'focus on russian ads plus generic easylist additions, weekly updates, approx. 14.500 entries'

config source 'shalla'
	option adb_src 'http://www.shallalist.de/Downloads/shallalist.tar.gz'
	option adb_src_rset '\$0~/^([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'broad blocklist subdivided in different categories, daily updates, approx. 31.700 entries'
	list adb_src_cat 'adv'
	list adb_src_cat 'costtraps'
	list adb_src_cat 'spyware'
	list adb_src_cat 'tracker'
	list adb_src_cat 'warez'
	option enabled '1'

config source 'spam404'
	option adb_src 'https://raw.githubusercontent.com/Dawsey21/Lists/master/main-blacklist.txt'
	option adb_src_rset '\$0~/^([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'generic blocklist, infrequent updates, approx. 6.000 entries'
	option enabled '1'

config source 'sysctl'
	option adb_src 'http://sysctl.org/cameleon/hosts'
	option adb_src_rset '\$0~/^127\.0\.0\.1[[:space:]]+([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$2)}'
	option adb_src_desc 'broad blocklist, weekly updates, approx. 16.500 entries'
	option enabled '1'

config source 'whocares'
	option adb_src 'http://someonewhocares.org/hosts/hosts'
	option adb_src_rset '\$0~/^127\.0\.0\.1[[:space:]]+([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$2)}'
	option adb_src_desc 'broad blocklist, weekly updates, approx. 10.000 entries'
	option enabled '1'

config source 'winspy'
	option adb_src 'https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/win10/spy.txt'
	option adb_src_rset '\$0~/^0\.0\.0\.0[[:space:]]+([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$2)}'
	option adb_src_desc 'focus on windows spy & telemetry domains, infrequent updates, approx. 300 entries'
	option enabled '1'

config source 'winhelp'
	option adb_src 'http://winhelp2002.mvps.org/hosts.txt'
	option adb_src_rset '\$0~/^0\.0\.0\.0[[:space:]]+([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$2)}'
	option adb_src_desc 'broad blocklist, infrequent updates, approx. 13.000 entries'
	option enabled '1'

config source 'yoyo'
	option adb_src 'https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&mimetype=plaintext'
	option adb_src_rset '\$0~/^([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'focus on ad related domains, weekly updates, approx. 2.400 entries'
	option enabled '1'

config source 'zeus'
	option adb_src 'https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist'
	option adb_src_rset '\$0~/^([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'focus on zeus botnet, daily updates, approx. 400 entries'
	option enabled '1'

config source 'easyList'
	option adb_src 'https://easylist.to/easylist/easylist.txt'
	option adb_src_rset '\$0~/^([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'EasyList is the primary filter list that removes most adverts from international webpages, daily updates, approx. 82.200 entries'
	option enabled '1'

config source 'easyPrivacy'
	option adb_src 'https://easylist.to/easylist/easyprivacy.txt'
	option adb_src_rset '\$0~/^([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'EasyPrivacy is a supplementary filter list that completely removes all forms of tracking, daily updates, approx. 15.000 entries'
	option enabled '1'

I already tried to remove all the filters.
Any idea?

Your configuration looks quite strange, first of all it seems to lack standard values (e.g. adb_basever), but the bigger issue seem to be your changes to adb_trigger (I don't think you have an interface called wlan, so adblock waits forever for it to appear). I'd suggest to start over with a clean config for adblock.

I already tried with an empty file configuration, but it does not work.

Your config file appears to be out of date; saving config on update. Get a new one as per the log message, or copy and paste from the git

1 Like

Can you please expand on your comment: "Yep, re-install the package with the "--force-maintainer" opkg option, to update/overwrite your existing config with the default one."
Thanks.

opkg update
opkg install adblock --force-maintainer
or if already installed
opkg upgrade adblock --force-maintainer

1 Like

I solved with this. Thank you

P.S.
Is it normal to have 0 overall domains?

No, check enabled and the logs

logread | grep adb
Sat Feb  8 13:29:04 2020 user.info adblock-3.8.15[25895]: blocklist with overall 250564 domains loaded successfully and reset afterwards (Linksys WRT1900AC, OpenWrt SNAPSHOT r12193-0046aef672)

This is my log

logread | grep adb
Sat Feb  8 21:15:10 2020 user.info adblock-3.8.15[10500]: adblock instance started ::: action: reload, priority: 0, pid: 10500
Sat Feb  8 21:15:21 2020 user.info adblock-3.8.15[10500]: blocklist with overall 0 domains loaded successfully (BT Home Hub 5A, OpenWrt 19.07.1 r10911-c155900f66)

Enable the adblock debug flag, reload and check the log again.

This is the log:

logread | grep adb
Sun Feb  9 09:09:35 2020 user.info adblock-3.8.15[13877]: adblock is currently disabled, please set the config option 'adb_enabled' to '1' to use this service
Sun Feb  9 09:10:07 2020 user.debug adblock-3.8.15[14080]: f_bgserv ::: status: stop, bg_pid: -, dns_filereset: false, ubus_service: /etc/adblock/adblock.service
Sun Feb  9 09:10:07 2020 user.debug adblock-3.8.15[14080]: f_report ::: action: reload, report: 0, search: +, count: 50, filter: false, print: false, reputil: , repdir: /tmp, repiface: br-lan, replisten: 53, repchunksize: 1, repchunkcnt: 5, bg_pid:
Sun Feb  9 09:10:07 2020 user.info adblock-3.8.15[14080]: adblock instance started ::: action: reload, priority: 0, pid: 14080
Sun Feb  9 09:10:07 2020 user.debug adblock-3.8.15[14080]: f_jsnup  ::: status: running, cnt: 0, mail: 0, mail_service: /etc/adblock/adblock.mail, mail_cnt: 0, mail_pid: -
Sun Feb  9 09:10:07 2020 user.debug adblock-3.8.15[14080]: f_jsnup  ::: status: running, cnt: 0, mail: 0, mail_service: /etc/adblock/adblock.mail, mail_cnt: 0, mail_pid: -
Sun Feb  9 09:10:09 2020 user.debug adblock-3.8.15[14080]: f_uci    ::: config: dhcp, change: dhcp.cfg01411c.serversfile='/tmp/adb_list.overall'
Sun Feb  9 09:10:10 2020 user.debug adblock-3.8.15[14080]: f_uci    ::: config: firewall, change: firewall.adblock_dns_53='redirect' firewall.adblock_dns_53.name='Adblock DNS, port 53' firewall.adblock_dns_53.src='lan' firewall.adblock_dns_53.proto='tcp udp' firewall.adblock_dns_53.src_dport='53' firewall.adblock_dns_53.dest_port='53' firewall.adblock_dns_53.target='DNAT' 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'
Sun Feb  9 09:10:10 2020 user.debug adblock-3.8.15[14080]: f_main   ::: dns: dnsmasq, fetch_util: /bin/uclient-fetch (libustream-ssl), force_dns: 1, mem_total: 123, mem_free: 72, max_queue: 4
Sun Feb  9 09:10:10 2020 user.debug adblock-3.8.15[14080]: f_list   ::: name: -, mode: blacklist, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb  9 09:10:10 2020 user.debug adblock-3.8.15[14080]: f_list   ::: name: -, mode: whitelist, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb  9 09:10:10 2020 user.debug adblock-3.8.15[14080]: f_main   ::: name: adaway, enabled: 1
Sun Feb  9 09:10:10 2020 user.debug adblock-3.8.15[14080]: f_main   ::: name: adguard, enabled: 1
Sun Feb  9 09:10:10 2020 user.debug adblock-3.8.15[14080]: f_main   ::: name: bitcoin, enabled: 1
Sun Feb  9 09:10:10 2020 user.debug adblock-3.8.15[14080]: f_main   ::: name: disconnect, enabled: 1
Sun Feb  9 09:10:11 2020 user.debug adblock-3.8.15[14080]: f_main   ::: name: bitcoin, url: https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt, rc: 4, log: Downloading 'https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt' Failed to establish connection
Sun Feb  9 09:10:11 2020 user.debug adblock-3.8.15[14080]: f_list   ::: name: bitcoin, mode: restore, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 09:10:13 2020 user.debug adblock-3.8.15[14080]: f_list   ::: name: disconnect, mode: download, cnt: 2735, in_rc: 0, out_rc: 0
Sun Feb  9 09:10:15 2020 user.debug adblock-3.8.15[14080]: f_list   ::: name: disconnect, mode: backup, cnt: 2735, in_rc: 0, out_rc: 0
Sun Feb  9 09:10:18 2020 user.debug adblock-3.8.15[14080]: f_list   ::: name: adaway, mode: download, cnt: 12198, in_rc: 0, out_rc: 0
Sun Feb  9 09:10:20 2020 user.debug adblock-3.8.15[14080]: f_list   ::: name: adaway, mode: backup, cnt: 12198, in_rc: 0, out_rc: 0
Sun Feb  9 09:10:22 2020 user.debug adblock-3.8.15[14080]: f_list   ::: name: adguard, mode: download, cnt: 28153, in_rc: 0, out_rc: 0
Sun Feb  9 09:10:27 2020 user.debug adblock-3.8.15[14080]: f_list   ::: name: adguard, mode: backup, cnt: 28153, in_rc: 0, out_rc: 0
Sun Feb  9 09:10:27 2020 user.debug adblock-3.8.15[14080]: f_main   ::: name: dshield, enabled: 1
Sun Feb  9 09:10:27 2020 user.debug adblock-3.8.15[14080]: f_main   ::: name: hphosts, enabled: 1
Sun Feb  9 09:10:27 2020 user.debug adblock-3.8.15[14080]: f_main   ::: name: malware, enabled: 1
Sun Feb  9 09:10:28 2020 user.debug adblock-3.8.15[14080]: f_main   ::: name: malwarelist, enabled: 1

My current configuration file, it is the default one plus easyList and easyPrivacy lists:

config adblock 'global'
	option adb_basever '3.8'
	option adb_dns 'dnsmasq'
	option adb_dnsvariant 'nxdomain'
	option adb_fetchutil 'uclient-fetch'
	option adb_trigger 'wan'
	option adb_enabled '1'

config adblock 'extra'
	option adb_report '0'
	option adb_maxqueue '4'
	option adb_nice '0'
	option adb_dnsfilereset 'false'
	option adb_backupdir '/tmp'
	option adb_forcedns '1'
	option adb_dnsflush '1'
	option adb_debug '1'

config source 'adaway'
	option adb_src 'https://adaway.org/hosts.txt'
	option adb_src_rset '/^127\.0\.0\.1[[:space:]]+([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$2)}'
	option adb_src_desc 'focus on mobile ads, infrequent updates, approx. 400 entries'
	option enabled '1'

config source 'adguard'
	option adb_src 'https://filters.adtidy.org/windows/filters/15.txt'
	option adb_src_rset 'BEGIN{FS=\"[/|^|\r]\"}/^\|\|([[:alnum:]_-]+\.)+[[:alpha:]]+[\/\^\r]+$/{print tolower(\$3)}'
	option adb_src_desc 'combined adguard dns filter list, frequent updates, approx. 17.000 entries'
	option enabled '1'

config source 'bitcoin'
	option adb_src 'https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt'
	option adb_src_rset '/^0\.0\.0\.0[[:space:]]+([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$2)}'
	option adb_src_desc 'focus on malicious bitcoin mining sites, infrequent updates, approx. 80 entries'
	option enabled '1'

config source 'disconnect'
	option adb_src 'https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt'
	option adb_src_rset '/^([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'mozilla driven blocklist, numerous updates on the same day, approx. 4.700 entries'
	option enabled '1'

config source 'dshield'
	option adb_src 'https://www.dshield.org/feeds/suspiciousdomains_Low.txt'
	option adb_src_rset '/^([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'generic blocklist, daily updates, approx. 3.500 entries'
	option enabled '1'

config source 'hphosts'
	option adb_src 'https://hosts-file.net/ad_servers.txt'
	option adb_src_rset '/^127\.0\.0\.1[[:space:]]+([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|\$)+/{print tolower(\$2)}'
	option adb_src_desc 'broad blocklist, monthly updates, approx. 19.200 entries'
	option enabled '1'

config source 'malware'
	option adb_src 'https://mirror.espoch.edu.ec/malwaredomains/justdomains'
	option adb_src_rset '/^([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'broad blocklist, daily updates, approx. 18.300 entries'
	option enabled '1'

config source 'malwarelist'
	option adb_src 'http://www.malwaredomainlist.com/hostslist/hosts.txt'
	option adb_src_rset '/^127\.0\.0\.1[[:space:]]+([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$2)}'
	option adb_src_desc 'focus on malware, daily updates, approx. 1.200 entries'
	option enabled '1'

config source 'notracking'
	option adb_src 'https://raw.githubusercontent.com/notracking/hosts-blocklists/master/dnscrypt-proxy/dnscrypt-proxy.blacklist.txt'
	option adb_src_rset '/^([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'notrack domains, daily updates, approx. 60.000 entries'
	option enabled '1'

config source 'openphish'
	option adb_src 'https://openphish.com/feed.txt'
	option adb_src_rset 'BEGIN{FS=\"/\"}/^http[s]?:\/\/([[:alnum:]_-]+\.)+[[:alpha:]]+(\/|$)/{print tolower(\$3)}'
	option adb_src_desc 'focus on phishing, numerous updates on the same day, approx. 2.400 entries'
	option enabled '1'

config source 'reg_cn'
	option adb_src 'https://easylist-downloads.adblockplus.org/easylistchina+easylist.txt'
	option adb_src_rset 'BEGIN{FS=\"[|^]\"}/^\|\|([[:alnum:]_-]+\.)+[[:alpha:]]+\^("\\\$third-party")?$/{print tolower(\$3)}'
	option adb_src_desc 'focus on chinese ads plus generic easylist additions, daily updates, approx. 11.700 entries'
	option enabled '0'

config source 'reg_de'
	option adb_src 'https://easylist-downloads.adblockplus.org/easylistgermany+easylist.txt'
	option adb_src_rset 'BEGIN{FS=\"[|^]\"}/^\|\|([[:alnum:]_-]+\.)+[[:alpha:]]+\^("\\\$third-party")?$/{print tolower(\$3)}'
	option adb_src_desc 'focus on german ads plus generic easylist additions, daily updates, approx. 9.200 entries'
	option enabled '0'

config source 'reg_id'
	option adb_src 'https://easylist-downloads.adblockplus.org/abpindo+easylist.txt'
	option adb_src_rset 'BEGIN{FS=\"[|^]\"}/^\|\|([[:alnum:]_-]+\.)+[[:alpha:]]+\^("\\\$third-party")?$/{print tolower(\$3)}'
	option adb_src_desc 'focus on indonesian ads plus generic easylist additions, weekly updates, approx. 9.600 entries'
	option enabled '0'

config source 'reg_nl'
	option adb_src 'https://easylist-downloads.adblockplus.org/easylistdutch+easylist.txt'
	option adb_src_rset 'BEGIN{FS=\"[|^]\"}/^\|\|([[:alnum:]_-]+\.)+[[:alpha:]]+\^("\\\$third-party")?$/{print tolower(\$3)}'
	option adb_src_desc 'focus on dutch ads plus generic easylist additions, weekly updates, approx. 9.400 entries'
	option enabled '0'

config source 'reg_pl'
	option adb_src 'http://adblocklist.org/adblock-pxf-polish.txt'
	option adb_src_rset 'BEGIN{FS=\"[|^]\"}/^\|\|([[:alnum:]_-]+\.)+[[:alpha:]]+\^("\\\$third-party")?$/{print tolower(\$3)}'
	option adb_src_desc 'focus on polish ads, daily updates, approx. 90 entries'
	option enabled '0'

config source 'reg_ro'
	option adb_src 'https://easylist-downloads.adblockplus.org/rolist+easylist.txt'
	option adb_src_rset 'BEGIN{FS=\"[|^]\"}/^\|\|([[:alnum:]_-]+\.)+[[:alpha:]]+\^("\\\$third-party")?$/{print tolower(\$3)}'
	option adb_src_desc 'focus on romanian ads plus generic easylist additions, weekly updates, approx. 9.400 entries'
	option enabled '0'

config source 'reg_ru'
	option adb_src 'https://easylist-downloads.adblockplus.org/ruadlist+easylist.txt'
	option adb_src_rset 'BEGIN{FS=\"[|^]\"}/^\|\|([[:alnum:]_-]+\.)+[[:alpha:]]+\^("\\\$third-party")?$/{print tolower(\$3)}'
	option adb_src_desc 'focus on russian ads plus generic easylist additions, weekly updates, approx. 14.500 entries'
	option enabled '0'

config source 'shalla'
	option adb_src 'http://www.shallalist.de/Downloads/shallalist.tar.gz'
	option adb_src_rset '/^([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'huge blocklist archive subdivided in different categories, daily updates. Check http://www.shallalist.de/categories.html for more categories'
	list adb_src_cat 'adv'
	list adb_src_cat 'costtraps'
	list adb_src_cat 'spyware'
	list adb_src_cat 'tracker'
	list adb_src_cat 'warez'
	option enabled '1'

config source 'spam404'
	option adb_src 'https://raw.githubusercontent.com/Dawsey21/Lists/master/main-blacklist.txt'
	option adb_src_rset '/^([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)+/{print tolower(\$1)}'
	option adb_src_desc 'generic blocklist, infrequent updates, approx. 6.000 entries'
	option enabled '1'

config source 'sysctl'
	option adb_src 'http://sysctl.org/cameleon/hosts'
	option adb_src_rset '/^127\.0\.0\.1[[:space:]]+([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$2)}'
	option adb_src_desc 'broad blocklist, weekly updates, approx. 16.500 entries'
	option enabled '1'

config source 'ut_capitole'
	option adb_src 'https://dsi.ut-capitole.fr/blacklists/download/blacklists.tar.gz'
	option adb_src_rset '/^([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'huge blocklist archive subdivided in different categories, daily updates. Check https://dsi.ut-capitole.fr/blacklists/index_en.php for more categories'
	list adb_src_cat 'publicite'
	list adb_src_cat 'cryptojacking'
	list adb_src_cat 'ddos'
	list adb_src_cat 'malware'
	list adb_src_cat 'phishing'
	list adb_src_cat 'warez'
	option enabled '0'

config source 'whocares'
	option adb_src 'https://someonewhocares.org/hosts/hosts'
	option adb_src_rset '/^127\.0\.0\.1[[:space:]]+([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$2)}'
	option adb_src_desc 'broad blocklist, weekly updates, approx. 10.000 entries'
	option enabled '1'

config source 'winspy'
	option adb_src 'https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt'
	option adb_src_rset '/^0\.0\.0\.0[[:space:]]+([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$2)}'
	option adb_src_desc 'focus on windows spy & telemetry domains, infrequent updates, approx. 300 entries'
	option enabled '1'

config source 'winhelp'
	option adb_src 'http://winhelp2002.mvps.org/hosts.txt'
	option adb_src_rset '/^0\.0\.0\.0[[:space:]]+([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$2)}'
	option adb_src_desc 'broad blocklist, infrequent updates, approx. 13.000 entries'
	option enabled '1'

config source 'yoyo'
	option adb_src 'https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&mimetype=plaintext'
	option adb_src_rset '/^([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'focus on ad related domains, weekly updates, approx. 2.400 entries'
	option enabled '1'

config source 'easyList'
	option adb_src 'https://easylist.to/easylist/easylist.txt'
	option adb_src_rset '\$0~/^([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'EasyList is the primary filter list that removes most adverts from international webpages, daily updates, approx. 82.200 entries'
	option enabled '1'

config source 'easyPrivacy'
	option adb_src 'https://easylist.to/easylist/easyprivacy.txt'
	option adb_src_rset '\$0~/^([[:alnum:]_-]+\.){1,}[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
	option adb_src_desc 'EasyPrivacy is a supplementary filter list that completely removes all forms of tracking, daily updates, approx. 15.000 entries'
	option enabled '1'


The log is incomplete. Further more your manually added lists won't work, cause the used regex looks wrong. Why don't you start with the (few) blocklists configured by default? Most probably you run in some OOM condition, cause you've enabled nearly all big lists ...

Sun Feb  9 20:32:01 2020 user.info adblock-3.8.15[8137]: adblock instance started ::: action: reload, priority: 0, pid: 8137
Sun Feb  9 20:32:01 2020 user.debug adblock-3.8.15[8137]: f_jsnup  ::: status: running, cnt: 8892, mail: 0, mail_service: /etc/adblock/adblock.mail, mail_cnt: 0, mail_pid: -
Sun Feb  9 20:32:01 2020 user.debug adblock-3.8.15[8137]: f_uci    ::: config: dhcp, change:
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_uci    ::: config: firewall, change:
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_main   ::: dns: dnsmasq, fetch_util: /bin/uclient-fetch (libustream-ssl), force_dns: 1, mem_total: 123, mem_free: 71, max_queue: 4
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: -, mode: blacklist, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: -, mode: whitelist, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: adaway, enabled: 1
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: adguard, enabled: 1
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: bitcoin, enabled: 1
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: disconnect, enabled: 1
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: adaway, url: https://adaway.org/hosts.txt, rc: 4, log: Downloading 'https://adaway.org/hosts.txt' Failed to establish connection
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: adguard, url: https://filters.adtidy.org/windows/filters/15.txt, rc: 4, log: Downloading 'https://filters.adtidy.org/windows/filters/15.txt' Failed to establish connection
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: adguard, mode: restore, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: bitcoin, url: https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt, rc: 4, log: Downloading 'https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt' Failed to establish connection
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: bitcoin, mode: restore, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: disconnect, url: https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt, rc: 4, log: Downloading 'https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt' Failed to establish connection
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: disconnect, mode: restore, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: adaway, mode: restore, cnt: 12198, in_rc: 4, out_rc: 0
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: dshield, enabled: 1
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: hphosts, enabled: 1
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: malware, enabled: 1
Sun Feb  9 20:32:02 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: malwarelist, enabled: 1
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: dshield, url: https://www.dshield.org/feeds/suspiciousdomains_Low.txt, rc: 4, log: Downloading 'https://www.dshield.org/feeds/suspiciousdomains_Low.txt' Failed to establish connection
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: hphosts, url: https://hosts-file.net/ad_servers.txt, rc: 4, log: Downloading 'https://hosts-file.net/ad_servers.txt' Failed to establish connection
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: dshield, mode: restore, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: hphosts, mode: restore, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: malware, url: https://mirror.espoch.edu.ec/malwaredomains/justdomains, rc: 4, log: Downloading 'https://mirror.espoch.edu.ec/malwaredomains/justdomains' Failed to establish connection
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: malware, mode: restore, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: malwarelist, url: http://www.malwaredomainlist.com/hostslist/hosts.txt, rc: 4, log: Downloading 'http://www.malwaredomainlist.com/hostslist/hosts.txt' Failed to establish connection
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: malwarelist, mode: restore, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: notracking, enabled: 1
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: openphish, enabled: 0
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: openphish, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: reg_cn, enabled: 0
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: reg_cn, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: reg_de, enabled: 0
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: reg_de, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: reg_id, enabled: 0
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: reg_id, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: reg_nl, enabled: 0
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: reg_nl, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: notracking, url: https://raw.githubusercontent.com/notracking/hosts-blocklists/master/dnscrypt-proxy/dnscrypt-proxy.blacklist.txt, rc: 4, log: Downloading 'https://raw.githubusercontent.com/notracking/hosts-blocklists/master/dnscrypt-proxy/dnscrypt-proxy.blacklist.txt' Failed to establish connection
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: reg_pl, enabled: 0
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: notracking, mode: restore, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: reg_pl, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: reg_ro, enabled: 0
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: reg_ro, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: reg_ru, enabled: 0
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: reg_ru, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: shalla, enabled: 0
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: shalla, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: spam404, enabled: 0
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: spam404, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: sysctl, enabled: 0
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: sysctl, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: ut_capitole, enabled: 0
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: ut_capitole, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: whocares, enabled: 0
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: whocares, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: winspy, enabled: 0
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: winspy, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: winhelp, enabled: 0
Sun Feb  9 20:32:03 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: winhelp, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:04 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: yoyo, enabled: 0
Sun Feb  9 20:32:04 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: yoyo, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:04 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: easyList, enabled: 0
Sun Feb  9 20:32:04 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: easyList, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:04 2020 user.debug adblock-3.8.15[8137]: f_main   ::: name: easyPrivacy, enabled: 0
Sun Feb  9 20:32:04 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: easyPrivacy, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 20:32:04 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: -, mode: merge, cnt: 12198, in_rc: 4, out_rc: 0
Sun Feb  9 20:32:19 2020 user.debug adblock-3.8.15[8137]: f_tld    ::: source: /tmp/tmp.LfMCnF/adb_list.overall, max_tld: 100000, cnt: 12198, cnt_srt: 12197, cnt_tld: 8892, tld_ok: true
Sun Feb  9 20:32:20 2020 user.debug adblock-3.8.15[8137]: f_list   ::: name: -, mode: final, cnt: 8892, in_rc: 4, out_rc: 0

I think you are right, by enabling few lists it works. Is it a adblock problem or a memory problem of my device? What are the recommend lists?

P.S. I still have a problem. I restored the default setting and then I just switched on Force local DNS and Flush DNS cache and this is my log.

Sun Feb  9 22:07:49 2020 user.debug adblock-3.8.15[9240]: f_bgserv ::: status: stop, bg_pid: -, dns_filereset: false, ubus_service: /etc/adblock/adblock.service
Sun Feb  9 22:07:49 2020 user.debug adblock-3.8.15[9240]: f_report ::: action: reload, report: 0, search: +, count: 50, filter: false, print: false, reputil: , repdir: /tmp, repiface: br-lan, replisten: 53, repchunksize: 1, repchunkcnt: 5, bg_pid:
Sun Feb  9 22:07:49 2020 user.info adblock-3.8.15[9240]: adblock instance started ::: action: reload, priority: 0, pid: 9240
Sun Feb  9 22:07:49 2020 user.debug adblock-3.8.15[9240]: f_jsnup  ::: status: running, cnt: 0, mail: 0, mail_service: /etc/adblock/adblock.mail, mail_cnt: 0, mail_pid: -
Sun Feb  9 22:07:49 2020 user.debug adblock-3.8.15[9240]: f_jsnup  ::: status: running, cnt: 0, mail: 0, mail_service: /etc/adblock/adblock.mail, mail_cnt: 0, mail_pid: -
Sun Feb  9 22:07:51 2020 user.debug adblock-3.8.15[9240]: f_uci    ::: config: dhcp, change: dhcp.cfg01411c.serversfile='/tmp/adb_list.overall'
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_uci    ::: config: firewall, change: firewall.adblock_dns_53='redirect' firewall.adblock_dns_53.name='Adblock DNS, port 53' firewall.adblock_dns_53.src='lan' firewall.adblock_dns_53.proto='tcp udp' firewall.adblock_dns_53.src_dport='53' firewall.adblock_dns_53.dest_port='53' firewall.adblock_dns_53.target='DNAT' 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'
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_main   ::: dns: dnsmasq, fetch_util: /bin/uclient-fetch (libustream-ssl), force_dns: 1, mem_total: 123, mem_free: 73, max_queue: 4
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: -, mode: blacklist, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: -, mode: whitelist, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: adaway, enabled: 1
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: adguard, enabled: 0
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: adguard, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: bitcoin, enabled: 0
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: bitcoin, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: disconnect, enabled: 1
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: dshield, enabled: 0
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: dshield, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: hphosts, enabled: 0
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: hphosts, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: adaway, url: https://adaway.org/hosts.txt, rc: 4, log: Downloading 'https://adaway.org/hosts.txt' Failed to establish connection
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: malware, enabled: 0
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: adaway, mode: restore, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: malware, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: malwarelist, enabled: 0
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: malwarelist, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: notracking, enabled: 0
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: disconnect, url: https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt, rc: 4, log: Downloading 'https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt' Failed to establish connection
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: notracking, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: disconnect, mode: restore, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: openphish, enabled: 0
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: openphish, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: reg_cn, enabled: 0
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: reg_cn, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: reg_de, enabled: 0
Sun Feb  9 22:07:52 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: reg_de, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: reg_id, enabled: 0
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: reg_id, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: reg_nl, enabled: 0
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: reg_nl, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: reg_pl, enabled: 0
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: reg_pl, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: reg_ro, enabled: 0
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: reg_ro, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: reg_ru, enabled: 0
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: reg_ru, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: shalla, enabled: 0
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: shalla, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: spam404, enabled: 0
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: spam404, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: sysctl, enabled: 0
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: sysctl, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: ut_capitole, enabled: 0
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: ut_capitole, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: whocares, enabled: 0
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: whocares, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: winspy, enabled: 0
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: winspy, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: winhelp, enabled: 0
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: winhelp, mode: remove, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: yoyo, enabled: 1
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_main   ::: name: yoyo, url: https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&mimetype=plaintext, rc: 4, log: Downloading 'https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&mimetype=plaintext' Failed to establish connection
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: yoyo, mode: restore, cnt: 0, in_rc: 4, out_rc: 4
Sun Feb  9 22:07:53 2020 user.debug adblock-3.8.15[9240]: f_list   ::: name: -, mode: merge, cnt: 0, in_rc: 4, out_rc: 1
Sun Feb  9 22:08:04 2020 user.debug adblock-3.8.15[9240]: f_dnsup  ::: inotify: false, cache_util: -, cache_flush: 1, cache_rc: 0, dns_cnt: 0, in_rc: 0, out_rc: 0
Sun Feb  9 22:08:04 2020 user.debug adblock-3.8.15[9240]: f_jsnup  ::: status: enabled, cnt: 0, mail: 0, mail_service: /etc/adblock/adblock.mail, mail_cnt: 0, mail_pid: -
Sun Feb  9 22:08:04 2020 user.info adblock-3.8.15[9240]: blocklist with overall 0 domains loaded successfully (BT Home Hub 5A, OpenWrt 19.07.1 r10911-c155900f66)

Version openwrt / adblock are you running?

I am also running into problems after I switched from 18.06 to 19.07.1 and added a big bloglist...and it starts perhaps after a reload of adblock caused by a WAN IP change. Will try with an smaller list.

After some hours adblock starts to block internal hosts with an NXDOMAIN. Although I enabled verbose debug logging nothing special occurs. The only thing that gave me a question was this:

f_tld ::: source: /tmp/tmp.KaekCF/adb_list.overall, max_tld: 100000, cnt: 500873, cnt_srt: 455425, cnt_tld: -, tld_ok: true

f_list ::: name: -, mode: final, cnt: 455424, in_rc: 4, out_rc: 0

Thu Feb 13 06:56:31 2020 user.info adblock-3.8.14[999]: blocklist with overall 455424 domains loaded successfully and reset afterwards (Netgear Nighthawk X4S R7800, OpenWrt 19.07.1 r10911-c155900f66)

I use unbound as DNS....if I restart unbound it works again for some time....trying dnsmasq would be interesting

Addendum: Decrease number of block lists didn't help

Another hot candidate was my sloppily conversion of a large updated personal adblock.blacklist from a windows system with CR+LF and some #comments ...but that wasn't the reason although it massivly manipulated the number of blocked domains but after correction blocking still happening :- (

First of all many thanks to @dibdot for all his hardwork on this great project.

Recently, I've begun testing various things on x64 and have openwrt running on a VM with hardware passthrough of a dual port ethernet nic (eth0 for lan and eth1 for wan).

On this platform there is no switch or wifi interfaces which means there is also no need for a bridge and if you need vlans the procedure is just to declare them.

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd6e:428e:fa02::/48'

config interface 'lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '64'
        option ifname 'eth0.1'

config interface 'wan'
        option ifname 'eth1'
        option proto 'pppoe'
        option username 'aaa@bbbb.com'
        option password 'aaaaaaaaaaaaa'
        option keepalive '30'
        option peerdns '0'
        option dns '1.1.1.1 1.0.0.1 2606:4700:4700::1111 2606:4700:4700::1001'

config interface 'guest'
        option ifname 'eth0.3'
        option proto 'static'
        option ipaddr '192.168.3.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'iot'
        option ifname 'eth0.9'
        option proto 'static'
        option ipaddr '192.168.9.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'pbx'
        option ifname 'eth0.10'
        option proto 'static'
        option ipaddr '192.168.10.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

Although adblock is working normally with huge lists (since there is no hard limit on ram)

### Runtime Information

Adblock Status

enabled

Adblock Version

3.8.15

Download Utility (SSL Library)

/bin/uclient-fetch (libustream-ssl)

DNS Backend, DNS Directory

dnsmasq, /tmp

DNS Variant, DNS File Reset

nxdomain, false

Backup Directory

/root/adb

Overall Domains

1.272.816

Last Run

14.02.2020 06:43:05

what does not work is the dns statistics.
Reading a bit on this thread, I saw that you posted this command

/usr/sbin/tcpdump -nn -s0 -l -i br-lan port 53 -C1 -W5 -w /tmp/adb_report.pcap

So I changed it to:

/usr/sbin/tcpdump -nn -s0 -l -i eth0.1 port 53 -C1 -W5 -w /tmp/adb_report.pcap

and it started working.
I added option type 'bridge' to interface lan and had no issues since.

config interface 'lan'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '64'
        option ifname 'eth0.1'

Maybe it could be an option in the config file on which interface tcpdump-mini listens to ?

I can't see any problem in your logfile excerpt. What does a "decreased number of block lists" means in detail? It would be worth a try to switch off the "DNS FileReset" mode and see if it helps ...

The option already exists: 'adb_repiface', see online readme for details.

1 Like

Your hardware configuration allows you to set max_tld 500K and even more. Reducing the number of nx records makes forwarder's life much easier.

Is it possible to enable/disable local clients/subnets/ifaces for adblock usage? Like 192.168.1.2 is served by adblock and 192.168.1.3 is not?

The intention is for shared networks where some people do not want to be involved in any external filtering.