Code review request: zero-copy SOCKS5 proxy in Rust
โ Rust ๐ 2025-11-04 ๐ค surdeus ๐๏ธ 7Hi everyone,
Iโve been working on a small Rust project - a zero-copy SOCKS5 proxy - and Iโd really appreciate some feedback.
Repo: GitHub - nikitosikvn1/zc-splice-proxy: High-performance zero-copy SOCKS5 proxy written in Rust
Itโs an attempt to build a high-performance proxy using Linuxโs splice() for zero-copy I/O.
Iโd love feedback on:
- Code structure and Rust idioms
- Efficiency and correctness of the I/O loop
- Error handling and overall style
- Proxy architecture and design choices
- Ways to further improve throughput and performance
Iโm especially interested in advice on making the implementation more idiomatic and aligned with best practices for network programming in Rust.
Any feedback is very welcome - feel free to open an issue or leave comments in an open PR.
Thanks in advance!
1 post - 1 participant
๐ท๏ธ Rust_feed