General information
The player in Sonar connected via HAProxy is from 127.0.0.1.
Steps to reproduce
- Set
<server>config/paper-global.yml -> proxies.proxy-protocol to true.
- In
frpc.toml set transport.proxyProtocolVersion="v2").
- Restart server and frpc.
- Worked fine, the server thought the player was joining from their real IP address.
- Sonar print every player's IP is
127.0.0.1.
Sonar dump
sonar dump
[00:47:14 INFO]: [Sonar] 生成信息: {"memory":{"total":"8 GiB","max":"32 GiB","free":"4 GiB","used":"4 GiB"},"runtime":{"virtualCores":24,"jvmArguments":["-XX:ThreadPriorityPolicy\u003d1","-XX:+UnlockExperimentalVMOptions","-XX:+EnableJVMCIProduct","-XX:-UnlockExperimentalVMOptions","-Xms8G","-Xmx32G"],"vmName":"Java HotSpot(TM) 64-Bit Server VM","vmVendor":"Oracle Corporation","vmVersion":"24.0.2+11-jvmci-b01"},"os":{"name":"Windows Server 2025","arch":"amd64","version":"10.0"},"sonar":{"version":"2.1.35 (3ca1852)","platform":"BUKKIT","gitBranch":"main","gitCommit":"3ca1852e"}}
Additional information
The full server log is here:
https://mclo.gs/6tDsnye
General information
The player in Sonar connected via HAProxy is from
127.0.0.1.Steps to reproduce
<server>config/paper-global.yml->proxies.proxy-protocoltotrue.frpc.tomlsettransport.proxyProtocolVersion="v2").127.0.0.1.Sonar dump
Additional information
The full server log is here:
https://mclo.gs/6tDsnye