QR2: Validate client messages

This commit is contained in:
mkwcat
2023-11-25 21:22:41 -05:00
parent 951649e6fb
commit 31594f12f1
4 changed files with 128 additions and 21 deletions

View File

@@ -245,6 +245,5 @@ func handleSendMessageRequest(conn net.Conn, buffer []byte) {
logging.Notice(ModuleName, "Send message from", aurora.BrightCyan(conn.RemoteAddr()), "to", aurora.BrightCyan(destIP).String())
// TODO: Perform basic packet verification
qr2.SendClientMessage(destIP, buffer[9:])
}