fix: send DomainListRequest instead of Ping to avoid HMAC verification issues

This commit is contained in:
MayaTheShy
2025-11-10 01:44:39 -05:00
parent db3c08e906
commit b416628824

View File

@@ -420,8 +420,10 @@ void OverteClient::poll() {
auto now = std::chrono::steady_clock::now();
if (std::chrono::duration_cast<std::chrono::seconds>(now - lastPing).count() >= 1) {
std::cout << "[OverteClient] Sending periodic ping to domain (localID=" << m_localID << ")" << std::endl;
sendPing(m_udpFd, m_udpAddr, m_udpAddrLen);
// 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();
lastPing = now;
}