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

[BUG]新版会阻断ipv6 #441

Open
7 tasks done
CRY1221 opened this issue Feb 24, 2025 · 12 comments
Open
7 tasks done

[BUG]新版会阻断ipv6 #441

CRY1221 opened this issue Feb 24, 2025 · 12 comments
Labels
bug Something isn't working

Comments

@CRY1221
Copy link

CRY1221 commented Feb 24, 2025

Self-check / 自查

  • DNSMASQ's DNS Redirect option is turned off (ignore if not applicable) / 已经关闭了DNSMASQ的DNS 重定向选项(如无此项请忽略)
  • The other proxy app has been stopped and the environment is normal / 已停止运行其他代理插件,并确认环境正常

Confirm / 确认

  • I have checked the Wiki and found no solution / 我已经查看过Wiki,没有找到解决办法
  • I have searched the Issue and found no related issues / 我已经搜索过Issue,没有找到相关问题
  • I am using the latest version of the app which is build from this repository / 我使用的是本仓库构建的最新版的插件
  • I provided information which does not include sensitive information / 我提供的信息里不包含敏感信息
  • I have provided correct, valid, and helpful information for debugging / 我提供了正确的、有效的、可以帮助DEBUG的信息

BUG Description / BUG 描述

硬件版本:倍思G48S(J4125+i226),软件版本:immortalWrt24.10+nikki1.19.3,机场不支持ipv6

不开启插件的情况下,ipv6解析、访问都正常。

Image

1、开启插件(A:劫持ipv4+ipv6,代理ipv4+ipv6),ipv6解析、访问都被阻断。注:在24.05以及插件未改名的时候,ipv6解析访问都正常。另外,在这个情况下doh解析ipv6时会提示could not find ip,dot不提示,但是依然不能正常解析。

Image

2、开启插件(B:劫持ipv4+ipv6,仅代理ipv4),ipv6解析、访问都被阻断

Image

3、开启插件(C:仅劫持ipv4,仅代理ipv4),ipv6解析、访问都被阻断

Image

差不多就这个情况,如果我期望在开启透明代理的同时,ipv6也可以正常使用,应该怎么做?或者,这就是个bug?

Expected Behavior / 预期行为

怀疑是24.10的问题

Reproduction Steps / 复现步骤

不开启插件,ipv6可以正常解析及访问,开启后不能

Debug Log / 调试日志

time="2025-02-24T18:43:04.122013387+08:00" level=warning msg="[TCP] dial 直连 (match RuleSet/MyDirect) 192.168.5.115:38099 --> nas.top:62443 error: dns resolve failed: couldn't find ip"
time="2025-02-24T18:43:06.545488123+08:00" level=warning msg="[TCP] dial 直连 (match RuleSet/MyDirect) 192.168.5.115:38100 --> nas.top:62443 error: dns resolve failed: couldn't find ip"
time="2025-02-24T18:43:06.546738136+08:00" level=warning msg="[TCP] dial 直连 (match RuleSet/MyDirect) 192.168.5.115:38101 --> nas.top:62443 error: dns resolve failed: couldn't find ip"

Plugin Log / 插件日志

同上

Core Log / 核心日志

同上

Additional Information / 附加信息

No response

@CRY1221 CRY1221 added the bug Something isn't working label Feb 24, 2025
@morytyann
Copy link
Collaborator

贴调试信息!

@CRY1221
Copy link
Author

CRY1221 commented Feb 24, 2025

贴调试信息!

0.0不会。。。。日志在什么位置?或者用哪种方式能提供更多信息?

@morytyann
Copy link
Collaborator

插件的日志->调试日志

@morytyann
Copy link
Collaborator

image

@nikkinikki-org nikkinikki-org deleted a comment from CRY1221 Feb 24, 2025
@nikkinikki-org nikkinikki-org deleted a comment from CRY1221 Feb 24, 2025
@morytyann
Copy link
Collaborator

我用你说的三种情况都测试了,均不能复现,ipw的检测都是有地址的。

@CRY1221
Copy link
Author

CRY1221 commented Feb 24, 2025

debug.md

日志已上传

@CRY1221
Copy link
Author

CRY1221 commented Feb 24, 2025

我用你说的三种情况都测试了,均不能复现,ipw的检测都是有地址的。

0.o,那我就没辙了,可能是我哪里配置的问题吧,早知道不折腾24.10了。。

@morytyann
Copy link
Collaborator

DNS模式不选Normal试试。

@morytyann
Copy link
Collaborator

注意需要清一下设备的DNS缓存,否则可能还是检测不到。

@1123123w
Copy link

把dns劫持关了,能好,碰巧我也遇到了这个问题,grok帮助下无法排错。grok判断是fakeip不支持ipv6(返回虚拟ipv4,不会返回ipv6),又或者是dns的端口冲突,毕竟不是搞技术的。只能什么都试一试。但还是没解决办法。

@morytyann
Copy link
Collaborator

@1123123w 目前Mihomo的Fake-IP确实没有IPv6,但不影响测试IPv6,因为可以IPv4进IPv6出。

这个问题,方向上应该就是DNS和分流规则导致的,具体原因还是需要调试日志来排查。

@1123123w
Copy link

@1123123w 目前Mihomo的Fake-IP确实没有IPv6,但不影响测试IPv6,因为可以IPv4进IPv6出。

这个问题,方向上应该就是DNS和分流规则导致的,具体原因还是需要调试日志来排查。

昨天编辑过回复,不知道为什么没保存。我后面想想我的跟他的问题不一样,我只是ping不通。后面改成另一个dns模式,就好了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants