Skip to content

HY2玩游戏UDP不通 #956

@CC-3301

Description

@CC-3301

Operating system

Linux

System version

OpenWrt

Installation type

Others

If you are using a graphical client, please provide the version of the client.

clash-meta alpha-7eae775

Version

sing-box version 1.6.0-alpha.3

Environment: go1.21.1 linux/amd64
Tags: with_gvisor,with_quic,with_dhcp,with_wireguard,with_ech,with_utls,with_reality_server,with_clash_api
Revision: e885666eb24c50022fd4f56e7ae46f02a49bd829
CGO: disabled

Description

用hy2玩游戏,能进入游戏,但无法完成匹配,服务端日志提示
DEBUG inbound/hysteria2[hy2-in]: connection failed: receive message: PROTOCOL_VIOLATION (remote): DATAGRAM frame too large

Reproduction

客户端使用clash-meta alpha-7eae775,服务端使用sing-box v1.6.0-alpha.3,协议使用hysteria2
客户端节点配置

- name: xxx
  type: hysteria2
  server: xxx
  port: 443
  password: xxx
  alpn: [h3]

服务端配置

{
            "listen": "::",
            "listen_port": 443,
            "sniff": true,
            "domain_strategy": "prefer_ipv6",
            "type": "hysteria2",
            "tag": "hy2-in",
            "users": [
                {
                    "password": "脱敏"
                }
            ],
            "ignore_client_bandwidth": true,
            "masquerade": "",
            "tls": {
                "enabled": true,
                "alpn": "h3",
                "certificate_path": "脱敏",
                "key_path": "脱敏"
            }
}

Logs

+0800 2023-10-07 18:01:53 DEBUG [4242810764 0ms] dns: resolved [23.202.132.41]
+0800 2023-10-07 18:01:53 INFO [4242810764 0ms] outbound/direct[direct]: outbound connection to ratt.juno.ea.com:443
+0800 2023-10-07 18:01:57 DEBUG inbound/hysteria2[hy2-in]: connection failed: receive message: PROTOCOL_VIOLATION (remote): DATAGRAM frame too large
+0800 2023-10-07 18:01:57 INFO [3083951164 0ms] inbound/hysteria2[hy2-in]: [CC] inbound connection to split-evaluator.juno.ea.com:443
+0800 2023-10-07 18:01:57 INFO [4062463830 0ms] inbound/hysteria2[hy2-in]: [CC] inbound connection to split-evaluator.juno.ea.com:443
+0800 2023-10-07 18:01:57 DEBUG [3083951164 0ms] router: sniffed protocol: tls, domain: split-evaluator.juno.ea.com
+0800 2023-10-07 18:01:57 DEBUG [3083951164 0ms] dns: lookup domain split-evaluator.juno.ea.com
+0800 2023-10-07 18:01:57 INFO [3083951164 0ms] dns: lookup succeed for split-evaluator.juno.ea.com: 23.202.132.41
+0800 2023-10-07 18:01:57 DEBUG [3083951164 0ms] dns: resolved [23.202.132.41]
+0800 2023-10-07 18:01:57 INFO [3083951164 0ms] outbound/direct[direct]: outbound connection to split-evaluator.juno.ea.com:443

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnot following templateNecessary information is not provided or is incomplete

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions