dizda/fast-socks5

There is a bug in udp support

enp6 opened this issue · 15 comments

enp6 commented

cargo run -- --listen-addr 0.0.0.0:5000 password -u 111 -p 333

In the code, I have written config.set_udp_support(true);

However, it still cannot support UDP and prompts "invalid reply ip"

Sorry for necro. Yes, the example does not appear to work with UDP even with UDP support enabled in the library.
I got it working with a small hack to src/server.rs,but it's probably not PR-worthy (still learning Rust). Can post if anyone needs it.