出站代理配置"network": "tcp",日志显示UDP is not supported by outbound
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- go, ios
- Ambito
- backend, networking
Direzione di ricerca
The report shows QUIC being sniffed and then rejected because the configured Trojan outbound supports TCP only. Start by tracing the router log path for “UDP is not supported by outbound” and how sniffed QUIC traffic is handled. Reproduce with the provided Safari and outbound configuration; done means the reported log behavior is improved or suppressed without hiding actionable errors.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
操作系统
iOS
系统版本
27.2.1
安装类型
sing-box for iOS 图形客户端程序
如果您使用图形客户端程序,请提供该程序版本。
1.14.4
版本
描述
在没有拦截quic流量情况下,正常上网会大量产生这类日志,希望优化这类日志显示或者不显示。
重现方式
使用safari浏览器打开https://www.cloudflare.com/cdn-cgi/trace
{
"log": {
"level": "info"
},
"dns": {
"servers": [
{
"type": "fakeip",
"tag": "fakeip",
"inet4_range": "198.18.0.0/15"
},
{
"type": "local",
"tag": "local"
}
],
"rules": [
{
"query_type": "HTTPS",
"action": "predefined",
"answer": "*. HTTPS 1 . alpn=h3"
},
{
"query_type": "A",
"server": "fakeip"
}
],
"final": "local",
"strategy": "ipv4_only",
"optimistic": true
},
"inbounds": [
{
"type": "tun",
"tag": "tun",
"address": "172.18.0.1/30",
"auto_route": true
}
],
"outbounds": [
{
"type": "direct",
"tag": "direct"
},
{
"type": "trojan",
"tag": "test",
"server": "",
"server_port":,
"password": "",
"network": "tcp",
"tls": {
"enabled": true,
"server_name": ""
},
"transport": {
"type": "ws",
"headers": {
"Host": ""
}
}
}
],
"route": {
"rules": [
{
"action": "sniff"
}
],
"final": "test",
"auto_detect_interface": true,
"default_domain_resolver": "local"
}
}
日志
INFO[0006] [690053424 0ms] inbound/tun[tun]: inbound packet connection from 172.18.0.1:58475
INFO[0006] [690053424 0ms] inbound/tun[tun]: inbound packet connection to 198.18.0.7:443
DEBUG[0006] [690053424 0ms] router: found fakeip domain: www.cloudflare.com
DEBUG[0006] [690053424 0ms] router: match[0] => sniff
DEBUG[0006] [690053424 0ms] router: attempt to sniff fragmented QUIC client hello
DEBUG[0006] [690053424 0ms] router: sniffed packet protocol: quic, domain: www.cloudflare.com, client: unknown
ERROR[0006] [690053424 0ms] router: UDP is not supported by outbound: test
支持我们
- 我已经 赞助
完整性要求
- 我保证阅读了文档,了解所有我编写的配置文件项的含义,而不是大量堆砌看似有用的选项或默认值。
- 我保证提供了可以在本地重现该问题的服务器、客户端配置文件与流程,而不是一个脱敏的复杂客户端配置文件。
- 我保证提供了可用于重现我报告的错误的最简配置,而不是依赖远程服务器、TUN、图形界面客户端或者其他闭源软件。
- 我保证提供了完整的配置文件与日志,而不是出于对自身智力的自信而仅提供了部分认为有用的部分。
- Lingua principale
- Go
- Stelle
- 40.4k
- Fork
- 5k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SagerNet/sing-box
-
`check` and startup are quadratic in outbound group size since 1.14.4 (duplicate tag check)Forse già presa @Tidehyc l’ha presa 5 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
database file removal errorsAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 89/100
Tutte le issue di SagerNet/sing-box
Issue simili
-
bug effort:s impact:med raised-by:worker risk:low to:worker
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
medici-finance/assay#8120 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
factory:subtask
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
agent-substrate/substrate#4308 ·
I maintainer di solito rispondono entro 2 giorni
-
ci good first issue severity: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
TMHSDigital/Spackle#206 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
celestiaorg/celestia-app#8877 ·
I maintainer di solito rispondono entro 1 giorno