-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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] Redir-Host(TUN)模式无法访问部分网站 #3915
Labels
bug
Something isn't working
Comments
quic之类的排查了吗 |
禁用 quic 之后,确实大部分的访问可以恢复,但是 Windows 的 OneDrive 客户端仍然会一直卡在 signing in,我用 Charles 抓了一下包,发现是卡在这个请求了,这个请求是走的 DIRECT,同样关了 OpenClash 或者切换为混合没问题,只有 tun 模式会卡住: ~ ❯ curl -v -H "Accept-Language: zh-CN" -H "Authorization: WLID1.1 t=xxx" -H "User-Agent: Microsoft SkyDriveSync 24.116.0609.0002 ship; Windows NT 10.0 (26100)" -H "Application: SkyDriveSync" -H "Prefer: Migration=EnableRedirect,Include-Feature=Vault" -H "Scenario: NthRun_StorageProvisioningScenario_NoTags_GetOnline/SyncEngineSignIn/ScopeInit/ProvisionUserFolder" -H "ScenarioType: AUO" -H "X-RequestStats: did=feb34f73-ba10-6381-32a6-e7e7a171b8e0;ccmr=7;ftuc=0;btuc=0;" -H "X-TransactionId: 5843f430-d1f8-48b2-b554-b1afedbb5d0aStorageProvisioningScenario" -H "X-UpdateGroupId: 25" -H "X-UpdateRing: Insiders" -H "Host: blz04pap002.storage.live.com" "https://blz04pap002.storage.live.com/MyData/LiveFolders"
* Host blz04pap002.storage.live.com:443 was resolved.
* IPv6: (none)
* IPv4: 13.107.42.12
* Trying 13.107.42.12:443...
* Connected to blz04pap002.storage.live.com (13.107.42.12) port 443
* schannel: disabled automatic use of client certificate
* ALPN: curl offers http/1.1
* ALPN: server accepted http/1.1
* using HTTP/1.x
> GET /MyData/LiveFolders HTTP/1.1
> Host: blz04pap002.storage.live.com
> Accept: */*
> Accept-Language: zh-CN
> Authorization: WLID1.1 t=xxx
> User-Agent: Microsoft SkyDriveSync 24.116.0609.0002 ship; Windows NT 10.0 (26100)
> Application: SkyDriveSync
> Prefer: Migration=EnableRedirect,Include-Feature=Vault
> Scenario: NthRun_StorageProvisioningScenario_NoTags_GetOnline/SyncEngineSignIn/ScopeInit/ProvisionUserFolder
> ScenarioType: AUO
> X-RequestStats: did=feb34f73-ba10-6381-32a6-e7e7a171b8e0;ccmr=7;ftuc=0;btuc=0;
> X-TransactionId: 5843f430-d1f8-48b2-b554-b1afedbb5d0aStorageProvisioningScenario
> X-UpdateGroupId: 25
> X-UpdateRing: Insiders
>
* schannel: remote party requests renegotiation
* schannel: renegotiating SSL/TLS connection
* schannel: SSL/TLS connection renegotiated
* Recv failure: Connection was reset
* schannel: recv returned CURLE_RECV_ERROR
* Closing connection
* schannel: shutting down SSL/TLS connection with blz04pap002.storage.live.com port 443
* Send failure: Connection was reset
* schannel: failed to send close msg: Failed sending data to the peer (bytes written: -1)
curl: (56) Recv failure: Connection was reset 连接详情: {
"id": "cd9a0227-b703-498e-885f-546ada15547f",
"metadata": {
"network": "tcp",
"type": "Tun",
"sourceIP": "192.168.1.2",
"destinationIP": "13.107.42.12",
"destinationGeoIP": null,
"destinationIPASN": "",
"sourcePort": "7746",
"destinationPort": "443",
"inboundIP": "13.107.42.12",
"inboundPort": "443",
"inboundName": "DEFAULT-TUN",
"inboundUser": "",
"host": "blz04pap002.storage.live.com",
"dnsMode": "redir-host",
"uid": 0,
"process": "",
"processPath": "",
"specialProxy": "",
"specialRules": "",
"remoteDestination": "13.107.42.12",
"dscp": 0,
"sniffHost": ""
},
"upload": 80,
"download": 9070,
"start": "2024-06-15T04:11:50.825385322Z",
"chains": [
"DIRECT",
"Ⓜ️ 微软云盘"
],
"rule": "DomainSuffix",
"rulePayload": "storage.live.com",
"downloadSpeed": 0,
"uploadSpeed": 0
} |
OneDrive直连能用? |
可以的 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Verify Steps
OpenClash Version
v0.46.014-beta
Bug on Environment
Lean
OpenWrt Version
OpenWrt R24.5.1 / LuCI Master (git-24.161.65201-d950dac)
Bug on Platform
Linux-amd64(x86-64)
Describe the Bug
使用 Redir-Host(TUN)模式时,部分网站(如微软系、Steam商店等)访问卡住,无论是命中代理的还是 Direct 的。
通过以下方式是可以正常访问的:
通过以下方式仍然存在问题:
通过 curl 执行卡住的结果如下:
To Reproduce
使用 Redir-Host(TUN)模式,访问 bing.com、login.live.com 等网站
OpenClash Log
OpenClash Config
No response
Expected Behavior
Redir-Host(TUN)模式可以正常访问
Additional Context
No response
The text was updated successfully, but these errors were encountered: