司辰

Results 22 comments of 司辰

> 你手机有 setcap 二进制吗? 有,用的termux自带的那个libcap

> > > 你手机有 setcap 二进制吗? > > > > > > 有,用的termux自带的那个libcap > > getcap /bin/mihomo 一下看看, `getcap /system/bin/mihomo`输出如下 ```bash /system/bin/mihomo cap_dac_read_search,cap_net_bind_service,cap_net_admin,cap_net_raw,cap_sys_ptrace=ep ``` `getcap /bin/mihomo`输出如下 ```bash /bin/mihomo cap_dac_read_search,cap_net_bind_service,cap_net_admin,cap_net_raw,cap_sys_ptrace=ep ```

> > > > 你手机有 setcap 二进制吗? > > > > > > > > > 有,用的termux自带的那个libcap > > > > > > getcap /bin/mihomo 一下看看, > > `getcap /system/bin/mihomo`输出如下...

> 那这就很奇怪了 还需要我提供啥信息吗

在日志中找到如下行 ```bash time="2025-03-07T13:45:28.489277228+08:00" level=error msg="Start TUN listening error: auto redirect: fork/exec /data/data/com.termux/files/usr/bin/su: permission denied: /system/bin/iptables -t nat -N mihomo-output: " ``` 猜测和此问题有关,一并附上

> 那这就很奇怪了 请问现在情况如何了,需要我继续补充相关信息和协助复现吗

> > 在日志中找到如下行 > > time="2025-03-07T13:45:28.489277228+08:00" level=error msg="Start TUN listening error: auto redirect: fork/exec /data/data/com.termux/files/usr/bin/su: permission denied: /system/bin/iptables -t nat -N mihomo-output: " > > 猜测和此问题有关,一并附上 > > auto redirect...

> 在日志中找到如下行 > > time="2025-03-07T13:45:28.489277228+08:00" level=error msg="Start TUN listening error: auto redirect: fork/exec /data/data/com.termux/files/usr/bin/su: permission denied: /system/bin/iptables -t nat -N mihomo-output: " > > 猜测和此问题有关,一并附上 打开auto redirect的情况下,运行`setenforce 0`并运行`./box.service restart`重启mihomo仍然有这一报错

> > > 在日志中找到如下行 > > > time="2025-03-07T13:45:28.489277228+08:00" level=error msg="Start TUN listening error: auto redirect: fork/exec /data/data/com.termux/files/usr/bin/su: permission denied: /system/bin/iptables -t nat -N mihomo-output: " > > > 猜测和此问题有关,一并附上 >...