WireGuard inbound: Reply fake pong to ICMP ping (#6855)

https://github.com/XTLS/Xray-core/pull/6015#issuecomment-4321525342
This commit is contained in:
Denis
2026-10-05 01:36:54 +00:00
committed by GitHub
parent 9d9a7a1c00
commit e0bae21201
3 changed files with 268 additions and 0 deletions
+1
View File
@@ -134,6 +134,7 @@ func NewServer(ctx context.Context, conf *DeviceConfig) (*Server, error) {
}
// Install the stack's protocol handlers before the device can deliver packets to it (Start -> dev.Up).
CreateForwarder(stack, s.HandleConnection)
CreateICMPEchoResponder(stack)
return s, nil
}