haproxy-detector icon indicating copy to clipboard operation
haproxy-detector copied to clipboard

A Minecraft plugin that enables proxied and direct connections both at the same time.

Results 11 haproxy-detector issues
Sort by recently updated
recently updated
newest added

可以支持 ProtocolLib 5.0 吗? 其他插件需要新的ProtocolLib才能运行, 我无法再使用4.7版本 ``` [00:08:35 INFO]: [ProtocolLib] Loading ProtocolLib v5.0.0-SNAPSHOT-b554 [00:08:36 INFO]: [HAProxyDetector] Loading HAProxyDetector v3.0.1 [00:08:36 INFO]: [ProtocolLib] Enabling ProtocolLib v5.0.0-SNAPSHOT-b554 [00:08:36 INFO]: [ProtocolLib] Started structure...

Made it compatible with Protocollib 5.0.0. I tested it on 1.20.1 and work well.

在最新的BungeeCord中(git:BungeeCord-Bootstrap:1.19-R0.1-SNAPSHOT:a0a4fa0:1695)他无法正常工作,使用127.0.0.1连接会提示[/127.0.0.1:4083] InitialHandler - read timed out

java版本: 1.8 minecraft版本: 1.8.9 服务端核心: PaperSpigot ``` [17:16:53 WARN]: Failed to initialize a channel. Closing: [id: 0xd78baa09, /127.0.0.1:50552 => /127.0.0.1:25565] java.lang.VerifyError: class io.netty.handler.codec.haproxy.HAProxyMessage overrides final method release.()Z at java.lang.ClassLoader.defineClass1(Native Method)...

bug

Add a command with which you can find out through which proxy server the player is connected.

enhancement

不知道是否支持到ProtocolLib的5.1.0版本了,我现在安装插件不加载

我在Velocity里同时使用您的插件和Geyser-Velocity时出现了问题,看出来您的插件无法和Geyser-Velocity一起工作 我想可能是udp不兼容的问题?最后感谢您的回复 ;)

``` [12:45:55 INFO]: Booting up Velocity 3.3.0-SNAPSHOT (git-350ea7f3-b398)... [12:45:55 INFO]: Loading localizations... [12:45:56 INFO]: Connections will use NIO channels, Java compression, Java ciphers [12:45:56 WARN]: Player info forwarding is disabled!...

bug

用了几个Uptime工具对服务端运行状态进行监控,HAProxyDetector会持续输出来源IP日志。如果它已经可以自动对进入服务器的玩家替换来源IP为真实IP,是否可以添加一个config不向控制台输出日志? 输出日志如下: ``` [14:17:49] [Netty Epoll Server IO #2/INFO]: [HAProxyDetector] Set remote address via proxy /192.168.0.102:50690 -> [14:17:52] [Netty Epoll Server IO #3/INFO]: [HAProxyDetector] Set remote address via proxy /192.168.0.102:50698...

在MC1.21.4paper服务器中加载此插件的 v3.1.0-SNAPSHOT版本时出现了以下报错: (注:这是添加白名单后的报错,不添加白名单则不会报错,直接拦截内网ip) [15:57:47 ERROR]: [HAProxyDetector] Exception while detecting proxy io.netty.channel.ChannelPipelineException: net.minecraft.server.network.ServerConnectionListener$1$1 is not a @Sharable handler, so can't be added or removed multiple times. at io.netty.channel.DefaultChannelPipeline.checkMultiplicity(DefaultChannelPipeline.java:549) ~[netty-transport-4.1.115.Final.jar:4.1.115.Final] at io.netty.channel.DefaultChannelPipeline.internalAdd(DefaultChannelPipeline.java:166)...