0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-12 11:29:36 +03:00

Refactor: FullCone TPROXY Inbound & Socks Outbound

https://t.me/projectXray/116037
This commit is contained in:
RPRX
2020-12-29 11:50:17 +00:00
committed by GitHub
parent 13ad3fddf6
commit 2da07e0f8a
5 changed files with 128 additions and 48 deletions

View File

@ -279,7 +279,8 @@ func (w *udpWorker) callback(b *buf.Buffer, source net.Destination, originalDest
src: source,
}
if originalDest.IsValid() {
id.dest = originalDest
//id.dest = originalDest
b.UDP = &originalDest
}
conn, existing := w.getConnection(id)