Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fw4 重定向53 不工作 #145

Open
2 tasks
liyiranlab opened this issue Jan 2, 2024 · 49 comments
Open
2 tasks

fw4 重定向53 不工作 #145

liyiranlab opened this issue Jan 2, 2024 · 49 comments

Comments

@liyiranlab
Copy link

提交之前

在你提交问题之前请回答以下问题
你可以删掉提交之前这个部分

  • 我用着最新版的 luci-app-adguardhome
  • 我检查了没有人提交同样的问题

问题详细信息

  • AdGuard Home luci的版本:
  • AdGuard Home server的版本:
  • 操作系统和版本:

希望的执行结果

实际的执行结果

日志(重要)

截图

截图:

更多的信息

@xmapst
Copy link

xmapst commented Apr 12, 2024

添加 转发到adguardhome 1053端口
nft add table inet adguardhome
nft add chain inet adguardhome prerouting "{ type nat hook prerouting priority -110; policy accept; }"
nft add rule inet adguardhome prerouting "meta nfproto { ipv4, ipv6 } udp dport 53 counter redirect to :1053 comment \"ADGUARDHOME HIJACK\""

# 清理
! nft --check list table inet adguardhome > "/dev/null" 2>&1 || nft delete table inet adguardhome

@iseku
Copy link

iseku commented Apr 16, 2024

可能是没有安装iptables-nft和iptables-mod-nat-extra,安装上就兼容fw4了

@ghost
Copy link

ghost commented May 1, 2024

有没有办法关闭默认的ipt防火墙,只使用nft防火墙,每次一启动这个插件,防火墙一直在报使用旧版协议。

@xmapst
Copy link

xmapst commented May 5, 2024

有没有办法关闭默认的ipt防火墙,只使用nft防火墙,每次一启动这个插件,防火墙一直在报使用旧版协议。

将iptables规则用nft重写即可

@S0MEW0LF
Copy link

添加 转发到adguardhome 1053端口
nft add table inet adguardhome
nft add chain inet adguardhome prerouting "{ type nat hook prerouting priority -110; policy accept; }"
nft add rule inet adguardhome prerouting "meta nfproto { ipv4, ipv6 } udp dport 53 counter redirect to :1053 comment \"ADGUARDHOME HIJACK\""

# 清理
! nft --check list table inet adguardhome > "/dev/null" 2>&1 || nft delete table inet adguardhome

ssh上输入那三行命令后有效,但是路由器重启后就失效了。怎么可以让它一直生效呢?

@gdanmac
Copy link

gdanmac commented Aug 31, 2024

添加 转发到adguardhome 1053端口
nft add table inet adguardhome
nft add chain inet adguardhome prerouting "{ type nat hook prerouting priority -110; policy accept; }"
nft add rule inet adguardhome prerouting "meta nfproto { ipv4, ipv6 } udp dport 53 counter redirect to :1053 comment \"ADGUARDHOME HIJACK\""

# 清理
! nft --check list table inet adguardhome > "/dev/null" 2>&1 || nft delete table inet adguardhome

ssh上输入那三行命令后有效,但是路由器重启后就失效了。怎么可以让它一直生效呢?

openwrt firewall4(FW4)自定义防火墙规则的方法

@GoogleBeEvil
Copy link

GoogleBeEvil commented Sep 1, 2024

@lllrrr2 有人改写了 但是我编译出来仍然是失效的
kongfl888/luci-app-adguardhome@master...starllll:luci-app-adguardhome:master

还有人改写了uci' firewall,似乎重定向53到adg生效了 然后作为dnsmasq上级就失效了
https://github.com/stevenjoezhang/luci-app-adguardhome

@link-fgfgui
Copy link

添加 转发到adguardhome 1053端口
nft add table inet adguardhome
nft add chain inet adguardhome prerouting "{ type nat hook prerouting priority -110; policy accept; }"
nft add rule inet adguardhome prerouting "meta nfproto { ipv4, ipv6 } udp dport 53 counter redirect to :1053 comment \"ADGUARDHOME HIJACK\""

# 清理
! nft --check list table inet adguardhome > "/dev/null" 2>&1 || nft delete table inet adguardhome

ssh上输入那三行命令后有效,但是路由器重启后就失效了。怎么可以让它一直生效呢?

可以在openwrt启动项>本地启动脚本里加入这三句话

@9dark9
Copy link

9dark9 commented Dec 3, 2024

@GoogleBeEvil
Copy link

https://github.com/MIAOBUSI/luci-app-adguardhome,我自己弄了个修复版本,可以试试,我自己用着没问题了

有没有编译好的,给个试试?

https://github.com/MIAOBUSI/luci-app-adguardhome/releases/tag/V1.9-1,已经上传

测试 转发53端口到adguard 模式是无效的。此模式下 无法过滤广告,面板里查询日志为0

@MIAOBUSI
Copy link

MIAOBUSI commented Dec 6, 2024

https://github.com/MIAOBUSI/luci-app-adguardhome,我自己弄了个修复版本,可以试试,我自己用着没问题了

有没有编译好的,给个试试?

https://github.com/MIAOBUSI/luci-app-adguardhome/releases/tag/V1.9-1,已经上传

测试 转发53端口到adguard 模式是无效的。此模式下 无法过滤广告,面板里查询日志为0

a724359f-d81e-4126-9245-8ff086330283
很奇怪。。我也是同一个版本,这边测试是可以的,你好固件确定是纯fw4么,没有混合fw3在里面吧

@GoogleBeEvil
Copy link

GoogleBeEvil commented Dec 7, 2024

https://github.com/MIAOBUSI/luci-app-adguardhome,我自己弄了个修复版本,可以试试,我自己用着没问题了

有没有编译好的,给个试试?

https://github.com/MIAOBUSI/luci-app-adguardhome/releases/tag/V1.9-1,已经上传

测试 转发53端口到adguard 模式是无效的。此模式下 无法过滤广告,面板里查询日志为0

a724359f-d81e-4126-9245-8ff086330283 很奇怪。。我也是同一个版本,这边测试是可以的,你好固件确定是纯fw4么,没有混合fw3在里面吧

============================================================================
应该是纯fw4的。特地重置了一边。在系统防火墙里看状态 没提示有iptables规则(如果有的话会提示)。固件是25.0.4 ,已安装包里也只有firewall4。一旦改成adguard当上游,立刻就有过滤了,但是此模式下因为无法看客户端ip,所以不是我喜欢的模式
捕获3
捕获2
捕获

@MIAOBUSI
Copy link

MIAOBUSI commented Dec 7, 2024

https://github.com/MIAOBUSI/luci-app-adguardhome,我自己弄了个修复版本,可以试试,我自己用着没问题了

有没有编译好的,给个试试?

https://github.com/MIAOBUSI/luci-app-adguardhome/releases/tag/V1.9-1,已经上传

测试 转发53端口到adguard 模式是无效的。此模式下 无法过滤广告,面板里查询日志为0

a724359f-d81e-4126-9245-8ff086330283 很奇怪。。我也是同一个版本,这边测试是可以的,你好固件确定是纯fw4么,没有混合fw3在里面吧

============================================================================ 应该是纯fw4的。特地重置了一边。在系统防火墙里看状态 没提示有iptables规则(如果有的话会提示)。固件是25.0.4 ,已安装包里也只有firewall4。一旦改成adguard当上游,立刻就有过滤了,但是此模式下因为无法看客户端ip,所以不是我喜欢的模式 捕获3 捕获2 捕获

我这边测试了几次都没法重现。。点击强制更新核心,看看会不会出现什么报错

@MIAOBUSI
Copy link

MIAOBUSI commented Dec 7, 2024

https://github.com/MIAOBUSI/luci-app-adguardhome,我自己弄了个修复版本,可以试试,我自己用着没问题了

有没有编译好的,给个试试?

https://github.com/MIAOBUSI/luci-app-adguardhome/releases/tag/V1.9-1,已经上传

测试 转发53端口到adguard 模式是无效的。此模式下 无法过滤广告,面板里查询日志为0

a724359f-d81e-4126-9245-8ff086330283 很奇怪。。我也是同一个版本,这边测试是可以的,你好固件确定是纯fw4么,没有混合fw3在里面吧

============================================================================ 应该是纯fw4的。特地重置了一边。在系统防火墙里看状态 没提示有iptables规则(如果有的话会提示)。固件是25.0.4 ,已安装包里也只有firewall4。一旦改成adguard当上游,立刻就有过滤了,但是此模式下因为无法看客户端ip,所以不是我喜欢的模式 捕获3 捕获2 捕获

我这边测试了几次都没法重现。。点击强制更新核心,看看会不会出现什么报错

image
我看你的截图这最上面有个黄色提示,这个正常来说就是提示存在fw3和fw4混合规则

@GoogleBeEvil
Copy link

GoogleBeEvil commented Dec 8, 2024

image 我看你的截图这最上面有个黄色提示,这个正常来说就是提示存在fw3和fw4混合规则

那个是root登录警告
2024-12-08_110703

强制更新日志似乎没啥问题

- 96 9749k   96 9390k    0     0  86686      0  0:01:55  0:01:50  0:00:05  125k
-  97 9749k   97 9521k    0     0  87099      0  0:01:54  0:01:51  0:00:03  124k
-  99 9749k   99 9694k    0     0  87899      0  0:01:53  0:01:52  0:00:01  130k
- 100 9749k  100 9749k    0     0  87971      0  0:01:53  0:01:53 --:--:--  128k
- download success start copy
- start copy
- AdGuardHome service disabled
- Command failed: ubus call service delete { "name": "AdGuardHome", "instance": "nobackup" } (Not found)
- workdir is a f2fs filesystem
- AdGuardHome service enabled
- luci enable switch=1
- Succeeded in updating core.
- Local version: v0.107.54, cloud version: v0.107.54.
- 2024/12/08 11:20:49.302394 6014#701 [debug] auth: removed session from DB 
- 2024/12/08 11:20:49.302587 6014#701 [debug] auth: raddr 192.168.111.102:50162: invalid cookie value: "agh_session=2137299036b530e04726a6e2db5abc62"
- 2024/12/08 11:20:49.302707 6014#701 [debug] auth: raddr 192.168.111.102:50162: redirected to login page
- 2024/12/08 11:20:49.328741 6014#701 [debug] auth: raddr 192.168.111.102:50162: invalid cookie value: "agh_session=2137299036b530e04726a6e2db5abc62"
- 2024/12/08 11:20:55.111996 6014#701 [debug] started POST 192.168.111.1:3000 /control/login
- 2024/12/08 11:20:55.377135 6014#701 [debug] auth: created session c9bd1741573a3204ac44c4381326aa04: expire=1733629255
- 2024/12/08 11:20:55.377302 6014#701 [info] auth: user "root" successfully logged in from ip 192.168.111.102
- 2024/12/08 11:20:55.377477 6014#701 [debug] finished POST 192.168.111.1:3000 /control/login in 265.536214ms
- 2024/12/08 11:20:56.331534 6014#701 [debug] started GET 192.168.111.1:3000 /control/status
- 2024/12/08 11:20:56.333207 6014#701 [debug] finished GET 192.168.111.1:3000 /control/status in 1.662865ms
- 2024/12/08 11:20:56.949802 6014#701 [debug] started GET 192.168.111.1:3000 /control/access/list
- 2024/12/08 11:20:56.950093 6014#701 [debug] finished GET 192.168.111.1:3000 /control/access/list in 327.784µs
- 2024/12/08 11:20:56.965084 6014#701 [debug] started GET 192.168.111.1:3000 /control/stats
- 2024/12/08 11:20:56.965581 6014#701 [debug] stats: loading unit id=481540
- 2024/12/08 11:20:56.966096 6014#701 [debug] stats: loading unit id=481541
- 2024/12/08 11:20:56.966600 6014#701 [debug] stats: loading unit id=481542
- 2024/12/08 11:20:56.966605 6014#718 [debug] started GET 192.168.111.1:3000 /control/stats/config
- 2024/12/08 11:20:56.966952 6014#718 [debug] finished GET 192.168.111.1:3000 /control/stats/config in 379.516µs
- 2024/12/08 11:20:56.967062 6014#701 [debug] stats: loading unit id=481543
- 2024/12/08 11:20:56.967498 6014#701 [debug] stats: loading unit id=481544
- 2024/12/08 11:20:56.967932 6014#701 [debug] stats: loading unit id=481545
- 2024/12/08 11:20:56.968333 6014#701 [debug] stats: loading unit id=481546
- 2024/12/08 11:20:56.968800 6014#701 [debug] stats: loading unit id=481547
- 2024/12/08 11:20:56.969244 6014#701 [debug] stats: loading unit id=481548
- 2024/12/08 11:20:56.969623 6014#701 [debug] stats: loading unit id=481549
- 2024/12/08 11:20:56.970068 6014#701 [debug] stats: loading unit id=481550
- 2024/12/08 11:20:56.970350 6014#756 [debug] dnsforward: dialing "static.adtidy.org:443" for network "tcp"
- 2024/12/08 11:20:56.970560 6014#701 [debug] stats: loading unit id=481551
- 2024/12/08 11:20:56.971143 6014#701 [debug] stats: loading unit id=481552
- 2024/12/08 11:20:56.971753 6014#701 [debug] stats: loading unit id=481553
- 2024/12/08 11:20:56.972200 6014#701 [debug] stats: loading unit id=481554
- 2024/12/08 11:20:56.972661 6014#701 [debug] stats: loading unit id=481555
- 2024/12/08 11:20:56.973074 6014#701 [debug] stats: loading unit id=481556
- 2024/12/08 11:20:56.973426 6014#701 [debug] stats: loading unit id=481557
- 2024/12/08 11:20:56.973786 6014#701 [debug] stats: loading unit id=481558
- 2024/12/08 11:20:56.974146 6014#701 [debug] stats: loading unit id=481559
- 2024/12/08 11:20:56.974543 6014#701 [debug] stats: loading unit id=481560
- 2024/12/08 11:20:56.974905 6014#701 [debug] stats: loading unit id=481561
- 2024/12/08 11:20:56.975267 6014#701 [debug] stats: loading unit id=481562
- 2024/12/08 11:20:56.975667 6014#701 [debug] stats: prepared data elapsed=10.355936ms
- 2024/12/08 11:20:56.975885 6014#701 [debug] finished GET 192.168.111.1:3000 /control/stats in 10.849691ms
- 2024/12/08 11:20:56.977125 6014#754 [debug] started GET 192.168.111.1:3000 /control/tls/status
- 2024/12/08 11:20:56.977404 6014#754 [debug] finished GET 192.168.111.1:3000 /control/tls/status in 316.776µs
- 2024/12/08 11:20:56.978869 6014#758 [debug] dnsproxy: resolved src=upstream rtt=8.256358ms
- 2024/12/08 11:20:56.978870 6014#757 [debug] dnsproxy: resolved src=upstream rtt=8.180686ms
- 2024/12/08 11:20:56.979200 6014#756 [debug] dnsforward: resolved "static.adtidy.org": [89.187.187.5 89.187.187.10 89.187.187.13 89.187.187.20 143.244.51.53 143.244.51.59 143.244.51.245 143.244.51.249 2a02:6ea0:c800::23 2a02:6ea0:c800::24 2a02:6ea0:c800::25 2a02:6ea0:c800::26 2a02:6ea0:c800::27 2a02:6ea0:c800::31 2a02:6ea0:c800::32 2a02:6ea0:c800::33]
- 2024/12/08 11:20:56.984879 6014#701 [debug] started GET 192.168.111.1:3000 /control/profile
- 2024/12/08 11:20:56.985113 6014#701 [debug] finished GET 192.168.111.1:3000 /control/profile in 278.671µs
- 2024/12/08 11:20:57.011979 6014#701 [debug] started GET 192.168.111.1:3000 /control/clients/find?
- 2024/12/08 11:20:49.302394 6014#701 [debug] auth: removed session from DB2024/12/08 11:20:57.012220 6014#701 [debug] finished GET 192.168.111.1:3000 /control/clients/find? in 329.863µs
- 2024/12/08 11:20:49.302587 6014#701 [debug] auth: raddr 192.168.111.102:50162: invalid cookie value: "agh_session=2137299036b530e04726a6e2db5abc62"
- 2024/12/08 11:20:49.302707 6014#701 [debug] auth: raddr 192.168.111.102:50162: redirected to login page
- 2024/12/08 11:20:49.328741 6014#701 [debug] auth: raddr 192.168.111.102:50162: invalid cookie value: "agh_session=2137299036b530e04726a6e2db5abc62"
- 2024/12/08 11:20:55.111996 6014#701 [debug] started POST 192.168.111.1:3000 /control/login
- 2024/12/08 11:20:55.377135 6014#701 [debug] auth: created session c9bd1741573a3204ac44c4381326aa04: expire=1733629255
- 2024/12/08 11:20:55.377302 6014#701 [info] auth: user "root" successfully logged in from ip 192.168.111.102
- 2024/12/08 11:20:55.377477 6014#701 [debug] finished POST 192.168.111.1:3000 /control/login in 265.536214ms
- 2024/12/08 11:20:56.331534 6014#701 [debug] started GET 192.168.111.1:3000 /control/status
- 2024/12/08 11:20:56.333207 6014#701 [debug] finished GET 192.168.111.1:3000 /control/status in 1.662865ms
- 2024/12/08 11:20:56.949802 6014#701 [debug] started GET 192.168.111.1:3000 /control/access/list
- 2024/12/08 11:20:56.950093 6014#701 [debug] finished GET 192.168.111.1:3000 /control/access/list in 327.784µs
- 2024/12/08 11:20:56.965084 6014#701 [debug] started GET 192.168.111.1:3000 /control/stats
- 2024/12/08 11:20:56.965581 6014#701 [debug] stats: loading unit id=481540
- 2024/12/08 11:20:56.966096 6014#701 [debug] stats: loading unit id=481541
- 2024/12/08 11:20:56.966600 6014#701 [debug] stats: loading unit id=481542
- 2024/12/08 11:20:56.966605 6014#718 [debug] started GET 192.168.111.1:3000 /control/stats/config
- 2024/12/08 11:20:56.966952 6014#718 [debug] finished GET 192.168.111.1:3000 /control/stats/config in 379.516µs
- 2024/12/08 11:20:56.967062 6014#701 [debug] stats: loading unit id=481543
- 2024/12/08 11:20:56.967498 6014#701 [debug] stats: loading unit id=481544
- 2024/12/08 11:20:56.967932 6014#701 [debug] stats: loading unit id=481545
- 2024/12/08 11:20:56.968333 6014#701 [debug] stats: loading unit id=481546
- 2024/12/08 11:20:56.968800 6014#701 [debug] stats: loading unit id=481547
- 2024/12/08 11:20:56.969244 6014#701 [debug] stats: loading unit id=481548
- 2024/12/08 11:20:56.969623 6014#701 [debug] stats: loading unit id=481549
- 2024/12/08 11:20:56.970068 6014#701 [debug] stats: loading unit id=481550
- 2024/12/08 11:20:56.970350 6014#756 [debug] dnsforward: dialing "static.adtidy.org:443" for network "tcp"
- 2024/12/08 11:20:56.970560 6014#701 [debug] stats: loading unit id=481551
- 2024/12/08 11:20:56.971143 6014#701 [debug] stats: loading unit id=481552
- 2024/12/08 11:20:56.971753 6014#701 [debug] stats: loading unit id=481553
- 2024/12/08 11:20:56.972200 6014#701 [debug] stats: loading unit id=481554
- 2024/12/08 11:20:56.972661 6014#701 [debug] stats: loading unit id=481555
- 2024/12/08 11:20:56.973074 6014#701 [debug] stats: loading unit id=481556
- 2024/12/08 11:20:56.973426 6014#701 [debug] stats: loading unit id=481557
- 2024/12/08 11:20:56.973786 6014#701 [debug] stats: loading unit id=481558
- 2024/12/08 11:20:56.974146 6014#701 [debug] stats: loading unit id=481559
- 2024/12/08 11:20:56.974543 6014#701 [debug] stats: loading unit id=481560
- 2024/12/08 11:20:56.974905 6014#701 [debug] stats: loading unit id=481561
- 2024/12/08 11:20:56.975267 6014#701 [debug] stats: loading unit id=481562
- 2024/12/08 11:20:56.975667 6014#701 [debug] stats: prepared data elapsed=10.355936ms
- 2024/12/08 11:20:56.975885 6014#701 [debug] finished GET 192.168.111.1:3000 /control/stats in 10.849691ms
- 2024/12/08 11:20:56.977125 6014#754 [debug] started GET 192.168.111.1:3000 /control/tls/status
- 2024/12/08 11:20:56.977404 6014#754 [debug] finished GET 192.168.111.1:3000 /control/tls/status in 316.776µs
- 2024/12/08 11:20:56.978869 6014#758 [debug] dnsproxy: resolved src=upstream rtt=8.256358ms
- 2024/12/08 11:20:56.978870 6014#757 [debug] dnsproxy: resolved src=upstream rtt=8.180686ms
- 2024/12/08 11:20:56.979200 6014#756 [debug] dnsforward: resolved "static.adtidy.org": [89.187.187.5 89.187.187.10 89.187.187.13 89.187.187.20 143.244.51.53 143.244.51.59 143.244.51.245 143.244.51.249 2a02:6ea0:c800::23 2a02:6ea0:c800::24 2a02:6ea0:c800::25 2a02:6ea0:c800::26 2a02:6ea0:c800::27 2a02:6ea0:c800::31 2a02:6ea0:c800::32 2a02:6ea0:c800::33]
- 2024/12/08 11:20:56.984879 6014#701 [debug] started GET 192.168.111.1:3000 /control/profile
- 2024/12/08 11:20:56.985113 6014#701 [debug] finished GET 192.168.111.1:3000 /control/profile in 278.671µs
- 2024/12/08 11:20:57.011979 6014#701 [debug] started GET 192.168.111.1:3000 /control/clients/find?
- 2024/12/08 11:20:57.012220 6014#701 [debug] finished GET 192.168.111.1:3000 /control/clients/find? in 329.863µs2024/12/08 11:22:33.946915 6014#793 [debug] started GET 192.168.111.1:3000 /control/status
- 2024/12/08 11:22:33.948634 6014#793 [debug] finished GET 192.168.111.1:3000 /control/status in 1.70378ms2024/12/08 11:22:36.643278 6014#793 [debug] started GET 192.168.111.1:3000 /control/status
- 2024/12/08 11:22:36.645172 6014#793 [debug] finished GET 192.168.111.1:3000 /control/status in 1.872979ms
- 2024/12/08 11:22:37.081707 6014#809 [debug] started GET 192.168.111.1:3000 /control/access/list
- 2024/12/08 11:22:37.081932 6014#809 [debug] finished GET 192.168.111.1:3000 /control/access/list in 279.819µs
- 2024/12/08 11:22:37.087729 6014#809 [debug] started GET 192.168.111.1:3000 /control/stats
- 2024/12/08 11:22:37.088115 6014#809 [debug] stats: loading unit id=481540
- 2024/12/08 11:22:37.088603 6014#809 [debug] stats: loading unit id=481541
- 2024/12/08 11:22:37.088974 6014#809 [debug] stats: loading unit id=481542
- 2024/12/08 11:22:37.089330 6014#809 [debug] stats: loading unit id=481543
- 2024/12/08 11:22:37.089716 6014#809 [debug] stats: loading unit id=481544
- 2024/12/08 11:22:37.090080 6014#809 [debug] stats: loading unit id=481545
- 2024/12/08 11:22:37.090436 6014#809 [debug] stats: loading unit id=481546
- 2024/12/08 11:22:37.090792 6014#809 [debug] stats: loading unit id=481547
- 2024/12/08 11:22:37.091152 6014#809 [debug] stats: loading unit id=481548
- 2024/12/08 11:22:37.091564 6014#809 [debug] stats: loading unit id=481549
- 2024/12/08 11:22:37.091931 6014#809 [debug] stats: loading unit id=481550
- 2024/12/08 11:22:37.092360 6014#809 [debug] stats: loading unit id=481551
- 2024/12/08 11:22:37.092808 6014#809 [debug] stats: loading unit id=481552
- 2024/12/08 11:22:37.093195 6014#809 [debug] stats: loading unit id=481553
- 2024/12/08 11:22:37.093562 6014#809 [debug] stats: loading unit id=481554
- 2024/12/08 11:22:37.093933 6014#809 [debug] stats: loading unit id=481555
- 2024/12/08 11:22:37.094287 6014#809 [debug] stats: loading unit id=481556
- 2024/12/08 11:22:37.094664 6014#809 [debug] stats: loading unit id=481557
- 2024/12/08 11:22:37.095037 6014#809 [debug] stats: loading unit id=481558
- 2024/12/08 11:22:37.095400 6014#809 [debug] stats: loading unit id=481559
- 2024/12/08 11:22:37.095748 6014#809 [debug] stats: loading unit id=481560
- 2024/12/08 11:22:37.096154 6014#809 [debug] stats: loading unit id=481561
- 2024/12/08 11:22:37.096548 6014#809 [debug] stats: loading unit id=481562
- 2024/12/08 11:22:37.096950 6014#809 [debug] stats: prepared data elapsed=8.991698ms
- 2024/12/08 11:22:37.097184 6014#809 [debug] finished GET 192.168.111.1:3000 /control/stats in 9.496989ms
- 2024/12/08 11:22:37.102405 6014#779 [debug] started GET 192.168.111.1:3000 /control/stats/config
- 2024/12/08 11:22:37.102631 6014#779 [debug] finished GET 192.168.111.1:3000 /control/stats/config in 273.276µs
- 2024/12/08 11:22:37.110470 6014#809 [debug] started GET 192.168.111.1:3000 /control/tls/status
- 2024/12/08 11:22:37.110739 6014#809 [debug] finished GET 192.168.111.1:3000 /control/tls/status in 295.523µs
- 2024/12/08 11:22:37.125510 6014#809 [debug] started GET 192.168.111.1:3000 /control/profile
- 2024/12/08 11:22:37.125734 6014#809 [debug] finished GET 192.168.111.1:3000 /control/profile in 275.97µs
- 2024/12/08 11:22:37.139706 6014#809 [debug] started GET 192.168.111.1:3000 /control/clients/find?
- 2024/12/08 11:22:37.139916 6014#809 [debug] finished GET 192.168.111.1:3000 /control/clients/find? in 265.346µs

有问题的是安装IPK的时候
图片

@MIAOBUSI
Copy link

MIAOBUSI commented Dec 8, 2024

image 我看你的截图这最上面有个黄色提示,这个正常来说就是提示存在fw3和fw4混合规则

那个是root登录警告

2024-12-08_110703
强制更新日志似乎没啥问题

- 96 9749k   96 9390k    0     0  86686      0  0:01:55  0:01:50  0:00:05  125k
-  97 9749k   97 9521k    0     0  87099      0  0:01:54  0:01:51  0:00:03  124k
-  99 9749k   99 9694k    0     0  87899      0  0:01:53  0:01:52  0:00:01  130k
- 100 9749k  100 9749k    0     0  87971      0  0:01:53  0:01:53 --:--:--  128k
- download success start copy
- start copy
- AdGuardHome service disabled
- Command failed: ubus call service delete { "name": "AdGuardHome", "instance": "nobackup" } (Not found)
- workdir is a f2fs filesystem
- AdGuardHome service enabled
- luci enable switch=1
- Succeeded in updating core.
- Local version: v0.107.54, cloud version: v0.107.54.
- 2024/12/08 11:20:49.302394 6014#701 [debug] auth: removed session from DB 
- 2024/12/08 11:20:49.302587 6014#701 [debug] auth: raddr 192.168.111.102:50162: invalid cookie value: "agh_session=2137299036b530e04726a6e2db5abc62"
- 2024/12/08 11:20:49.302707 6014#701 [debug] auth: raddr 192.168.111.102:50162: redirected to login page
- 2024/12/08 11:20:49.328741 6014#701 [debug] auth: raddr 192.168.111.102:50162: invalid cookie value: "agh_session=2137299036b530e04726a6e2db5abc62"
- 2024/12/08 11:20:55.111996 6014#701 [debug] started POST 192.168.111.1:3000 /control/login
- 2024/12/08 11:20:55.377135 6014#701 [debug] auth: created session c9bd1741573a3204ac44c4381326aa04: expire=1733629255
- 2024/12/08 11:20:55.377302 6014#701 [info] auth: user "root" successfully logged in from ip 192.168.111.102
- 2024/12/08 11:20:55.377477 6014#701 [debug] finished POST 192.168.111.1:3000 /control/login in 265.536214ms
- 2024/12/08 11:20:56.331534 6014#701 [debug] started GET 192.168.111.1:3000 /control/status
- 2024/12/08 11:20:56.333207 6014#701 [debug] finished GET 192.168.111.1:3000 /control/status in 1.662865ms
- 2024/12/08 11:20:56.949802 6014#701 [debug] started GET 192.168.111.1:3000 /control/access/list
- 2024/12/08 11:20:56.950093 6014#701 [debug] finished GET 192.168.111.1:3000 /control/access/list in 327.784µs
- 2024/12/08 11:20:56.965084 6014#701 [debug] started GET 192.168.111.1:3000 /control/stats
- 2024/12/08 11:20:56.965581 6014#701 [debug] stats: loading unit id=481540
- 2024/12/08 11:20:56.966096 6014#701 [debug] stats: loading unit id=481541
- 2024/12/08 11:20:56.966600 6014#701 [debug] stats: loading unit id=481542
- 2024/12/08 11:20:56.966605 6014#718 [debug] started GET 192.168.111.1:3000 /control/stats/config
- 2024/12/08 11:20:56.966952 6014#718 [debug] finished GET 192.168.111.1:3000 /control/stats/config in 379.516µs
- 2024/12/08 11:20:56.967062 6014#701 [debug] stats: loading unit id=481543
- 2024/12/08 11:20:56.967498 6014#701 [debug] stats: loading unit id=481544
- 2024/12/08 11:20:56.967932 6014#701 [debug] stats: loading unit id=481545
- 2024/12/08 11:20:56.968333 6014#701 [debug] stats: loading unit id=481546
- 2024/12/08 11:20:56.968800 6014#701 [debug] stats: loading unit id=481547
- 2024/12/08 11:20:56.969244 6014#701 [debug] stats: loading unit id=481548
- 2024/12/08 11:20:56.969623 6014#701 [debug] stats: loading unit id=481549
- 2024/12/08 11:20:56.970068 6014#701 [debug] stats: loading unit id=481550
- 2024/12/08 11:20:56.970350 6014#756 [debug] dnsforward: dialing "static.adtidy.org:443" for network "tcp"
- 2024/12/08 11:20:56.970560 6014#701 [debug] stats: loading unit id=481551
- 2024/12/08 11:20:56.971143 6014#701 [debug] stats: loading unit id=481552
- 2024/12/08 11:20:56.971753 6014#701 [debug] stats: loading unit id=481553
- 2024/12/08 11:20:56.972200 6014#701 [debug] stats: loading unit id=481554
- 2024/12/08 11:20:56.972661 6014#701 [debug] stats: loading unit id=481555
- 2024/12/08 11:20:56.973074 6014#701 [debug] stats: loading unit id=481556
- 2024/12/08 11:20:56.973426 6014#701 [debug] stats: loading unit id=481557
- 2024/12/08 11:20:56.973786 6014#701 [debug] stats: loading unit id=481558
- 2024/12/08 11:20:56.974146 6014#701 [debug] stats: loading unit id=481559
- 2024/12/08 11:20:56.974543 6014#701 [debug] stats: loading unit id=481560
- 2024/12/08 11:20:56.974905 6014#701 [debug] stats: loading unit id=481561
- 2024/12/08 11:20:56.975267 6014#701 [debug] stats: loading unit id=481562
- 2024/12/08 11:20:56.975667 6014#701 [debug] stats: prepared data elapsed=10.355936ms
- 2024/12/08 11:20:56.975885 6014#701 [debug] finished GET 192.168.111.1:3000 /control/stats in 10.849691ms
- 2024/12/08 11:20:56.977125 6014#754 [debug] started GET 192.168.111.1:3000 /control/tls/status
- 2024/12/08 11:20:56.977404 6014#754 [debug] finished GET 192.168.111.1:3000 /control/tls/status in 316.776µs
- 2024/12/08 11:20:56.978869 6014#758 [debug] dnsproxy: resolved src=upstream rtt=8.256358ms
- 2024/12/08 11:20:56.978870 6014#757 [debug] dnsproxy: resolved src=upstream rtt=8.180686ms
- 2024/12/08 11:20:56.979200 6014#756 [debug] dnsforward: resolved "static.adtidy.org": [89.187.187.5 89.187.187.10 89.187.187.13 89.187.187.20 143.244.51.53 143.244.51.59 143.244.51.245 143.244.51.249 2a02:6ea0:c800::23 2a02:6ea0:c800::24 2a02:6ea0:c800::25 2a02:6ea0:c800::26 2a02:6ea0:c800::27 2a02:6ea0:c800::31 2a02:6ea0:c800::32 2a02:6ea0:c800::33]
- 2024/12/08 11:20:56.984879 6014#701 [debug] started GET 192.168.111.1:3000 /control/profile
- 2024/12/08 11:20:56.985113 6014#701 [debug] finished GET 192.168.111.1:3000 /control/profile in 278.671µs
- 2024/12/08 11:20:57.011979 6014#701 [debug] started GET 192.168.111.1:3000 /control/clients/find?
- 2024/12/08 11:20:49.302394 6014#701 [debug] auth: removed session from DB2024/12/08 11:20:57.012220 6014#701 [debug] finished GET 192.168.111.1:3000 /control/clients/find? in 329.863µs
- 2024/12/08 11:20:49.302587 6014#701 [debug] auth: raddr 192.168.111.102:50162: invalid cookie value: "agh_session=2137299036b530e04726a6e2db5abc62"
- 2024/12/08 11:20:49.302707 6014#701 [debug] auth: raddr 192.168.111.102:50162: redirected to login page
- 2024/12/08 11:20:49.328741 6014#701 [debug] auth: raddr 192.168.111.102:50162: invalid cookie value: "agh_session=2137299036b530e04726a6e2db5abc62"
- 2024/12/08 11:20:55.111996 6014#701 [debug] started POST 192.168.111.1:3000 /control/login
- 2024/12/08 11:20:55.377135 6014#701 [debug] auth: created session c9bd1741573a3204ac44c4381326aa04: expire=1733629255
- 2024/12/08 11:20:55.377302 6014#701 [info] auth: user "root" successfully logged in from ip 192.168.111.102
- 2024/12/08 11:20:55.377477 6014#701 [debug] finished POST 192.168.111.1:3000 /control/login in 265.536214ms
- 2024/12/08 11:20:56.331534 6014#701 [debug] started GET 192.168.111.1:3000 /control/status
- 2024/12/08 11:20:56.333207 6014#701 [debug] finished GET 192.168.111.1:3000 /control/status in 1.662865ms
- 2024/12/08 11:20:56.949802 6014#701 [debug] started GET 192.168.111.1:3000 /control/access/list
- 2024/12/08 11:20:56.950093 6014#701 [debug] finished GET 192.168.111.1:3000 /control/access/list in 327.784µs
- 2024/12/08 11:20:56.965084 6014#701 [debug] started GET 192.168.111.1:3000 /control/stats
- 2024/12/08 11:20:56.965581 6014#701 [debug] stats: loading unit id=481540
- 2024/12/08 11:20:56.966096 6014#701 [debug] stats: loading unit id=481541
- 2024/12/08 11:20:56.966600 6014#701 [debug] stats: loading unit id=481542
- 2024/12/08 11:20:56.966605 6014#718 [debug] started GET 192.168.111.1:3000 /control/stats/config
- 2024/12/08 11:20:56.966952 6014#718 [debug] finished GET 192.168.111.1:3000 /control/stats/config in 379.516µs
- 2024/12/08 11:20:56.967062 6014#701 [debug] stats: loading unit id=481543
- 2024/12/08 11:20:56.967498 6014#701 [debug] stats: loading unit id=481544
- 2024/12/08 11:20:56.967932 6014#701 [debug] stats: loading unit id=481545
- 2024/12/08 11:20:56.968333 6014#701 [debug] stats: loading unit id=481546
- 2024/12/08 11:20:56.968800 6014#701 [debug] stats: loading unit id=481547
- 2024/12/08 11:20:56.969244 6014#701 [debug] stats: loading unit id=481548
- 2024/12/08 11:20:56.969623 6014#701 [debug] stats: loading unit id=481549
- 2024/12/08 11:20:56.970068 6014#701 [debug] stats: loading unit id=481550
- 2024/12/08 11:20:56.970350 6014#756 [debug] dnsforward: dialing "static.adtidy.org:443" for network "tcp"
- 2024/12/08 11:20:56.970560 6014#701 [debug] stats: loading unit id=481551
- 2024/12/08 11:20:56.971143 6014#701 [debug] stats: loading unit id=481552
- 2024/12/08 11:20:56.971753 6014#701 [debug] stats: loading unit id=481553
- 2024/12/08 11:20:56.972200 6014#701 [debug] stats: loading unit id=481554
- 2024/12/08 11:20:56.972661 6014#701 [debug] stats: loading unit id=481555
- 2024/12/08 11:20:56.973074 6014#701 [debug] stats: loading unit id=481556
- 2024/12/08 11:20:56.973426 6014#701 [debug] stats: loading unit id=481557
- 2024/12/08 11:20:56.973786 6014#701 [debug] stats: loading unit id=481558
- 2024/12/08 11:20:56.974146 6014#701 [debug] stats: loading unit id=481559
- 2024/12/08 11:20:56.974543 6014#701 [debug] stats: loading unit id=481560
- 2024/12/08 11:20:56.974905 6014#701 [debug] stats: loading unit id=481561
- 2024/12/08 11:20:56.975267 6014#701 [debug] stats: loading unit id=481562
- 2024/12/08 11:20:56.975667 6014#701 [debug] stats: prepared data elapsed=10.355936ms
- 2024/12/08 11:20:56.975885 6014#701 [debug] finished GET 192.168.111.1:3000 /control/stats in 10.849691ms
- 2024/12/08 11:20:56.977125 6014#754 [debug] started GET 192.168.111.1:3000 /control/tls/status
- 2024/12/08 11:20:56.977404 6014#754 [debug] finished GET 192.168.111.1:3000 /control/tls/status in 316.776µs
- 2024/12/08 11:20:56.978869 6014#758 [debug] dnsproxy: resolved src=upstream rtt=8.256358ms
- 2024/12/08 11:20:56.978870 6014#757 [debug] dnsproxy: resolved src=upstream rtt=8.180686ms
- 2024/12/08 11:20:56.979200 6014#756 [debug] dnsforward: resolved "static.adtidy.org": [89.187.187.5 89.187.187.10 89.187.187.13 89.187.187.20 143.244.51.53 143.244.51.59 143.244.51.245 143.244.51.249 2a02:6ea0:c800::23 2a02:6ea0:c800::24 2a02:6ea0:c800::25 2a02:6ea0:c800::26 2a02:6ea0:c800::27 2a02:6ea0:c800::31 2a02:6ea0:c800::32 2a02:6ea0:c800::33]
- 2024/12/08 11:20:56.984879 6014#701 [debug] started GET 192.168.111.1:3000 /control/profile
- 2024/12/08 11:20:56.985113 6014#701 [debug] finished GET 192.168.111.1:3000 /control/profile in 278.671µs
- 2024/12/08 11:20:57.011979 6014#701 [debug] started GET 192.168.111.1:3000 /control/clients/find?
- 2024/12/08 11:20:57.012220 6014#701 [debug] finished GET 192.168.111.1:3000 /control/clients/find? in 329.863µs2024/12/08 11:22:33.946915 6014#793 [debug] started GET 192.168.111.1:3000 /control/status
- 2024/12/08 11:22:33.948634 6014#793 [debug] finished GET 192.168.111.1:3000 /control/status in 1.70378ms2024/12/08 11:22:36.643278 6014#793 [debug] started GET 192.168.111.1:3000 /control/status
- 2024/12/08 11:22:36.645172 6014#793 [debug] finished GET 192.168.111.1:3000 /control/status in 1.872979ms
- 2024/12/08 11:22:37.081707 6014#809 [debug] started GET 192.168.111.1:3000 /control/access/list
- 2024/12/08 11:22:37.081932 6014#809 [debug] finished GET 192.168.111.1:3000 /control/access/list in 279.819µs
- 2024/12/08 11:22:37.087729 6014#809 [debug] started GET 192.168.111.1:3000 /control/stats
- 2024/12/08 11:22:37.088115 6014#809 [debug] stats: loading unit id=481540
- 2024/12/08 11:22:37.088603 6014#809 [debug] stats: loading unit id=481541
- 2024/12/08 11:22:37.088974 6014#809 [debug] stats: loading unit id=481542
- 2024/12/08 11:22:37.089330 6014#809 [debug] stats: loading unit id=481543
- 2024/12/08 11:22:37.089716 6014#809 [debug] stats: loading unit id=481544
- 2024/12/08 11:22:37.090080 6014#809 [debug] stats: loading unit id=481545
- 2024/12/08 11:22:37.090436 6014#809 [debug] stats: loading unit id=481546
- 2024/12/08 11:22:37.090792 6014#809 [debug] stats: loading unit id=481547
- 2024/12/08 11:22:37.091152 6014#809 [debug] stats: loading unit id=481548
- 2024/12/08 11:22:37.091564 6014#809 [debug] stats: loading unit id=481549
- 2024/12/08 11:22:37.091931 6014#809 [debug] stats: loading unit id=481550
- 2024/12/08 11:22:37.092360 6014#809 [debug] stats: loading unit id=481551
- 2024/12/08 11:22:37.092808 6014#809 [debug] stats: loading unit id=481552
- 2024/12/08 11:22:37.093195 6014#809 [debug] stats: loading unit id=481553
- 2024/12/08 11:22:37.093562 6014#809 [debug] stats: loading unit id=481554
- 2024/12/08 11:22:37.093933 6014#809 [debug] stats: loading unit id=481555
- 2024/12/08 11:22:37.094287 6014#809 [debug] stats: loading unit id=481556
- 2024/12/08 11:22:37.094664 6014#809 [debug] stats: loading unit id=481557
- 2024/12/08 11:22:37.095037 6014#809 [debug] stats: loading unit id=481558
- 2024/12/08 11:22:37.095400 6014#809 [debug] stats: loading unit id=481559
- 2024/12/08 11:22:37.095748 6014#809 [debug] stats: loading unit id=481560
- 2024/12/08 11:22:37.096154 6014#809 [debug] stats: loading unit id=481561
- 2024/12/08 11:22:37.096548 6014#809 [debug] stats: loading unit id=481562
- 2024/12/08 11:22:37.096950 6014#809 [debug] stats: prepared data elapsed=8.991698ms
- 2024/12/08 11:22:37.097184 6014#809 [debug] finished GET 192.168.111.1:3000 /control/stats in 9.496989ms
- 2024/12/08 11:22:37.102405 6014#779 [debug] started GET 192.168.111.1:3000 /control/stats/config
- 2024/12/08 11:22:37.102631 6014#779 [debug] finished GET 192.168.111.1:3000 /control/stats/config in 273.276µs
- 2024/12/08 11:22:37.110470 6014#809 [debug] started GET 192.168.111.1:3000 /control/tls/status
- 2024/12/08 11:22:37.110739 6014#809 [debug] finished GET 192.168.111.1:3000 /control/tls/status in 295.523µs
- 2024/12/08 11:22:37.125510 6014#809 [debug] started GET 192.168.111.1:3000 /control/profile
- 2024/12/08 11:22:37.125734 6014#809 [debug] finished GET 192.168.111.1:3000 /control/profile in 275.97µs
- 2024/12/08 11:22:37.139706 6014#809 [debug] started GET 192.168.111.1:3000 /control/clients/find?
- 2024/12/08 11:22:37.139916 6014#809 [debug] finished GET 192.168.111.1:3000 /control/clients/find? in 265.346µs

