Skip to content

用naive quic做出口,有几率发生:UDP is not supported by outbound #3955

@dev4u

Description

@dev4u

操作系统

Android

系统版本

android 16

安装类型

sing-box for Android 图形客户端程序

如果您使用图形客户端程序,请提供该程序版本。

1.14.0 alpha 16

版本

描述

使用naive quic协议做出口时,不定时会出现router: UDP is not supported by outbound: select在日志中。
从日志上下文来看,程序把出口的流量重新做了一遍sniff?
P.S.下面是整个13932线程跑出来的日志。

DEBUG[13932] [3271855348 0ms] router: found reserve mapped domain: play-fe.googleapis.com
INFO[13932] [3691683852 0ms] router: found package name: com.android.vending
DEBUG[13932] [3691683852 0ms] router: found reserve mapped domain: play-fe.googleapis.com
DEBUG[13932] [3691683852 0ms] router: match[1] => sniff(50ms)
DEBUG[13932] [3271855348 0ms] router: match[1] => sniff(50ms)
DEBUG[13932] [3271855348 1ms] router: attempt to sniff fragmented QUIC client hello
DEBUG[13932] [3271855348 1ms] router: sniffed packet protocol: quic, domain: play-fe.googleapis.com, client: quic-go
DEBUG[13932] [3271855348 2ms] router: match[7] inbound=tun-in => route(select,udp-disable-domain-unmapping)
ERROR[13932] [3271855348 2ms] router: UDP is not supported by outbound: select
DEBUG[13932] [3691683852 1ms] router: sniffed protocol: tls, domain: play-fe.googleapis.com
DEBUG[13932] [3691683852 1ms] router: match[7] inbound=tun-in => route(select,udp-disable-domain-unmapping)
INFO[13932] [3691683852 1ms] outbound/naive[naive-udp]: outbound connection to 172.217.168.78:443
INFO[13932] router: found package name: com.android.vending
DEBUG[13932] router: found reserve mapped domain: play-fe.googleapis.com
INFO[13932] [3636877905 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:39269
INFO[13932] [3636877905 0ms] inbound/tun[tun-in]: inbound packet connection to 172.217.168.78:443
INFO[13932] [3636877905 0ms] router: found package name: com.android.vending
DEBUG[13932] [3636877905 0ms] router: found reserve mapped domain: play-fe.googleapis.com
DEBUG[13932] [3636877905 0ms] router: match[1] => sniff(50ms)
DEBUG[13932] [3636877905 0ms] router: attempt to sniff fragmented QUIC client hello
DEBUG[13932] [3691683852 311ms] outbound/naive[naive-udp]: response received, protocol: quic/1+spdy/3, status: 200
DEBUG[13932] [3636877905 50ms] router: connection closed: i/o timeout
DEBUG[13932] [411900700 576ms] dns: exchanged play.googleapis.com NOERROR 300
INFO[13932] [411900700 576ms] dns: exchanged A play.googleapis.com. 300 IN A 216.239.32.223
INFO[13932] [411900700 576ms] dns: exchanged A play.googleapis.com. 300 IN A 216.239.36.223
INFO[13932] [411900700 576ms] dns: exchanged A play.googleapis.com. 300 IN A 216.239.34.223
INFO[13932] [411900700 576ms] dns: exchanged A play.googleapis.com. 300 IN A 216.239.38.223
INFO[13932] router: found package name: com.android.vending
INFO[13932] [1863771428 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:44102
INFO[13932] [1863771428 0ms] inbound/tun[tun-in]: inbound packet connection to 172.19.0.2:53
INFO[13932] [1863771428 0ms] router: found package name: com.android.vending
DEBUG[13932] [1863771428 0ms] router: match[1] => sniff(50ms)
DEBUG[13932] [1863771428 0ms] router: sniffed packet protocol: dns
DEBUG[13932] [1863771428 0ms] router: match[2] protocol=dns => hijack-dns
DEBUG[13932] [1863771428 0ms] dns: exchange playstoregatewayadapter-pa.googleapis.com. IN A

重现方式

{
      "type": "naive",
      "tag": "naive-udp",
      "server": "",
      "server_port": 443,
      "bind_address_no_port": true,
      "username": ",
      "password": "=",
      "quic": true,
      "tls": {}
}

日志

支持我们

完整性要求

  • 我保证阅读了文档,了解所有我编写的配置文件项的含义,而不是大量堆砌看似有用的选项或默认值。
  • 我保证提供了可以在本地重现该问题的服务器、客户端配置文件与流程,而不是一个脱敏的复杂客户端配置文件。
  • 我保证提供了可用于重现我报告的错误的最简配置,而不是依赖远程服务器、TUN、图形界面客户端或者其他闭源软件。
  • 我保证提供了完整的配置文件与日志,而不是出于对自身智力的自信而仅提供了部分认为有用的部分。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions