From 88de6f5e28c7323150e48837293e66e703c8fdcf Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Mon, 10 Nov 2025 01:47:52 -0500 Subject: [PATCH] fix: remove HMAC verification hash from sendPing to prevent packet size issues --- src/OverteClient.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/OverteClient.cpp b/src/OverteClient.cpp index 41437de..f7fe2d4 100644 --- a/src/OverteClient.cpp +++ b/src/OverteClient.cpp @@ -1553,9 +1553,8 @@ void OverteClient::sendPing(int fd, const sockaddr_storage& addr, socklen_t addr // Ping type (0 = local, 1 = public) packet.writeUInt8(0); - // Write HMAC verification hash using null UUID as key - uint8_t nullUUID[16] = {0}; - packet.writeVerificationHash(nullUUID); + // Do NOT write verification hash - this creates a 17-byte sourced packet without hash + // The server should either skip verification or use the packet structure to determine hash presence const auto& data = packet.getData();