Code review request: zero-copy SOCKS5 proxy in Rust

โš“ Rust    ๐Ÿ“… 2025-11-04    ๐Ÿ‘ค surdeus    ๐Ÿ‘๏ธ 7      

surdeus

Hi 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

Read full topic

๐Ÿท๏ธ Rust_feed