Adblock support thread


#731

I found a problem here, I have a phone ZTE Axon (https://www.bestadvisor.com/android-phones), I downloaded the application to control the tuner Youtube for TV and the Adblock blocks control, is it possible at all? what to do?


#732

Hard to say without further information. Please enable adblock debug, switch to the CLI, start /etc/init.d/adblock restart and provide the logread output (logread -e "adblock").


#733

Can you post your Viber queries? Hitting same issue here


#734

Hey, as of my understanding my queries wont work for you if you are in different region.

Just do what I did and you will be fine.

First upgrade to the latest adblock snapshot.
then go to Services > adblock > advanced > query domains and hit query (click it with the mouse don't hit enter ) for www.viber.com
whatever it founds add it to your whitelist.
then do the following, try to send a pic, then a gif and then a video to someone through viber.
after the unsuccessful sending, go to
services > adblock > DNS query report hit the refresh report and then go down to the page and filter based on your mobiles name.
add also to your whitelist everything viber related and everything that is similar to the following based on the time you did the sending... media-share-5.s3.eu-central-1.amazonaws.com.

Hope this helps!


#735

Hello there

so first of all thank you very much for this awesome package! It's running without any issues.

I just wanted to propose an additional source list for the blocked hosts. It's a big compilation, thus it could cause some trouble on slower / older routers.

Before using adblock on my router I had this list installed locally on /etc/hosts and found it quite useful.

config source 'steven_black'
	option adb_src 'https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts'
	option adb_src_rset '/^0\.0\.0\.0[[:space:]]+([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$2)}'
	option adb_src_desc 'Steven Black List, approx. 40.000 entries'
	option enabled '0'

Just thought that not everyone wants to edit config files, and maybe for a "GUI user" it would be nice to have the possibility to choose from a variety of options.

What do you think?

Sincerely

Patric


#736

Actually you can have the same result as the steven_black list by choosing the individual sources in adblock config that are already included.
So there is no need to include steven black list?

I noticed something else when playing around with dns.
Seems like windows (and linux?) will append the dns suffix (given by dhcp or manually configured) to a nx domain.
For example:
baddomain.com becomes baddomain.com.lan (.lan default openwrt domain)
So it will consume twice the dns cache (one for baddomain.com and for baddomain.com.lan)

nslookup -debug js.cdn.ac
------------
Got answer:
    HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  response, want recursion, recursion avail.
        questions = 1,  answers = 1,  authority records = 0,  additional = 0

    QUESTIONS:
        4.5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.7.0.0.0.3.0.0.0.3.1.d.f.ip6.arpa, type = PTR, class = IN
    ANSWERS:
    ->  4.5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.7.0.0.0.3.0.0.0.3.1.d.f.ip6.arpa
        name = OpenWrt.lan
        ttl = 3600 (1 hour)

------------
Server:  OpenWrt.lan
Address:  fd13:3:7:10::254

------------
Got answer:
    HEADER:
        opcode = QUERY, id = 2, rcode = NXDOMAIN
        header flags:  response, want recursion, recursion avail.
        questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
        js.cdn.ac.lan, type = A, class = IN

------------
------------
Got answer:
    HEADER:
        opcode = QUERY, id = 3, rcode = NXDOMAIN
        header flags:  response, want recursion, recursion avail.
        questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
        js.cdn.ac.lan, type = AAAA, class = IN

------------
------------
Got answer:
    HEADER:
        opcode = QUERY, id = 4, rcode = NXDOMAIN
        header flags:  response, auth. answer, want recursion, recursion avail.
        questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
        js.cdn.ac, type = A, class = IN

------------
------------
Got answer:
    HEADER:
        opcode = QUERY, id = 5, rcode = NXDOMAIN
        header flags:  response, auth. answer, want recursion, recursion avail.
        questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
        js.cdn.ac, type = AAAA, class = IN

Some details about my config:

  • unbound main dns
  • adblock configured to use unbound
  • unbound: local zone .lan configured
  • unbound forward-zone .lan to dnsmasq and forward-no-cache: yes is set
  • dnsmasq uses TTL of 0 for local domains (default)
  • unbound cache-min-ttl: 3600
  • unbound cache-max-negative-ttl: 86400

As you can see in the nslookup,
the ttl of the local domain got overrwriten by unbound-min-cache to 1h.

Even when i have forward-cache: yes in my config.

You can also see windows appened the .lan domain suffix
(appends even more if you configure more suffixes)
But what is the ttl of the nx entries?

is there no cache-min-negative-ttl in unbound?

In summary:
Howto:

  • Disable all chaching for local domains e.g. .lan (success,nx)
  • But still have 1h min cache for public domains.
  • Cache adblock hosts for atleast 1day (or even better cache time = adblock lists update time)

And can you make adblock dump the unbound cache via unbound-control dump_cache and load it again after updating via unbound load_cache please?
//edit
nvm. seems like this is already implemented.

Thanks.


#737

Hello, just a little question about Adblock in interaction with Stubby.

When I reboot / boot my OpenWRT device, it needs a few minutes to gain internet access. Because of that, I use rc.local to restart DNSmasq and Stubby, which works fine.

Adblock starts earlier when WAN is up and is not able to resolve DNS at that moment, because of that it's stuck at "Overall domains: 0". I have to manually click at "refresh" when Stubby works, then it's correctly refreshing my adblock list.

I tried following method to initiate an automatic refresh after boot via rc.local:

for i in {1..60}; do ping -c1 -W1 99.192.182.100 &> /dev/null && break; done
/etc/init.d/dnsmasq restart
/etc/init.d/stubby restart
sleep 20
/etc/init.d/adblock reload (Also tried restart)
exit 0

Sadly, this doesn't work. When I manually enter "/etc/init.d/adblock reload", it works fine.

Could someone help me to achieve an automatic refresh of my adlbock lists when Stubby is up and running?

Best regards

Edit: I was also troubleshooting my rc.local file. When I run it manually, it's running every command and the refresh is also working. Just not automatically after booting my device.


#738

Quick question from an OpenWRT/adblock noob; I have it all set up and working well but the Mrs doesn't like ads blocked on her phone, so is there a way to bypass adblocking for a single device on the network? Thanks!


#739

Your for loop does not work in the limited busybox/posix shell. Take the following one as a working example ...

# wait for external network interface & dns
#
UPLINK="google.com"
MAXWAIT="60"
COUNT=0
while [ $COUNT -lt $MAXWAIT ]
do
    /bin/ping -c1 ${UPLINK} > /dev/null 2>&1
    if [ $? -ne 0 ]
    then
        sleep 1
        COUNT=$((COUNT + 1))
    else
        break
    fi
done

See above, your for loop waits for nothing. However, to defer the adblock launch, remove the rc.local stuff and raise the 'adb_triggerdelay' option e.g. to '30' (default is 2). In LuCI you will find the setting under 'Additional Field':


#740

Disable 'Force DNS' in adblock (it's disabled by default) and configure an external DNS on her phone, e.g. 8.8.8.8


#741

Awesome, thank you!


#742

OK, got back to this, had to remove 3.5.5-2 and reinstall 3.6.5... odd thing was I had the log stating I had 3.5.5-2, while the Software Luci page was saying current AND what I had installed was 3.5.5-3.

Here's the log from the restart from the 3.6.5 version:

Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_report ::: action: restart, 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 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_hash   ::: hash_util: /usr/bin/sha256sum, hash: 76ecd47f7c4bddbc60002a566b6b11105ba85c77f06d37f4f5c5d3c481445faa, out_rc: 1
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_hash   ::: hash_util: /usr/bin/sha256sum, hash: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b, out_rc: 1
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_dnsup  ::: cache_util: -, cache_rc: 0, cache_flush: 0, cache_cnt: 0, rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_rmdns  ::: dns: dnsmasq, dns_dir: /tmp, dns_prefix: adb_list, dns_file: adb_list.overall, rt_file: /tmp/adb_runtime.json, backup_dir: /mnt
Sun Feb 10 22:18:17 2019 user.info adblock-3.6.5[10870]: adblock instance started ::: action: restart, priority: 0, pid: 10870
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_jsnup  ::: status: running, mode: normal mode, cnt: , notify: 0, notify_cnt: 0, notify_pid: -
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_uci    ::: config: dhcp, change:
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_uci    ::: config: firewall, change:
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: dns: dnsmasq, fetch_util: /bin/uclient-fetch (libustream-ssl), backup: 0, backup_mode: 0, dns_jail: 0, force_dns: 0, mem_total: 3887, mem_free: 3822, max_queue: 8
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: adaway, enabled: 1
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: adguard, enabled: 1
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: bitcoin, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: bitcoin, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: blacklist, enabled: 1
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: disconnect, enabled: 1
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: dshield, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: dshield, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: hphosts, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: hphosts, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: malware, enabled: 1
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: malwarelist, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: malwarelist, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: openphish, enabled: 1
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: ransomware, enabled: 1
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: reg_cn, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: reg_cn, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: reg_cz, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: reg_cz, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: reg_de, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: reg_de, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: reg_id, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: reg_id, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: reg_nl, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: reg_nl, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: reg_pl, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: reg_pl, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: reg_ro, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: reg_ro, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: adaway, mode: download, cnt: 409, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: reg_ru, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: reg_ru, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: shalla, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: shalla, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: spam404, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: spam404, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: sysctl, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: sysctl, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: urlhaus, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: urlhaus, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: ut_capitole, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: ut_capitole, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: whocares, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: whocares, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: winspy, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: winspy, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: ransomware, mode: download, cnt: 1903, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: winhelp, enabled: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: winhelp, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: youtube, enabled: 1
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: yoyo, enabled: 1
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: adguard, mode: download, cnt: 26054, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: disconnect, mode: download, cnt: 2812, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:17 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: youtube, mode: download, cnt: 191, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:18 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: yoyo, mode: download, cnt: 2967, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:18 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: openphish, mode: download, cnt: 1411, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:41 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: malware, mode: download, cnt: 26874, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:41 2019 user.debug adblock-3.6.5[10870]: f_main   ::: name: zeus, enabled: 0
Sun Feb 10 22:18:41 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: zeus, mode: remove, cnt: 0, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:41 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: overall, mode: merge, cnt: 62621, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:41 2019 user.debug adblock-3.6.5[10870]: f_hash   ::: hash_util: /usr/bin/sha256sum, hash: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b, out_rc: 1
Sun Feb 10 22:18:44 2019 user.debug adblock-3.6.5[10870]: f_tld    ::: source: /tmp/tmp.BdMPoO/adb_list.overall, cnt: 62621, cnt_srt: 58454, cnt_tld: 56944, tld_ok: true
Sun Feb 10 22:18:45 2019 user.debug adblock-3.6.5[10870]: f_list   ::: name: overall, mode: final, cnt: 56944, in_rc: 0, out_rc: 0
Sun Feb 10 22:18:45 2019 user.debug adblock-3.6.5[10870]: f_hash   ::: hash_util: /usr/bin/sha256sum, hash: 5a46113627e4486adfaa1b3871ef1050be2933d0a8ecac494b2d431dd030f9b4, out_rc: 1
Sun Feb 10 22:18:45 2019 user.debug adblock-3.6.5[10870]: f_dnsup  ::: cache_util: -, cache_rc: 0, cache_flush: 0, cache_cnt: 0, rc: 0
Sun Feb 10 22:18:45 2019 user.debug adblock-3.6.5[10870]: f_jsnup  ::: status: enabled, mode: normal mode, cnt: 56944, notify: 0, notify_cnt: 0, notify_pid: -
Sun Feb 10 22:18:45 2019 user.info adblock-3.6.5[10870]: blocklist with overall 56944 domains loaded successfully (NA ZBOX-CI327NANO-GS-01, OpenWrt 18.06.2 r7676-cddd7b4c77)

Still am seeing nothing in the Luci Runtime Information section. I did load the corresponding Luci-app_adblock in the link for the later version. I also recorded a restart with the 3.5.5 version, let me know if it would help to post that log.

Edit: Guess I should ask how to get it to format better...


#743

Looks quite OK. Please provide the output of /etc/init.d/adblock status. If you don't receive any output, please remove your adblock runtime file (rm /tmp/adb_runtime.json) and restart adblock afterwards. From now on you should see runtime information.

Yes, please use the online editor button for 'Preformatted text'


#744

@JonP That's this one:
grafik


#745

Guess all this code isn't what you're looking for, and the very end with "no such file" is the lack of output? Or, it's because I'm trying this while falling asleep...

Did the rm file command and restarted, still nothing in the Runtime Information fields, though...

root@OpenWrt:~# cat /etc/init.d/adblock status
#!/bin/sh /etc/rc.common
#

START=30
USE_PROCD=1

EXTRA_COMMANDS="suspend resume query report status"
EXTRA_HELP="    suspend Suspend adblock processing
        resume  Resume adblock processing
        query   <DOMAIN> Query active blocklists for specific domains
        report  <SEARCH> Print dns query statistics with an optional search parameter
        status  Print runtime information"

adb_init="/etc/init.d/adblock"
adb_script="/usr/bin/adblock.sh"
adb_pidfile="/var/run/adblock.pid"

boot()
{
        adb_boot=1
        rc_procd start_service
}

start_service()
{
        if [ $("${adb_init}" enabled; printf "%u" ${?}) -eq 0 ]
        then
                if [ -n "${adb_boot}" ]
                then
                        local trigger="$(uci_get adblock global adb_trigger)"
                        if [ "${trigger}" != "timed" ]
                        then
                                return 0
                        fi
                fi
                local nice="$(uci_get adblock extra adb_nice)"
                procd_open_instance "adblock"
                procd_set_param command "${adb_script}" "${@}"
                procd_set_param pidfile "${adb_pidfile}"
                procd_set_param nice ${nice:-0}
                procd_set_param stdout 1
                procd_set_param stderr 1
                procd_close_instance
        fi
}

reload_service()
{
        rc_procd start_service reload
}

stop_service()
{
        rc_procd "${adb_script}" stop
        rc_procd start_service
}

restart()
{
        rc_procd start_service restart
}

suspend()
{
        [ -s "${adb_pidfile}" ] && return 1
        rc_procd "${adb_script}" suspend
}

resume()
{
        [ -s "${adb_pidfile}" ] && return 1
        rc_procd "${adb_script}" resume
}

query()
{
        [ -s "${adb_pidfile}" ] && return 1
        rc_procd "${adb_script}" query "${1}"
}

report()
{
        [ -s "${adb_pidfile}" ] && return 1
        rc_procd "${adb_script}" report "${1:-"+"}" "${2:-"50"}" "${3:-"false"}" "${4:-"true"}"
}

status()
{
        local key keylist value rtfile="$(uci_get adblock extra adb_rtfile)"

        rtfile="${rtfile:-"/tmp/adb_runtime.json"}"
        if [ -s "${rtfile}" ]
        then
                printf "%s\n" "::: adblock runtime information"
                json_load_file "${rtfile}"
                json_select data
                json_get_keys keylist
                for key in ${keylist}
                do
                        json_get_var value "${key}"
                        printf "  + %-15s : %s\n" "${key}" "${value}"
                done
        else
                printf "%s\n" "::: no adblock runtime information available"
        fi
}

service_triggers()
{
        local trigger="$(uci_get adblock global adb_trigger)"
        local delay="$(uci_get adblock extra adb_triggerdelay)"

        if [ "${trigger}" != "none" ] && [ "${trigger}" != "timed" ]
        then
                PROCD_RELOAD_DELAY=$((${delay:-2} * 1000))
                procd_add_interface_trigger "interface.*.up" "${trigger}" "${adb_init}" start
        fi
        procd_add_reload_trigger "adblock"
}
cat: can't open 'status': No such file or directory


#746

Sorry, simply start the command I've provided above - I need the output of that command and not the source itself ... while at it please also post the content of the runtime file, type cat /tmp/adb_runtime.json

Thanks & good night! :wink:


#747

Hello. All possible filters are enabled in adblock. But does not allow to download from github. The github itself works. When downloading, writes "Could not find the IP address of the server github-production-release-asset-2e65be.s3.amazonaws.com" for an example from this site https://rufus.ie/ where the download button. If you turn off adblock, it downloads. How to add to the white list?


#748

Please disable the 'urlhaus' source and restart adblock processing.


#750

Same problem. I think you have to turn off each and try.
UPD: turn off adguard and all work.


#751

Please update your adblock config, this issue is caused by a faulty adguard regex which has already been fixed two month ago.