Fix vless UDP 443 block

This commit is contained in:
Fangliding
2026-11-22 22:27:37 +08:00
parent 74cbdf46d8
commit 49347bad1f
2 changed files with 25 additions and 0 deletions
+1
View File
@@ -252,6 +252,7 @@ func (h *Handler) Process(ctx context.Context, link *transport.Link, dialer inte
switch request.Command {
case protocol.RequestCommandUDP:
if !allowUDP443 && request.Port == 443 {
proxy.DropUDP(ctx, link.Reader)
return errors.New("XTLS rejected UDP/443 traffic")
}
case protocol.RequestCommandMux: