From ce48e1f6a0e70fc2d3541038dbdeb329f5ee7937 Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Mon, 10 Nov 2025 01:46:13 -0500 Subject: [PATCH] fix: revert to sending periodic ping instead of DomainListRequest to maintain HMAC verification --- src/OverteClient.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/OverteClient.cpp b/src/OverteClient.cpp index 882abb8..41437de 100644 --- a/src/OverteClient.cpp +++ b/src/OverteClient.cpp @@ -420,10 +420,8 @@ void OverteClient::poll() { auto now = std::chrono::steady_clock::now(); if (std::chrono::duration_cast(now - lastPing).count() >= 1) { - // EXPERIMENTAL: Send DomainListRequest instead of Ping to avoid HMAC verification issues - // DomainListRequest is non-sourced and non-verified - std::cout << "[OverteClient] Sending periodic DomainListRequest (keep-alive, localID=" << m_localID << ")" << std::endl; - sendDomainListRequest(); + std::cout << "[OverteClient] Sending periodic ping to domain (localID=" << m_localID << ")" << std::endl; + sendPing(m_udpFd, m_udpAddr, m_udpAddrLen); lastPing = now; }