有问题的是安装IPK的时候 图片
image

那我知道是什么问题了,这个文件确实权限,你要用winscp登录openwrt,然后进入到/etc/init.d文件夹,找到AdGuardHome文件,将权限改成下图所示,然后再试试。
image
image

@GoogleBeEvil
Copy link

image 我看你的截图这最上面有个黄色提示,这个正常来说就是提示存在fw3和fw4混合规则

那个是root登录警告

2024-12-08_110703
强制更新日志似乎没啥问题

- 96 9749k   96 9390k    0     0  86686      0  0:01:55  0:01:50  0:00:05  125k
-  97 9749k   97 9521k    0     0  87099      0  0:01:54  0:01:51  0:00:03  124k
-  99 9749k   99 9694k    0     0  87899      0  0:01:53  0:01:52  0:00:01  130k
- 100 9749k  100 9749k    0     0  87971      0  0:01:53  0:01:53 --:--:--  128k
- download success start copy
- start copy
- AdGuardHome service disabled
- Command failed: ubus call service delete { "name": "AdGuardHome", "instance": "nobackup" } (Not found)
- workdir is a f2fs filesystem
- AdGuardHome service enabled
- luci enable switch=1
- Succeeded in updating core.
- Local version: v0.107.54, cloud version: v0.107.54.
- 2024/12/08 11:20:49.302394 6014#701 [debug] auth: removed session from DB 
- 2024/12/08 11:20:49.302587 6014#701 [debug] auth: raddr 192.168.111.102:50162: invalid cookie value: "agh_session=2137299036b530e04726a6e2db5abc62"
- 2024/12/08 11:20:49.302707 6014#701 [debug] auth: raddr 192.168.111.102:50162: redirected to login page
- 2024/12/08 11:20:49.328741 6014#701 [debug] auth: raddr 192.168.111.102:50162: invalid cookie value: "agh_session=2137299036b530e04726a6e2db5abc62"
- 2024/12/08 11:20:55.111996 6014#701 [debug] started POST 192.168.111.1:3000 /control/login
- 2024/12/08 11:20:55.377135 6014#701 [debug] auth: created session c9bd1741573a3204ac44c4381326aa04: expire=1733629255
- 2024/12/08 11:20:55.377302 6014#701 [info] auth: user "root" successfully logged in from ip 192.168.111.102
- 2024/12/08 11:20:55.377477 6014#701 [debug] finished POST 192.168.111.1:3000 /control/login in 265.536214ms
- 2024/12/08 11:20:56.331534 6014#701 [debug] started GET 192.168.111.1:3000 /control/status
- 2024/12/08 11:20:56.333207 6014#701 [debug] finished GET 192.168.111.1:3000 /control/status in 1.662865ms
- 2024/12/08 11:20:56.949802 6014#701 [debug] started GET 192.168.111.1:3000 /control/access/list
- 2024/12/08 11:20:56.950093 6014#701 [debug] finished GET 192.168.111.1:3000 /control/access/list in 327.784µs
- 2024/12/08 11:20:56.965084 6014#701 [debug] started GET 192.168.111.1:3000 /control/stats
- 2024/12/08 11:20:56.965581 6014#701 [debug] stats: loading unit id=481540
- 2024/12/08 11:20:56.966096 6014#701 [debug] stats: loading unit id=481541
- 2024/12/08 11:20:56.966600 6014#701 [debug] stats: loading unit id=481542
- 2024/12/08 11:20:56.966605 6014#718 [debug] started GET 192.168.111.1:3000 /control/stats/config
- 2024/12/08 11:20:56.966952 6014#718 [debug] finished GET 192.168.111.1:3000 /control/stats/config in 379.516µs
- 2024/12/08 11:20:56.967062 6014#701 [debug] stats: loading unit id=481543
- 2024/12/08 11:20:56.967498 6014#701 [debug] stats: loading unit id=481544
- 2024/12/08 11:20:56.967932 6014#701 [debug] stats: loading unit id=481545
- 2024/12/08 11:20:56.968333 6014#701 [debug] stats: loading unit id=481546
- 2024/12/08 11:20:56.968800 6014#701 [debug] stats: loading unit id=481547
- 2024/12/08 11:20:56.969244 6014#701 [debug] stats: loading unit id=481548
- 2024/12/08 11:20:56.969623 6014#701 [debug] stats: loading unit id=481549
- 2024/12/08 11:20:56.970068 6014#701 [debug] stats: loading unit id=481550
- 2024/12/08 11:20:56.970350 6014#756 [debug] dnsforward: dialing "static.adtidy.org:443" for network "tcp"
- 2024/12/08 11:20:56.970560 6014#701 [debug] stats: loading unit id=481551
- 2024/12/08 11:20:56.971143 6014#701 [debug] stats: loading unit id=481552
- 2024/12/08 11:20:56.971753 6014#701 [debug] stats: loading unit id=481553
- 2024/12/08 11:20:56.972200 6014#701 [debug] stats: loading unit id=481554
- 2024/12/08 11:20:56.972661 6014#701 [debug] stats: loading unit id=481555
- 2024/12/08 11:20:56.973074 6014#701 [debug] stats: loading unit id=481556
- 2024/12/08 11:20:56.973426 6014#701 [debug] stats: loading unit id=481557
- 2024/12/08 11:20:56.973786 6014#701 [debug] stats: loading unit id=481558
- 2024/12/08 11:20:56.974146 6014#701 [debug] stats: loading unit id=481559
- 2024/12/08 11:20:56.974543 6014#701 [debug] stats: loading unit id=481560
- 2024/12/08 11:20:56.974905 6014#701 [debug] stats: loading unit id=481561
- 2024/12/08 11:20:56.975267 6014#701 [debug] stats: loading unit id=481562
- 2024/12/08 11:20:56.975667 6014#701 [debug] stats: prepared data elapsed=10.355936ms
- 2024/12/08 11:20:56.975885 6014#701 [debug] finished GET 192.168.111.1:3000 /control/stats in 10.849691ms
- 2024/12/08 11:20:56.977125 6014#754 [debug] started GET 192.168.111.1:3000 /control/tls/status
- 2024/12/08 11:20:56.977404 6014#754 [debug] finished GET 192.168.111.1:3000 /control/tls/status in 316.776µs
- 2024/12/08 11:20:56.978869 6014#758 [debug] dnsproxy: resolved src=upstream rtt=8.256358ms
- 2024/12/08 11:20:56.978870 6014#757 [debug] dnsproxy: resolved src=upstream rtt=8.180686ms
- 2024/12/08 11:20:56.979200 6014#756 [debug] dnsforward: resolved "static.adtidy.org": [89.187.187.5 89.187.187.10 89.187.187.13 89.187.187.20 143.244.51.53 143.244.51.59 143.244.51.245 143.244.51.249 2a02:6ea0:c800::23 2a02:6ea0:c800::24 2a02:6ea0:c800::25 2a02:6ea0:c800::26 2a02:6ea0:c800::27 2a02:6ea0:c800::31 2a02:6ea0:c800::32 2a02:6ea0:c800::33]
- 2024/12/08 11:20:56.984879 6014#701 [debug] started GET 192.168.111.1:3000 /control/profile
- 2024/12/08 11:20:56.985113 6014#701 [debug] finished GET 192.168.111.1:3000 /control/profile in 278.671µs
- 2024/12/08 11:20:57.011979 6014#701 [debug] started GET 192.168.111.1:3000 /control/clients/find?
- 2024/12/08 11:20:49.302394 6014#701 [debug] auth: removed session from DB2024/12/08 11:20:57.012220 6014#701 [debug] finished GET 192.168.111.1:3000 /control/clients/find? in 329.863µs
- 2024/12/08 11:20:49.302587 6014#701 [debug] auth: raddr 192.168.111.102:50162: invalid cookie value: "agh_session=2137299036b530e04726a6e2db5abc62"
- 2024/12/08 11:20:49.302707 6014#701 [debug] auth: raddr 192.168.111.102:50162: redirected to login page
- 2024/12/08 11:20:49.328741 6014#701 [debug] auth: raddr 192.168.111.102:50162: invalid cookie value: "agh_session=2137299036b530e04726a6e2db5abc62"
- 2024/12/08 11:20:55.111996 6014#701 [debug] started POST 192.168.111.1:3000 /control/login
- 2024/12/08 11:20:55.377135 6014#701 [debug] auth: created session c9bd1741573a3204ac44c4381326aa04: expire=1733629255
- 2024/12/08 11:20:55.377302 6014#701 [info] auth: user "root" successfully logged in from ip 192.168.111.102
- 2024/12/08 11:20:55.377477 6014#701 [debug] finished POST 192.168.111.1:3000 /control/login in 265.536214ms
- 2024/12/08 11:20:56.331534 6014#701 [debug] started GET 192.168.111.1:3000 /control/status
- 2024/12/08 11:20:56.333207 6014#701 [debug] finished GET 192.168.111.1:3000 /control/status in 1.662865ms
- 2024/12/08 11:20:56.949802 6014#701 [debug] started GET 192.168.111.1:3000 /control/access/list
- 2024/12/08 11:20:56.950093 6014#701 [debug] finished GET 192.168.111.1:3000 /control/access/list in 327.784µs
- 2024/12/08 11:20:56.965084 6014#701 [debug] started GET 192.168.111.1:3000 /control/stats
- 2024/12/08 11:20:56.965581 6014#701 [debug] stats: loading unit id=481540
- 2024/12/08 11:20:56.966096 6014#701 [debug] stats: loading unit id=481541
- 2024/12/08 11:20:56.966600 6014#701 [debug] stats: loading unit id=481542
- 2024/12/08 11:20:56.966605 6014#718 [debug] started GET 192.168.111.1:3000 /control/stats/config
- 2024/12/08 11:20:56.966952 6014#718 [debug] finished GET 192.168.111.1:3000 /control/stats/config in 379.516µs
- 2024/12/08 11:20:56.967062 6014#701 [debug] stats: loading unit id=481543
- 2024/12/08 11:20:56.967498 6014#701 [debug] stats: loading unit id=481544
- 2024/12/08 11:20:56.967932 6014#701 [debug] stats: loading unit id=481545
- 2024/12/08 11:20:56.968333 6014#701 [debug] stats: loading unit id=481546
- 2024/12/08 11:20:56.968800 6014#701 [debug] stats: loading unit id=481547
- 2024/12/08 11:20:56.969244 6014#701 [debug] stats: loading unit id=481548
- 2024/12/08 11:20:56.969623 6014#701 [debug] stats: loading unit id=481549
- 2024/12/08 11:20:56.970068 6014#701 [debug] stats: loading unit id=481550
- 2024/12/08 11:20:56.970350 6014#756 [debug] dnsforward: dialing "static.adtidy.org:443" for network "tcp"
- 2024/12/08 11:20:56.970560 6014#701 [debug] stats: loading unit id=481551
- 2024/12/08 11:20:56.971143 6014#701 [debug] stats: loading unit id=481552
- 2024/12/08 11:20:56.971753 6014#701 [debug] stats: loading unit id=481553
- 2024/12/08 11:20:56.972200 6014#701 [debug] stats: loading unit id=481554
- 2024/12/08 11:20:56.972661 6014#701 [debug] stats: loading unit id=481555
- 2024/12/08 11:20:56.973074 6014#701 [debug] stats: loading unit id=481556
- 2024/12/08 11:20:56.973426 6014#701 [debug] stats: loading unit id=481557
- 2024/12/08 11:20:56.973786 6014#701 [debug] stats: loading unit id=481558
- 2024/12/08 11:20:56.974146 6014#701 [debug] stats: loading unit id=481559
- 2024/12/08 11:20:56.974543 6014#701 [debug] stats: loading unit id=481560
- 2024/12/08 11:20:56.974905 6014#701 [debug] stats: loading unit id=481561
- 2024/12/08 11:20:56.975267 6014#701 [debug] stats: loading unit id=481562
- 2024/12/08 11:20:56.975667 6014#701 [debug] stats: prepared data elapsed=10.355936ms
- 2024/12/08 11:20:56.975885 6014#701 [debug] finished GET 192.168.111.1:3000 /control/stats in 10.849691ms
- 2024/12/08 11:20:56.977125 6014#754 [debug] started GET 192.168.111.1:3000 /control/tls/status
- 2024/12/08 11:20:56.977404 6014#754 [debug] finished GET 192.168.111.1:3000 /control/tls/status in 316.776µs
- 2024/12/08 11:20:56.978869 6014#758 [debug] dnsproxy: resolved src=upstream rtt=8.256358ms
- 2024/12/08 11:20:56.978870 6014#757 [debug] dnsproxy: resolved src=upstream rtt=8.180686ms
- 2024/12/08 11:20:56.979200 6014#756 [debug] dnsforward: resolved "static.adtidy.org": [89.187.187.5 89.187.187.10 89.187.187.13 89.187.187.20 143.244.51.53 143.244.51.59 143.244.51.245 143.244.51.249 2a02:6ea0:c800::23 2a02:6ea0:c800::24 2a02:6ea0:c800::25 2a02:6ea0:c800::26 2a02:6ea0:c800::27 2a02:6ea0:c800::31 2a02:6ea0:c800::32 2a02:6ea0:c800::33]
- 2024/12/08 11:20:56.984879 6014#701 [debug] started GET 192.168.111.1:3000 /control/profile
- 2024/12/08 11:20:56.985113 6014#701 [debug] finished GET 192.168.111.1:3000 /control/profile in 278.671µs
- 2024/12/08 11:20:57.011979 6014#701 [debug] started GET 192.168.111.1:3000 /control/clients/find?
- 2024/12/08 11:20:57.012220 6014#701 [debug] finished GET 192.168.111.1:3000 /control/clients/find? in 329.863µs2024/12/08 11:22:33.946915 6014#793 [debug] started GET 192.168.111.1:3000 /control/status
- 2024/12/08 11:22:33.948634 6014#793 [debug] finished GET 192.168.111.1:3000 /control/status in 1.70378ms2024/12/08 11:22:36.643278 6014#793 [debug] started GET 192.168.111.1:3000 /control/status
- 2024/12/08 11:22:36.645172 6014#793 [debug] finished GET 192.168.111.1:3000 /control/status in 1.872979ms
- 2024/12/08 11:22:37.081707 6014#809 [debug] started GET 192.168.111.1:3000 /control/access/list
- 2024/12/08 11:22:37.081932 6014#809 [debug] finished GET 192.168.111.1:3000 /control/access/list in 279.819µs
- 2024/12/08 11:22:37.087729 6014#809 [debug] started GET 192.168.111.1:3000 /control/stats
- 2024/12/08 11:22:37.088115 6014#809 [debug] stats: loading unit id=481540
- 2024/12/08 11:22:37.088603 6014#809 [debug] stats: loading unit id=481541
- 2024/12/08 11:22:37.088974 6014#809 [debug] stats: loading unit id=481542
- 2024/12/08 11:22:37.089330 6014#809 [debug] stats: loading unit id=481543
- 2024/12/08 11:22:37.089716 6014#809 [debug] stats: loading unit id=481544
- 2024/12/08 11:22:37.090080 6014#809 [debug] stats: loading unit id=481545
- 2024/12/08 11:22:37.090436 6014#809 [debug] stats: loading unit id=481546
- 2024/12/08 11:22:37.090792 6014#809 [debug] stats: loading unit id=481547
- 2024/12/08 11:22:37.091152 6014#809 [debug] stats: loading unit id=481548
- 2024/12/08 11:22:37.091564 6014#809 [debug] stats: loading unit id=481549
- 2024/12/08 11:22:37.091931 6014#809 [debug] stats: loading unit id=481550
- 2024/12/08 11:22:37.092360 6014#809 [debug] stats: loading unit id=481551
- 2024/12/08 11:22:37.092808 6014#809 [debug] stats: loading unit id=481552
- 2024/12/08 11:22:37.093195 6014#809 [debug] stats: loading unit id=481553
- 2024/12/08 11:22:37.093562 6014#809 [debug] stats: loading unit id=481554
- 2024/12/08 11:22:37.093933 6014#809 [debug] stats: loading unit id=481555
- 2024/12/08 11:22:37.094287 6014#809 [debug] stats: loading unit id=481556
- 2024/12/08 11:22:37.094664 6014#809 [debug] stats: loading unit id=481557
- 2024/12/08 11:22:37.095037 6014#809 [debug] stats: loading unit id=481558
- 2024/12/08 11:22:37.095400 6014#809 [debug] stats: loading unit id=481559
- 2024/12/08 11:22:37.095748 6014#809 [debug] stats: loading unit id=481560
- 2024/12/08 11:22:37.096154 6014#809 [debug] stats: loading unit id=481561
- 2024/12/08 11:22:37.096548 6014#809 [debug] stats: loading unit id=481562
- 2024/12/08 11:22:37.096950 6014#809 [debug] stats: prepared data elapsed=8.991698ms
- 2024/12/08 11:22:37.097184 6014#809 [debug] finished GET 192.168.111.1:3000 /control/stats in 9.496989ms
- 2024/12/08 11:22:37.102405 6014#779 [debug] started GET 192.168.111.1:3000 /control/stats/config
- 2024/12/08 11:22:37.102631 6014#779 [debug] finished GET 192.168.111.1:3000 /control/stats/config in 273.276µs
- 2024/12/08 11:22:37.110470 6014#809 [debug] started GET 192.168.111.1:3000 /control/tls/status
- 2024/12/08 11:22:37.110739 6014#809 [debug] finished GET 192.168.111.1:3000 /control/tls/status in 295.523µs
- 2024/12/08 11:22:37.125510 6014#809 [debug] started GET 192.168.111.1:3000 /control/profile
- 2024/12/08 11:22:37.125734 6014#809 [debug] finished GET 192.168.111.1:3000 /control/profile in 275.97µs
- 2024/12/08 11:22:37.139706 6014#809 [debug] started GET 192.168.111.1:3000 /control/clients/find?
- 2024/12/08 11:22:37.139916 6014#809 [debug] finished GET 192.168.111.1:3000 /control/clients/find? in 265.346µs

有问题的是安装IPK的时候 图片
image

那我知道是什么问题了,这个文件确实权限,你要用winscp登录openwrt,然后进入到/etc/init.d文件夹,找到AdGuardHome文件,将权限改成下图所示,然后再试试。 image image

实际上 我第一次安装完就赋权775了 ,但是没效果

@MIAOBUSI
Copy link

MIAOBUSI commented Dec 8, 2024

image 我看你的截图这最上面有个黄色提示,这个正常来说就是提示存在fw3和fw4混合规则

那个是root登录警告

2024-12-08_110703
强制更新日志似乎没啥问题

- 96 9749k   96 9390k    0     0  86686      0  0:01:55  0:01:50  0:00:05  125k
-  97 9749k   97 9521k    0     0  87099      0  0:01:54  0:01:51  0:00:03  124k
-  99 9749k   99 9694k    0     0  87899      0  0:01:53  0:01:52  0:00:01  130k
- 100 9749k  100 9749k    0     0  87971      0  0:01:53  0:01:53 --:--:--  128k
- download success start copy
- start copy
- AdGuardHome service disabled
- Command failed: ubus call service delete { "name": "AdGuardHome", "instance": "nobackup" } (Not found)
- workdir is a f2fs filesystem
- AdGuardHome service enabled
- luci enable switch=1
- Succeeded in updating core.
- Local version: v0.107.54, cloud version: v0.107.54.
- 2024/12/08 11:20:49.302394 6014#701 [debug] auth: removed session from DB 
- 2024/12/08 11:20:49.302587 6014#701 [debug] auth: raddr 192.168.111.102:50162: invalid cookie value: "agh_session=2137299036b530e04726a6e2db5abc62"
- 2024/12/08 11:20:49.302707 6014#701 [debug] auth: raddr 192.168.111.102:50162: redirected to login page
- 2024/12/08 11:20:49.328741 6014#701 [debug] auth: raddr 192.168.111.102:50162: invalid cookie value: "agh_session=2137299036b530e04726a6e2db5abc62"
- 2024/12/08 11:20:55.111996 6014#701 [debug] started POST 192.168.111.1:3000 /control/login
- 2024/12/08 11:20:55.377135 6014#701 [debug] auth: created session c9bd1741573a3204ac44c4381326aa04: expire=1733629255
- 2024/12/08 11:20:55.377302 6014#701 [info] auth: user "root" successfully logged in from ip 192.168.111.102
- 2024/12/08 11:20:55.377477 6014#701 [debug] finished POST 192.168.111.1:3000 /control/login in 265.536214ms
- 2024/12/08 11:20:56.331534 6014#701 [debug] started GET 192.168.111.1:3000 /control/status
- 2024/12/08 11:20:56.333207 6014#701 [debug] finished GET 192.168.111.1:3000 /control/status in 1.662865ms
- 2024/12/08 11:20:56.949802 6014#701 [debug] started GET 192.168.111.1:3000 /control/access/list
- 2024/12/08 11:20:56.950093 6014#701 [debug] finished GET 192.168.111.1:3000 /control/access/list in 327.784µs
- 2024/12/08 11:20:56.965084 6014#701 [debug] started GET 192.168.111.1:3000 /control/stats
- 2024/12/08 11:20:56.965581 6014#701 [debug] stats: loading unit id=481540
- 2024/12/08 11:20:56.966096 6014#701 [debug] stats: loading unit id=481541
- 2024/12/08 11:20:56.966600 6014#701 [debug] stats: loading unit id=481542
- 2024/12/08 11:20:56.966605 6014#718 [debug] started GET 192.168.111.1:3000 /control/stats/config
- 2024/12/08 11:20:56.966952 6014#718 [debug] finished GET 192.168.111.1:3000 /control/stats/config in 379.516µs
- 2024/12/08 11:20:56.967062 6014#701 [debug] stats: loading unit id=481543
- 2024/12/08 11:20:56.967498 6014#701 [debug] stats: loading unit id=481544
- 2024/12/08 11:20:56.967932 6014#701 [debug] stats: loading unit id=481545
- 2024/12/08 11:20:56.968333 6014#701 [debug] stats: loading unit id=481546
- 2024/12/08 11:20:56.968800 6014#701 [debug] stats: loading unit id=481547
- 2024/12/08 11:20:56.969244 6014#701 [debug] stats: loading unit id=481548
- 2024/12/08 11:20:56.969623 6014#701 [debug] stats: loading unit id=481549
- 2024/12/08 11:20:56.970068 6014#701 [debug] stats: loading unit id=481550
- 2024/12/08 11:20:56.970350 6014#756 [debug] dnsforward: dialing "static.adtidy.org:443" for network "tcp"
- 2024/12/08 11:20:56.970560 6014#701 [debug] stats: loading unit id=481551
- 2024/12/08 11:20:56.971143 6014#701 [debug] stats: loading unit id=481552
- 2024/12/08 11:20:56.971753 6014#701 [debug] stats: loading unit id=481553
- 2024/12/08 11:20:56.972200 6014#701 [debug] stats: loading unit id=481554
- 2024/12/08 11:20:56.972661 6014#701 [debug] stats: loading unit id=481555
- 2024/12/08 11:20:56.973074 6014#701 [debug] stats: loading unit id=481556
- 2024/12/08 11:20:56.973426 6014#701 [debug] stats: loading unit id=481557
- 2024/12/08 11:20:56.973786 6014#701 [debug] stats: loading unit id=481558
- 2024/12/08 11:20:56.974146 6014#701 [debug] stats: loading unit id=481559
- 2024/12/08 11:20:56.974543 6014#701 [debug] stats: loading unit id=481560
- 2024/12/08 11:20:56.974905 6014#701 [debug] stats: loading unit id=481561
- 2024/12/08 11:20:56.975267 6014#701 [debug] stats: loading unit id=481562
- 2024/12/08 11:20:56.975667 6014#701 [debug] stats: prepared data elapsed=10.355936ms
- 2024/12/08 11:20:56.975885 6014#701 [debug] finished GET 192.168.111.1:3000 /control/stats in 10.849691ms
- 2024/12/08 11:20:56.977125 6014#754 [debug] started GET 192.168.111.1:3000 /control/tls/status
- 2024/12/08 11:20:56.977404 6014#754 [debug] finished GET 192.168.111.1:3000 /control/tls/status in 316.776µs
- 2024/12/08 11:20:56.978869 6014#758 [debug] dnsproxy: resolved src=upstream rtt=8.256358ms
- 2024/12/08 11:20:56.978870 6014#757 [debug] dnsproxy: resolved src=upstream rtt=8.180686ms
- 2024/12/08 11:20:56.979200 6014#756 [debug] dnsforward: resolved "static.adtidy.org": [89.187.187.5 89.187.187.10 89.187.187.13 89.187.187.20 143.244.51.53 143.244.51.59 143.244.51.245 143.244.51.249 2a02:6ea0:c800::23 2a02:6ea0:c800::24 2a02:6ea0:c800::25 2a02:6ea0:c800::26 2a02:6ea0:c800::27 2a02:6ea0:c800::31 2a02:6ea0:c800::32 2a02:6ea0:c800::33]
- 2024/12/08 11:20:56.984879 6014#701 [debug] started GET 192.168.111.1:3000 /control/profile
- 2024/12/08 11:20:56.985113 6014#701 [debug] finished GET 192.168.111.1:3000 /control/profile in 278.671µs
- 2024/12/08 11:20:57.011979 6014#701 [debug] started GET 192.168.111.1:3000 /control/clients/find?
- 2024/12/08 11:20:49.302394 6014#701 [debug] auth: removed session from DB2024/12/08 11:20:57.012220 6014#701 [debug] finished GET 192.168.111.1:3000 /control/clients/find? in 329.863µs
- 2024/12/08 11:20:49.302587 6014#701 [debug] auth: raddr 192.168.111.102:50162: invalid cookie value: "agh_session=2137299036b530e04726a6e2db5abc62"
- 2024/12/08 11:20:49.302707 6014#701 [debug] auth: raddr 192.168.111.102:50162: redirected to login page
- 2024/12/08 11:20:49.328741 6014#701 [debug] auth: raddr 192.168.111.102:50162: invalid cookie value: "agh_session=2137299036b530e04726a6e2db5abc62"
- 2024/12/08 11:20:55.111996 6014#701 [debug] started POST 192.168.111.1:3000 /control/login
- 2024/12/08 11:20:55.377135 6014#701 [debug] auth: created session c9bd1741573a3204ac44c4381326aa04: expire=1733629255
- 2024/12/08 11:20:55.377302 6014#701 [info] auth: user "root" successfully logged in from ip 192.168.111.102
- 2024/12/08 11:20:55.377477 6014#701 [debug] finished POST 192.168.111.1:3000 /control/login in 265.536214ms
- 2024/12/08 11:20:56.331534 6014#701 [debug] started GET 192.168.111.1:3000 /control/status
- 2024/12/08 11:20:56.333207 6014#701 [debug] finished GET 192.168.111.1:3000 /control/status in 1.662865ms
- 2024/12/08 11:20:56.949802 6014#701 [debug] started GET 192.168.111.1:3000 /control/access/list
- 2024/12/08 11:20:56.950093 6014#701 [debug] finished GET 192.168.111.1:3000 /control/access/list in 327.784µs
- 2024/12/08 11:20:56.965084 6014#701 [debug] started GET 192.168.111.1:3000 /control/stats
- 2024/12/08 11:20:56.965581 6014#701 [debug] stats: loading unit id=481540
- 2024/12/08 11:20:56.966096 6014#701 [debug] stats: loading unit id=481541
- 2024/12/08 11:20:56.966600 6014#701 [debug] stats: loading unit id=481542
- 2024/12/08 11:20:56.966605 6014#718 [debug] started GET 192.168.111.1:3000 /control/stats/config
- 2024/12/08 11:20:56.966952 6014#718 [debug] finished GET 192.168.111.1:3000 /control/stats/config in 379.516µs
- 2024/12/08 11:20:56.967062 6014#701 [debug] stats: loading unit id=481543
- 2024/12/08 11:20:56.967498 6014#701 [debug] stats: loading unit id=481544
- 2024/12/08 11:20:56.967932 6014#701 [debug] stats: loading unit id=481545
- 2024/12/08 11:20:56.968333 6014#701 [debug] stats: loading unit id=481546
- 2024/12/08 11:20:56.968800 6014#701 [debug] stats: loading unit id=481547
- 2024/12/08 11:20:56.969244 6014#701 [debug] stats: loading unit id=481548
- 2024/12/08 11:20:56.969623 6014#701 [debug] stats: loading unit id=481549
- 2024/12/08 11:20:56.970068 6014#701 [debug] stats: loading unit id=481550
- 2024/12/08 11:20:56.970350 6014#756 [debug] dnsforward: dialing "static.adtidy.org:443" for network "tcp"
- 2024/12/08 11:20:56.970560 6014#701 [debug] stats: loading unit id=481551
- 2024/12/08 11:20:56.971143 6014#701 [debug] stats: loading unit id=481552
- 2024/12/08 11:20:56.971753 6014#701 [debug] stats: loading unit id=481553
- 2024/12/08 11:20:56.972200 6014#701 [debug] stats: loading unit id=481554
- 2024/12/08 11:20:56.972661 6014#701 [debug] stats: loading unit id=481555
- 2024/12/08 11:20:56.973074 6014#701 [debug] stats: loading unit id=481556
- 2024/12/08 11:20:56.973426 6014#701 [debug] stats: loading unit id=481557
- 2024/12/08 11:20:56.973786 6014#701 [debug] stats: loading unit id=481558
- 2024/12/08 11:20:56.974146 6014#701 [debug] stats: loading unit id=481559
- 2024/12/08 11:20:56.974543 6014#701 [debug] stats: loading unit id=481560
- 2024/12/08 11:20:56.974905 6014#701 [debug] stats: loading unit id=481561
- 2024/12/08 11:20:56.975267 6014#701 [debug] stats: loading unit id=481562
- 2024/12/08 11:20:56.975667 6014#701 [debug] stats: prepared data elapsed=10.355936ms
- 2024/12/08 11:20:56.975885 6014#701 [debug] finished GET 192.168.111.1:3000 /control/stats in 10.849691ms
- 2024/12/08 11:20:56.977125 6014#754 [debug] started GET 192.168.111.1:3000 /control/tls/status
- 2024/12/08 11:20:56.977404 6014#754 [debug] finished GET 192.168.111.1:3000 /control/tls/status in 316.776µs
- 2024/12/08 11:20:56.978869 6014#758 [debug] dnsproxy: resolved src=upstream rtt=8.256358ms
- 2024/12/08 11:20:56.978870 6014#757 [debug] dnsproxy: resolved src=upstream rtt=8.180686ms
- 2024/12/08 11:20:56.979200 6014#756 [debug] dnsforward: resolved "static.adtidy.org": [89.187.187.5 89.187.187.10 89.187.187.13 89.187.187.20 143.244.51.53 143.244.51.59 143.244.51.245 143.244.51.249 2a02:6ea0:c800::23 2a02:6ea0:c800::24 2a02:6ea0:c800::25 2a02:6ea0:c800::26 2a02:6ea0:c800::27 2a02:6ea0:c800::31 2a02:6ea0:c800::32 2a02:6ea0:c800::33]
- 2024/12/08 11:20:56.984879 6014#701 [debug] started GET 192.168.111.1:3000 /control/profile
- 2024/12/08 11:20:56.985113 6014#701 [debug] finished GET 192.168.111.1:3000 /control/profile in 278.671µs
- 2024/12/08 11:20:57.011979 6014#701 [debug] started GET 192.168.111.1:3000 /control/clients/find?
- 2024/12/08 11:20:57.012220 6014#701 [debug] finished GET 192.168.111.1:3000 /control/clients/find? in 329.863µs2024/12/08 11:22:33.946915 6014#793 [debug] started GET 192.168.111.1:3000 /control/status
- 2024/12/08 11:22:33.948634 6014#793 [debug] finished GET 192.168.111.1:3000 /control/status in 1.70378ms2024/12/08 11:22:36.643278 6014#793 [debug] started GET 192.168.111.1:3000 /control/status
- 2024/12/08 11:22:36.645172 6014#793 [debug] finished GET 192.168.111.1:3000 /control/status in 1.872979ms
- 2024/12/08 11:22:37.081707 6014#809 [debug] started GET 192.168.111.1:3000 /control/access/list
- 2024/12/08 11:22:37.081932 6014#809 [debug] finished GET 192.168.111.1:3000 /control/access/list in 279.819µs
- 2024/12/08 11:22:37.087729 6014#809 [debug] started GET 192.168.111.1:3000 /control/stats
- 2024/12/08 11:22:37.088115 6014#809 [debug] stats: loading unit id=481540
- 2024/12/08 11:22:37.088603 6014#809 [debug] stats: loading unit id=481541
- 2024/12/08 11:22:37.088974 6014#809 [debug] stats: loading unit id=481542
- 2024/12/08 11:22:37.089330 6014#809 [debug] stats: loading unit id=481543
- 2024/12/08 11:22:37.089716 6014#809 [debug] stats: loading unit id=481544
- 2024/12/08 11:22:37.090080 6014#809 [debug] stats: loading unit id=481545
- 2024/12/08 11:22:37.090436 6014#809 [debug] stats: loading unit id=481546
- 2024/12/08 11:22:37.090792 6014#809 [debug] stats: loading unit id=481547
- 2024/12/08 11:22:37.091152 6014#809 [debug] stats: loading unit id=481548
- 2024/12/08 11:22:37.091564 6014#809 [debug] stats: loading unit id=481549
- 2024/12/08 11:22:37.091931 6014#809 [debug] stats: loading unit id=481550
- 2024/12/08 11:22:37.092360 6014#809 [debug] stats: loading unit id=481551
- 2024/12/08 11:22:37.092808 6014#809 [debug] stats: loading unit id=481552
- 2024/12/08 11:22:37.093195 6014#809 [debug] stats: loading unit id=481553
- 2024/12/08 11:22:37.093562 6014#809 [debug] stats: loading unit id=481554
- 2024/12/08 11:22:37.093933 6014#809 [debug] stats: loading unit id=481555
- 2024/12/08 11:22:37.094287 6014#809 [debug] stats: loading unit id=481556
- 2024/12/08 11:22:37.094664 6014#809 [debug] stats: loading unit id=481557
- 2024/12/08 11:22:37.095037 6014#809 [debug] stats: loading unit id=481558
- 2024/12/08 11:22:37.095400 6014#809 [debug] stats: loading unit id=481559
- 2024/12/08 11:22:37.095748 6014#809 [debug] stats: loading unit id=481560
- 2024/12/08 11:22:37.096154 6014#809 [debug] stats: loading unit id=481561
- 2024/12/08 11:22:37.096548 6014#809 [debug] stats: loading unit id=481562
- 2024/12/08 11:22:37.096950 6014#809 [debug] stats: prepared data elapsed=8.991698ms
- 2024/12/08 11:22:37.097184 6014#809 [debug] finished GET 192.168.111.1:3000 /control/stats in 9.496989ms
- 2024/12/08 11:22:37.102405 6014#779 [debug] started GET 192.168.111.1:3000 /control/stats/config
- 2024/12/08 11:22:37.102631 6014#779 [debug] finished GET 192.168.111.1:3000 /control/stats/config in 273.276µs
- 2024/12/08 11:22:37.110470 6014#809 [debug] started GET 192.168.111.1:3000 /control/tls/status
- 2024/12/08 11:22:37.110739 6014#809 [debug] finished GET 192.168.111.1:3000 /control/tls/status in 295.523µs
- 2024/12/08 11:22:37.125510 6014#809 [debug] started GET 192.168.111.1:3000 /control/profile
- 2024/12/08 11:22:37.125734 6014#809 [debug] finished GET 192.168.111.1:3000 /control/profile in 275.97µs
- 2024/12/08 11:22:37.139706 6014#809 [debug] started GET 192.168.111.1:3000 /control/clients/find?
- 2024/12/08 11:22:37.139916 6014#809 [debug] finished GET 192.168.111.1:3000 /control/clients/find? in 265.346µs

