SYN Packet - zeroKilo/GROBackendWV GitHub Wiki

SYN Packet

this packet is the first UDP packet a client sends to make a connection. Session ID, Signature and Sequence ID are all zeroed. The response only need to contain the ACK Flag and as Connection Signature field the ID with which the client will send all future packets

Example Exchange

`

09.11.2019 18:47:44 : [UDP Redirector] received : 3F 31 20 00 00 00 00 00 00 00 00 00 00 00 73 
09.11.2019 18:47:44 : [UDP Redirector] received : UDPPacket {
	From         : VPort[port=15 type=OldRVSec]
	To           : VPort[port=01 type=OldRVSec]
	Flags        : [FLAG_NEED_ACK]
	Type         : SYN
	Session ID   : 0x00
	Signature    : 0x00000000
	Sequence ID  : 0x0000
	Conn. Sig.   : 0x00000000
	PayLoad      : 
	Checksum     : 0x73
}

09.11.2019 18:47:44 : [UDP Redirector] received : UDPPacket { SYN (   W  )}
09.11.2019 18:47:44 : [Global] Error : Cant find client for end point : 127.0.0.1:3074
09.11.2019 18:47:44 : Creating new client data...
09.11.2019 18:47:44 : [UDP Redirector] send : 31 3F 08 00 00 00 00 00 00 00 78 56 34 12 6F 
09.11.2019 18:47:44 : [UDP Redirector] send : UDPPacket {
	From         : VPort[port=01 type=OldRVSec]
	To           : VPort[port=15 type=OldRVSec]
	Flags        : [FLAG_ACK]
	Type         : SYN
	Session ID   : 0x00
	Signature    : 0x00000000
	Sequence ID  : 0x0000
	Conn. Sig.   : 0x12345678
	PayLoad      : 
	Checksum     : 0x6F
}
09.11.2019 18:47:44 : [UDP Redirector] send : UDPPacket { SYN (  A   )}
`