-
Notifications
You must be signed in to change notification settings - Fork 125
Closed
Description
TProxy UDP doesn't work. There is a small bug in dispather -> TProxy
clash-rs/clash-lib/src/proxy/tproxy/mod.rs
Line 165 in 4db1bc0
| .send_to(&pkt.data[..], pkt.dst_addr.must_into_socket_addr()) |
The code uses the tproxy listening socket to sending packet from proxy destination back to src_addr. This will force the packet of src_addr to be localhost with TProxy port. This is checked from wireshark
Metadata
Metadata
Assignees
Labels
No labels