有问题的是安装IPK的时候 图片
image

那我知道是什么问题了,这个文件确实权限,你要用winscp登录openwrt,然后进入到/etc/init.d文件夹,找到AdGuardHome文件,将权限改成下图所示,然后再试试。 image image

实际上 我第一次安装完就赋权775了 ,但是没效果

image
查看一下这个位置是否正确添加这些子项

@GoogleBeEvil
Copy link

查看一下这个位置是否正确添加这些子项

捕获

@MIAOBUSI
Copy link

查看一下这个位置是否正确添加这些子项

捕获

AdGuardHome.zip
你这个是旁路由么?将这个文件替换之/etc/init.d下,然后再试试吧。

@GoogleBeEvil
Copy link

查看一下这个位置是否正确添加这些子项

捕获

AdGuardHome.zip 你这个是旁路由么?将这个文件替换之/etc/init.d下,然后再试试吧。

无效的,我这个路由是二级路由,用无线中继上级路由

@MIAOBUSI
Copy link

查看一下这个位置是否正确添加这些子项

捕获

AdGuardHome.zip 你这个是旁路由么?将这个文件替换之/etc/init.d下,然后再试试吧。

无效的,我这个路由是二级路由,用无线中继上级路由

二级路由那就不知道了,只有一级路由的话测试是没问题

