fix: remove HMAC verification hash from sendPing to prevent packet size issues
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user