fix more UDP reflection/amplification

This commit is contained in:
rustdesk
2026-07-23 18:43:32 +08:00
parent 70dcfdeb95
commit 109d9a2351
+2 -2
View File
@@ -429,10 +429,10 @@ impl RendezvousServer {
// The supported client path sends PunchHoleRequest over TCP/WS.
}
Some(rendezvous_message::Union::PunchHoleSent(phs)) => {
self.handle_hole_sent(phs, addr, Some(socket)).await?;
// UDP PunchHoleSent is intentionally unsupported to avoid UDP reflection/amplification
}
Some(rendezvous_message::Union::LocalAddr(la)) => {
self.handle_local_addr(la, addr, Some(socket)).await?;
// UDP LocalAddr is intentionally unsupported to avoid UDP reflection/amplification
}
Some(rendezvous_message::Union::ConfigureUpdate(mut cu)) => {
if try_into_v4(addr).ip().is_loopback() && cu.serial > self.inner.serial {