@GoogleBeEvil
Copy link

GoogleBeEvil commented Dec 12, 2024

应该是规则有问题
下面这个方法在我是生效的。他的规则写法和你的似乎有些区别,先生成了表和链,再把规则添加进链,看你的代码似乎只是把iptable转成了nft,没有添加表、链这一步

添加 转发到adguardhome 1053端口
nft add table inet adguardhome
nft add chain inet adguardhome prerouting "{ type nat hook prerouting priority -110; policy accept; }"
nft add rule inet adguardhome prerouting "meta nfproto { ipv4, ipv6 } udp dport 53 counter redirect to :1053 comment \"ADGUARDHOME HIJACK\""

# 清理
! nft --check list table inet adguardhome > "/dev/null" 2>&1 || nft delete table inet adguardhome

另外:最新版的openwrt 23.05.5 安装已经无效了,连菜单都不会出现

@MIAOBUSI
Copy link

应该是规则有问题 下面这个方法在我是生效的。他的规则写法和你的似乎有些区别,先生成了表和链,再把规则添加进链,看你的代码似乎只是把iptable转成了nft,没有添加表、链这一步

添加 转发到adguardhome 1053端口
nft add table inet adguardhome
nft add chain inet adguardhome prerouting "{ type nat hook prerouting priority -110; policy accept; }"
nft add rule inet adguardhome prerouting "meta nfproto { ipv4, ipv6 } udp dport 53 counter redirect to :1053 comment \"ADGUARDHOME HIJACK\""

