Technical explanation #6

Closed
opened 2023-04-16 16:48:32 +03:00 by Madis0 · 2 comments
Contributor

Yes, you do have the source available, but it would still help to have a technical explanation of how the mod works, to be aware of potential issues and dangers.

Yes, you do have the source available, but it would still help to have a technical explanation of how the mod works, to be aware of potential issues and dangers.
Owner

Here's a brief overview of the architecture:
e4mc_minecraft connects to wss://ingress.e4mc.link, which then is routed to the closest relay server.
the relay server assigns the host a domain.
when a player connects to an e4mc-managed domain, the relay server looks up the domain in the handshake packet and starts relaying the connection to the corresponding host via the initial websocket connection.
the relay server is intentionally oblivious of how the Minecraft protocol works other than the format of the handshake packet, and does not modify any packets to or from the host.

Here's a brief overview of the architecture: e4mc_minecraft connects to wss://ingress.e4mc.link, which then is routed to the closest relay server. the relay server assigns the host a domain. when a player connects to an e4mc-managed domain, the relay server looks up the domain in the handshake packet and starts relaying the connection to the corresponding host via the initial websocket connection. the relay server is intentionally oblivious of how the Minecraft protocol works other than the format of the handshake packet, and does not modify any packets to or from the host.
Author
Contributor

Thanks!

Thanks!
Sign in to join this conversation.
No description provided.