iperf icon indicating copy to clipboard operation
iperf copied to clipboard

Add SOCKS5 Proxy support for TCP

Open davidBar-On opened this issue 1 year ago • 2 comments

  • Version of iperf3 (or development branch, such as master or 3.1-STABLE) to which this pull request applies: master

  • Issues fixed (if any): #1095 (partly)

  • Brief description of code changes (suitable for use as a commit message):

SOCKS5 Proxy support for TCP. --socks5 option is added. Based on @mister-goo code suggested here.

The implementation is standalone, so there should be no change to functionality when the --socks5 is not used.

UDP is not supported since it requires added a header to each UDP packet sent. Since this header has to be taken into consideration in the iperf3 packet size (-l) it make the implementation more complex.

davidBar-On avatar Mar 26 '24 08:03 davidBar-On

Thanks for the pull request! SOCKS5 support is not something that we've seen as a requirement in the R&E networking space, so it's unfortunately a bit out of scope for iperf3's core functionality. We're also not able to test or maintain this functionality in our environment. This might be a good candidate for someone to integrate to a fork of iperf3.

bmah888 avatar May 20 '24 18:05 bmah888