# 清理
! nft --check list table inet adguardhome > "/dev/null" 2>&1 || nft delete table inet adguardhome

另外:最新版的openwrt 23.05.5 安装已经无效了,连菜单都不会出现

image
image
我今天抽空重新安装了系统,并使用的是immowrt 24.10版本依然没出现问题

@liyiranlab
Copy link
Author

大佬,nb,之前用的luci全部都无法联网,明天试试你的这个。

@MIAOBUSI
Copy link

大佬,nb,之前用的luci全部都无法联网,明天试试你的这个。

昨天重装发现AdGuardHome存在权限问题,首次安装需要自己手动用winscp登录openwrt,然后进入到/etc/init.d文件夹,找到AdGuardHome文件,将权限改成0777

@liyiranlab
Copy link
Author

更新到主线最新的版本,无法联网,提示Failed to check latest version, please try again later.
我用的AX6是nss版本,不知道是什么问题。后面再看看别的版本。

@liyiranlab
Copy link
Author

24.10也是一样,我试试不用nss版本,看看是否正常。

@GoogleBeEvil
Copy link

看来我得弄个虚拟机镜像 来测试了

@MIAOBUSI
Copy link

更新到主线最新的版本,无法联网,提示Failed to check latest version, please try again later. 我用的AX6是nss版本,不知道是什么问题。后面再看看别的版本。

Failed to check latest version, please try again later.这个是你无法访问github把,路由的科学上网是否正常呢,因为下载镜像是需要通过github下载

@MIAOBUSI
Copy link

看来我得弄个虚拟机镜像 来测试了

换个环境测试下试试吧,目前我发现的就只是首次安装后/etc/init.d/AdGuardHome文件存在权限问题,手动重新修改文件权限就没问题了

@liyiranlab
Copy link
Author

更新到主线最新的版本,无法联网,提示Failed to check latest version, please try again later. 我用的AX6是nss版本,不知道是什么问题。后面再看看别的版本。

Failed to check latest version, please try again later.这个是你无法访问github把,路由的科学上网是否正常呢,因为下载镜像是需要通过github下载

Failed to check latest version, please try again later.
/usr/bin/curl
imm天灵主线360T7,还是无法访问,用带bin的adg可以使用,但是无法更新,我上级路由器是代理了的,浏览器也可以正常打开下载目录。更多信息我不知道去哪看?

@liyiranlab
Copy link
Author

我感觉是主线改了一些东西,之前wifi配置无法保存,hp无法保存,前几天才修复的。

@liyiranlab
Copy link
Author

另外,360T7系统日志提示:Mon Dec 30 12:51:34 2024 daemon.err uhttpd[2159]: grep: /etc/AdGuardHome.yaml: No such file or directory

@MIAOBUSI
Copy link

更新到主线最新的版本,无法联网,提示Failed to check latest version, please try again later. 我用的AX6是nss版本,不知道是什么问题。后面再看看别的版本。

Failed to check latest version, please try again later.这个是你无法访问github把,路由的科学上网是否正常呢,因为下载镜像是需要通过github下载

Failed to check latest version, please try again later. /usr/bin/curl imm天灵主线360T7,还是无法访问,用带bin的adg可以使用,但是无法更新,我上级路由器是代理了的,浏览器也可以正常打开下载目录。更多信息我不知道去哪看?

你的是属于旁路由还是二级路由,如果属于旁路由是要指定DNS,二级路由不应该会出现这种问题

@MIAOBUSI
Copy link

另外,360T7系统日志提示:Mon Dec 30 12:51:34 2024 daemon.err uhttpd[2159]: grep: /etc/AdGuardHome.yaml: No such file or directory

这个是提示 /etc/AdGuardHome.yaml这个目录下配置文件不存在

@liyiranlab
Copy link
Author

liyiranlab commented Dec 30, 2024

二级路由和旁路由都有,有nss的二级路由,测试用的,T7是旁路由,接成ap使用中,旁路由自身关闭ipv6防止污染,passwall测试旁路由自身ipv4是通的,上级主路由代理,t7旁路由自身翻墙也正常。

@liyiranlab
Copy link
Author

/usr/bin/curl
Local version: v0.107.53., cloud version: v0.107.55.
Updating core...
/usr/share/AdGuardHome/update_core.sh: line 125: opkg: not found
error not support if you can use offical release please issue a bug
主路由AX6nss,用的是 https://github.com/kenzok8/openwrt-packages 源码。

@liyiranlab
Copy link
Author

启动项 没有adg

@liyiranlab
Copy link
Author

用上面带bin的版本,openwrt主线能开启但是无法正常使用。

@MIAOBUSI
Copy link

用上面带bin的版本,openwrt主线能开启但是无法正常使用。

我那个版本启动项没有adg么

@MIAOBUSI
Copy link

用上面带bin的版本,openwrt主线能开启但是无法正常使用。

我的版本启动项没有adg是正常的,因为我的核心是独立的,它可以在luci上面进行安装更新的

@liyiranlab
Copy link
Author

liyiranlab commented Dec 30, 2024

你的好像启动项好像也没有,带bin的版本不能更新,可以启动,可以打开界面,但是好像工作不正常,我设置53端口,但是没捕捉到几个客户端,实际数据不对。

@MIAOBUSI
Copy link

你的好像启动项好像也没有,带bin的版本不能更新,可以启动,可以打开界面,但是好像工作不正常,我设置53端口,但是没捕捉到几个客户端,实际数据不对。

我这个版本是没有启动项的,因为是不带核心的版本,核心是独立的,它只是一个用于启动和调用adg的luci

@liyiranlab
Copy link
Author

不能吧,我写了个ipv6监控的脚本,放init.d里面都有启动项。

@MIAOBUSI
Copy link

不能吧,我写了个ipv6监控的脚本,放init.d里面都有启动项。

image
这是我自己下面运行脚本 依然是没有,但是是正常使用的

@liyiranlab
Copy link
Author

liyiranlab commented Dec 31, 2024

可能有错误,导致没有正常加载,init.d有文件就应该有;个人猜测。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants