encrypt traffic with pre-shared key
This commit is contained in:
@@ -6,9 +6,13 @@ const PROTO_VERSION uint16 = 1
|
||||
|
||||
const (
|
||||
unused uint16 = iota
|
||||
// - empty -
|
||||
REQ_REGISTER
|
||||
// [ ip - 16 bytes ]
|
||||
RESP_REGISTER
|
||||
// [ encrypted pkt ]
|
||||
REQ_DATA
|
||||
// [ encrypted pkt ]
|
||||
RESP_DATA
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user