Skip to content

Instantly share code, notes, and snippets.

@boq
Last active August 29, 2015 14:07
Show Gist options
  • Select an option

  • Save boq/bcf1b17006012d0b02d7 to your computer and use it in GitHub Desktop.

Select an option

Save boq/bcf1b17006012d0b02d7 to your computer and use it in GitHub Desktop.
// handshake from plain Forge client to Cauldron server behind Bungee
CLIENT-RAW < - outgoing after codec
CLIENT-RAW > - incoming before codec
CLIENT-DECODED < - outgoing before codec
CLIENT-DECODED > - outgoing after codec
// REGISTER received from server
[Netty Client IO #1/INFO] [FML/]: CLIENT-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: REGISTER, register: [FORGE, FML, FML|HS, BungeeCord])
// duplicated REGISTER
[Netty Client IO #1/INFO] [FML/]: CLIENT-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: REGISTER, register: [FML|HS, FML, FORGE])
[Netty Client IO #1/INFO] [FML/]: CLIENT-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty Client IO #1/INFO] [FML/]: CLIENT-DECODED > class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$ServerHello
// REGISTER sent to server
[Netty Client IO #1/INFO] [FML/]: CLIENT-DECODED < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: REGISTER, register: [FML|HS, FML, FORGE])
[Netty Client IO #1/INFO] [FML/]: CLIENT-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: REGISTER, register: [FML|HS, FML, FORGE])
[Netty Client IO #1/INFO] [FML/]: Server protocol version 1
[Netty Client IO #1/INFO] [FML/]: CLIENT-DECODED < class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$ClientHello
[Netty Client IO #1/INFO] [FML/]: CLIENT-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty Client IO #1/INFO] [FML/]: CLIENT-DECODED < class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$ModList
[Netty Client IO #1/INFO] [FML/]: CLIENT-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty Client IO #1/INFO] [FML/]: CLIENT-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty Client IO #1/INFO] [FML/]: CLIENT-DECODED > class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$ModList
[Netty Client IO #1/INFO] [FML/]: Attempting connection with missing mods [] at SERVER
[Netty Client IO #1/INFO] [FML/]: CLIENT-DECODED < class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$HandshakeAck
[Netty Client IO #1/INFO] [FML/]: CLIENT-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty Client IO #1/INFO] [FML/]: CLIENT-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty Client IO #1/INFO] [FML/]: CLIENT-DECODED > class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$ModIdData
[Netty Client IO #1/INFO] [FML/]: CLIENT-DECODED < class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$HandshakeAck
[Netty Client IO #1/INFO] [FML/]: CLIENT-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty Client IO #1/INFO] [FML/]: CLIENT-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty Client IO #1/INFO] [FML/]: CLIENT-DECODED > class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$HandshakeAck
[Netty Client IO #1/INFO] [FML/]: CLIENT-DECODED < class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$HandshakeAck
[Netty Client IO #1/INFO] [FML/]: CLIENT-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty Client IO #1/INFO] [FML/]: CLIENT-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty Client IO #1/INFO] [FML/]: CLIENT-DECODED > class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$HandshakeAck
[Netty Client IO #1/INFO] [FML/]: CLIENT-DECODED < class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$HandshakeAck
[Netty Client IO #1/INFO] [FML/]: CLIENT-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
// handshake from Cauldron server to client behind Bungee
SERVER-RAW < - outgoing after codec
SERVER-RAW > - incoming before codec
SERVER-DECODED < - outgoing before codec
SERVER-DECODED > - outgoing after codec
// REGISTER sent from server to client
[Netty IO #1/INFO] [FML/]: SERVER-DECODED < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: REGISTER, register: [FML|HS, FML, FORGE])
[Netty IO #1/INFO] [FML/]: SERVER-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: REGISTER, register: [FML|HS, FML, FORGE])
[Netty IO #1/INFO] [FML/]: SERVER-DECODED < class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$ServerHello
[Netty IO #1/INFO] [FML/]: SERVER-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty IO #1/INFO] [FML/]: SERVER-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty IO #1/INFO] [FML/]: SERVER-DECODED > class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$ClientHello
[Netty IO #1/INFO] [FML/]: Client protocol version 1
[Netty IO #1/INFO] [FML/]: SERVER-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty IO #1/INFO] [FML/]: SERVER-DECODED > class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$ModList
[Netty IO #1/INFO] [FML/]: Client attempting to join with 3 mods : [email protected],[email protected],[email protected]
[Netty IO #1/INFO] [FML/]: Attempting connection with missing mods [] at CLIENT
[Netty IO #1/INFO] [FML/]: SERVER-DECODED < class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$ModList
[Netty IO #1/INFO] [FML/]: SERVER-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty IO #1/INFO] [FML/]: SERVER-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty IO #1/INFO] [FML/]: SERVER-DECODED > class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$HandshakeAck
[Netty IO #1/INFO] [FML/]: SERVER-DECODED < class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$ModIdData
[Netty IO #1/INFO] [FML/]: SERVER-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty IO #1/INFO] [FML/]: SERVER-DECODED < class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$HandshakeAck
[Netty IO #1/INFO] [FML/]: SERVER-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty IO #1/INFO] [FML/]: SERVER-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty IO #1/INFO] [FML/]: SERVER-DECODED > class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$HandshakeAck
[Netty IO #1/INFO] [FML/]: SERVER-DECODED < class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$HandshakeAck
[Netty IO #1/INFO] [FML/]: SERVER-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty IO #1/INFO] [FML/]: SERVER-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty IO #1/INFO] [FML/]: SERVER-DECODED > class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$HandshakeAck
[Netty IO #1/INFO] [FML/]: SERVER-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
[Netty IO #1/INFO] [FML/]: SERVER-DECODED > class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$HandshakeAck
[Server thread/INFO] [FML/]: [Server thread] Server side modded connection established
// REGISTER from Bungee to server AFTER handshake is finished! Compare with 'server->client" below
[Netty IO #1/INFO] [FML/]: SERVER-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: REGISTER, register: [FORGE, FML, FML|HS, BungeeCord])
[Netty IO #1/INFO] [FML/]: SERVER-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: REGISTER, register: [FML|HS, FML, FORGE])
// handshake from Cauldron server to client without Bungee
SERVER-RAW < - outgoing after codec
SERVER-RAW > - incoming before codec
SERVER-DECODED < - outgoing before codec
SERVER-DECODED > - outgoing after codec
// REGISTER sent from server to client
SERVER-DECODED < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: REGISTER, register: [FML|HS, FML, FORGE])
SERVER-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: REGISTER, register: [FML|HS, FML, FORGE])
SERVER-DECODED < class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$ServerHello
SERVER-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
// client answers with his REGISTER
SERVER-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: REGISTER, register: [FML|HS, FML, FORGE])
SERVER-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
SERVER-DECODED > class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$ClientHello
Client protocol version 1
SERVER-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
SERVER-DECODED > class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$ModList
Client attempting to join with 3 mods : [email protected],[email protected],[email protected]
Attempting connection with missing mods [] at CLIENT
SERVER-DECODED < class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$ModList
SERVER-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
SERVER-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
SERVER-DECODED > class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$HandshakeAck
SERVER-DECODED < class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$ModIdData
SERVER-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
SERVER-DECODED < class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$HandshakeAck
SERVER-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
SERVER-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
SERVER-DECODED > class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$HandshakeAck
SERVER-DECODED < class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$HandshakeAck
SERVER-RAW < class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
SERVER-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
SERVER-DECODED > class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$HandshakeAck
SERVER-RAW > class cpw.mods.fml.common.network.internal.FMLProxyPacket (channel: FML|HS)
SERVER-DECODED > class cpw.mods.fml.common.network.handshake.FMLHandshakeMessage$HandshakeAck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment