MetaCubeX / mihomo

A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.
https://wiki.metacubex.one
MIT License
16.84k stars 2.67k forks source link

[Bug] direct节点的tfo为True时,无法联网 #1568

Closed dycwuxing closed 1 month ago

dycwuxing commented 1 month ago

Verify steps

Operating System

MacOS, Windows

System Version

MacOS13 Win11

Mihomo Version

alpha-c63a851

Configuration File

以下节点配置,TUN下无法正常访问国内网络
proxies:
- {"name":"直连","type":"direct","ip-version":"ipv4-prefer","udp":true,"tfo":true,"mptcp":true}

Description

在TUN模式下,如果"tfo":true,提示"invalid argument",没有返回fakeip是因为filter添加了黑名单 proxies:

在TUN模式下,如果"tfo":false,正常访问 proxies:

Reproduction Steps

当direct节点配置tfo:true时

Logs

No response

xishang0128 commented 1 month ago

image image image 测试无问题,请确保你的环境支持tfo