fix: remove HMAC verification hash from sendPing to prevent packet size issues

This commit is contained in:
MayaTheShy
2025-11-10 01:47:52 -05:00
parent ce48e1f6a0
commit 88de6f5e28

View File

@@ -1553,9 +1553,8 @@ void OverteClient::sendPing(int fd, const sockaddr_storage& addr, socklen_t addr
// Ping type (0 = local, 1 = public) // Ping type (0 = local, 1 = public)
packet.writeUInt8(0); packet.writeUInt8(0);
// Write HMAC verification hash using null UUID as key // Do NOT write verification hash - this creates a 17-byte sourced packet without hash
uint8_t nullUUID[16] = {0}; // The server should either skip verification or use the packet structure to determine hash presence
packet.writeVerificationHash(nullUUID);
const auto& data = packet.getData(); const auto& data = packet.getData();