EDIT - The issue was caused by a incorrect DNSSEC setup:
# /etc/config/dhcp
..
option dnssec '0'
option dnsseccheckunsigned '0'
...
# logread -e adblock
Mon Nov 14 11:41:11 2022 user.info adblock-4.1.5[29887]: adblock instance started ::: action: restart, priority: 0, pid: 29887
Mon Nov 14 11:41:34 2022 user.info adblock-4.1.5[29887]: blocklist with overall 54748 blocked domains loaded successfully (TP-Link Archer C2600, OpenWrt 22.03.2 r19803-9a599fee93)
I apologize but I have hit a dead end. I launched the tcpdump utility on the WAN interface (eth0.2) with ipv6 protocol and still I can't figure out why I cannot download 'adaway' and 'adguard' sources:
root@C2600:/tmp# tcpdump -i eth0.2 -n -vv ip6
tcpdump: listening on eth0.2, link-type EN10MB (Ethernet), capture size 262144 bytes
23:13:49.222284 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) fe80::1 > ff02::1: [icmp6 sum ok] ICMP6, router advertisement, length 32
hop limit 64, Flags [other stateful], pref medium, router lifetime 1800s, reachable time 0ms, retrans timer 0ms
mtu option (5), length 8 (1): 1472
0x0000: 0000 0000 05c0
source link-address option (1), length 8 (1): f8:75:88:2a:3b:b5
0x0000: f875 882a 3bb5
Sun Nov 13 23:14:19 2022 user.info adblock-4.1.5[10963]: download of 'adaway' failed, url: https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt, rule: /^127\.0\.0\.1[[:space:]]+([[:alnum:]_-]{1,63}\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($2)}, categories: -, rc: 4, log: Downloading 'https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt' Failed to send request: Operation not permitted
Sun Nov 13 23:14:19 2022 user.info adblock-4.1.5[10963]: download of 'adguard' failed, url: https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt, rule: BEGIN{FS="[/|^|\r]"}/^\|\|([[:alnum:]_-]{1,63}\.)+[[:alpha:]]+[\/\^\r]+$/{print tolower($3)}, categories: -, rc: 4, log: Downloading 'https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt' Failed to send request: Operation not permitted
# /etc/config/network
...
# config globals 'globals'
# option ula_prefix 'fd6c:3ceb:7ed3::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth1.1'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.51.1'
option netmask '255.255.255.0'
# option ip6assign '60'
option ip6assign '0'
option ipv6 '0'
config interface 'wan'
option device 'eth0.2'
option proto 'dhcp'
option ipv6 '0'
option peerdns '0'
list dns '195.122.12.241'
list dns '80.232.230.241'
config interface 'wan6'
option device 'eth0.2'
option proto 'dhcpv6'
option disabled '1'
...
# /etc/config/dhcp
...
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '100'
option leasetime '24h'
option dhcpv4 'server'
option dhcpv6 'disabled'
option ra 'disabled'
list ra_flags 'none'
option ra_slaac '0'
option ra_dns '0'
...
service | grep -i odhcpd
/etc/init.d/odhcpd disabled stopped
# logread | grep -i ipv6
Sun Nov 13 23:14:26 2022 daemon.info dnsmasq-dhcp[1]: IPv6 router advertisement enabled
EDIT - 14.11.2022
After changing the adb_fetchutil to 'wget' I got the following message:
Mon Nov 14 10:36:05 2022 user.info adblock-4.1.5[22420]: download of 'adaway' failed, url: https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt, rule: /^127\.0\.0\.1[[:space:]]+([[:alnum:]_-]{1,63}\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($2)}, c
ategories: -, rc: 4, log: --2022-11-14 10:36:05-- https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt Resolving raw.githubusercontent.com... failed: Name does not resolve. wget: unable to resolve host address 'raw.githubusercontent.com'
Mon Nov 14 10:36:05 2022 user.info adblock-4.1.5[22420]: download of 'adguard' failed, url: https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt, rule: BEGIN{FS="[/|^|\r]"}/^\|\|([[:alnum:]_-]{1,63}\.)+[[:alpha:]]+[\/\^\r]+$/{print tolower($3)}, categories: -
, rc: 4, log: --2022-11-14 10:36:05-- https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt Resolving adguardteam.github.io... failed: Name does not resolve. wget: unable to resolve host address 'adguardteam.github.io'
So this is a DNS issue but what is causing this ? As you can see in the first query there is no result, in the second it finds it.
root@C2600:/# nslookup raw.githubusercontent.com
Server: 127.0.0.1
Address: 127.0.0.1:53
Non-authoritative answer:
Non-authoritative answer:
root@C2600:/# nslookup raw.githubusercontent.com
Server: 127.0.0.1
Address: 127.0.0.1:53
Non-authoritative answer:
Name: raw.githubusercontent.com
Address: 185.199.110.133
Name: raw.githubusercontent.com
Address: 185.199.109.133
Name: raw.githubusercontent.com
Address: 185.199.108.133
Name: raw.githubusercontent.com
Address: 185.199.111.133
Non-authoritative answer:
Name: raw.githubusercontent.com
Address: 2606:50c0:8003::154
Name: raw.githubusercontent.com
Address: 2606:50c0:8000::154
Name: raw.githubusercontent.com
Address: 2606:50c0:8002::154
Name: raw.githubusercontent.com
Address: 2606:50c0:8001::154
root@C2600:/# nslookup adguardteam.github.io
Server: 127.0.0.1
Address: 127.0.0.1:53
Non-authoritative answer:
Non-authoritative answer:
root@C2600:/# nslookup adguardteam.github.io
Server: 127.0.0.1
Address: 127.0.0.1:53
Non-authoritative answer:
Name: adguardteam.github.io
Address: 185.199.110.153
Name: adguardteam.github.io
Address: 185.199.109.153
Name: adguardteam.github.io
Address: 185.199.108.153
Name: adguardteam.github.io
Address: 185.199.111.153
Non-authoritative answer:
Name: adguardteam.github.io
Address: 2606:50c0:8001::153
Name: adguardteam.github.io
Address: 2606:50c0:8003::153
Name: adguardteam.github.io
Address: 2606:50c0:8000::153
Name: adguardteam.github.io
Address: 2606:50c0:8002::153