layou233 / ZBProxy

🚀Transfer your network data, bypassing the Hypixel unofficial address detection!
https://launium.com/doc/ZBProxy
Apache License 2.0
227 stars 42 forks source link

hyp连接超时 #115

Closed 1665169869 closed 10 months ago

1665169869 commented 10 months ago

默认配置 已放行25565端口

在多人游戏列表可正常显示服务器状态

image image

layou233 commented 10 months ago

缺乏信息,如果可以请贴出部署环境和配置。

1665169869 commented 10 months ago

缺乏信息,如果可以请贴出部署环境和配置。

环境:centos8 内核版本:4.18.0-193.14.2.el8_2.x86_64 配置信息如下:

{
    "Services": [
        {
            "Name": "HypixelDefault",
            "TargetAddress": "mc.hypixel.net",
            "TargetPort": 25565,
            "Listen": 25565,
            "Flow": "auto",
            "IPAccess": {
                "Mode": ""
            },
            "Minecraft": {
                "EnableHostnameRewrite": true,
                "EnableHostnameAccess": false,
                "OnlineCount": {
                    "Max": 5,
                    "Online": -1,
                    "EnableMaxLimit": true
                },
                "NameAccess": {
                    "Mode": ""
                },
                "AnyDestSettings": {},
                "PingMode": "",
                "MotdFavicon": "{DEFAULT_MOTD}",
                "MotdDescription": "§d{NAME}§e service is working on §a§o{INFO}§r\n§c§lProxy for §6§n{HOST}:{PORT}§r"
            },
            "TLSSniffing": {
                "RejectNonTLS": false
            },
            "Outbound": {
                "Type": ""
            }
        }
    ],
    "Lists": {}
}
1665169869 commented 10 months ago

日志如下:

[root@iZj6cbwyzs61u0cbov7jxcZ ~]# ./ZBProxy-linux-amd64-v1
 ______  _____   _____   _____    _____  __    __ __    __
|___  / |  _  \ |  _  \ |  _  \  /  _  \ \ \  / / \ \  / /
   / /  | |_| | | |_| | | |_| |  | | | |  \ \/ /   \ \/ / 
  / /   |  _  { |  ___/ |  _  /  | | | |   }  {     \  /
 / /__  | |_| | | |     | | \ \  | |_| |  / /\ \    / /
/_____| |_____/ |_|     |_|  \_\ \_____/ /_/  \_\  /_/
Welcome to ZBProxy 3.0-rc.5 (97e074a)!
Build Information: go1.21.1, linux/amd64, CGO disabled
2023/11/10 23:31:28 Successfully loaded config from file.
2023/11/10 23:31:43 Service HypixelDefault : [1390709875] [+] 112.96.70.117:23121
2023/11/10 23:31:43 Service HypixelDefault : [1390709875] [-] 112.96.70.117:23121 : handled MOTD
2023/11/10 23:31:44 Service HypixelDefault : [132872280] [+] 112.96.70.117:23122
2023/11/10 23:31:44 Service HypixelDefault : [132872280] New Minecraft player logged in: iBaiYuGG [DEFAULT]
2023/11/10 23:31:47 Service HypixelDefault : [717590025] [+] 141.98.254.158:52268
2023/11/10 23:31:48 Service HypixelDefault : [717590025] [-] 141.98.254.158:52268 : EOF
layou233 commented 10 months ago

配置上应该不存在问题。可能是服务器无法连接至 Hypixel 服务器。再问下你的服务器部署在哪里,能确认其到 Hypixel 服务器的连通性吗?

1665169869 commented 10 months ago

配置上应该不存在问题。可能是服务器无法连接至 Hypixel 服务器。再问下你的服务器部署在哪里,能确认其到 Hypixel 服务器的连通性吗?

服务器刚购买部署后的时候是可以连接hypixel 用了大概一两天后就无法连接了

1665169869 commented 10 months ago

如何直接在服务器测试hypixel的连通性测试?看起来hyp是禁ping的

layou233 commented 10 months ago

如何直接在服务器测试hypixel的连通性测试?看起来hyp是禁ping的

有两种方法:

  1. 基于 TCP SYN 的 TCP Ping。这些网络上有现成的可以找。

  2. 删除 ZBProxy Minecraft 模块中的 MOTD 相关项,即可从目标服务器直接拉取 MOTD ,从而测试 MOTD 连通性。

layou233 commented 10 months ago

目前为止暂不能确定是 ZBProxy 方面的问题,暂时 close ,有后续可以继续在下方提供。