-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bungeecord like forwarding of IP and UUID #111
Comments
Hi, infrared already has UUID forwarding as it lets the backend server do authentication. |
"proxyProtocol": false, tcpdump connect packet -> test.example.com///IP:PORT///1639306316c.. this works on sheme: infrared ( "realIp": true)->BungeeCord(ip_forward=true)->craftbukkit but not work if: infrared ( "realIp": true)->craftbukkit BungeeCord ip_forward use other pakets to send to craftbukkit real ip and uuid |
Have you actually installed the RealIP plugin to retrieve these addresses? Otherwise everybody could spoof their ip |
I see, thats actually interesting. They must have implemented some kind of protocol between BungeeCord and Craftbukkit let me see if there is any documentation on it. |
https://github.com/ME1312/VanillaCord this project is patching the vanilla kernel |
not work: infrared ( "realIp": true)->spigot (bungeecord: true) work fine: infrared ( "realIp": true)->BungeeCord(ip_forward=true)->spigot (bungeecord: true) if you rewrite your code on function UpgradeToIPForward |
Wait, what? RealIP is only for the TCPShield Plugin called RealIP. What exactly would be the setup that you want to work? Is this the protocol change that Spigot is looking for to have native IP (+UUID+Skin data) pass thru? |
I want it to work infrared -> spigot infrared -> bungeecord -> spigot, allready work |
then you can install the realip plugin version 2.4 or use proxyProtocol with https://github.com/riku6460/SpigotProxy |
VanillaCord has the same protocol like spigot but no plugins are available. that's why I wanted to suggest that you implement forwarding IP + UUID + Skin data |
UUIDs and Skins already gets forwarded as infrared is not a man in the middle proxy like bungeecord which handles the authentication part itself |
So I am using AMP by cubecoders and the realIP is not being passed. I see there is a mention of a plugin. Is this a need to pass the client public IP to the server or is this a 3rd party online service? I dont want to use a online service just forward the IP from infrared to my minecraft instance. |
Hello. Proxy protocol works by appending some data including the IP of the
player to the server. As this is change is different to standard Minecraft
server protocol, the server sees it as a malformed packet and basically
drops it. For proxy protocol to work, a plugin is required as it reads the
connection packet and is able to understand the proxy protocol data that
has been appended to the connection packet.
…On Wed, 7 Dec 2022 at 15:04, torodiesel ***@***.***> wrote:
So I am using AMP by cubecoders and the realIP is not being passed. I see
there is a mention of a plugin. Is this a need to pass the client public IP
to the server or is this a 3rd party online service?
—
Reply to this email directly, view it on GitHub
<#111 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQCZ5GBW7ABYGF7L3IMUYLDWMAZGBANCNFSM5J4CQRLQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Could you add the ip_forward option like on bungeecord for IP and UUID forwarding to craftbukkit ?
The text was updated successfully, but these errors were encountered: