esnet / esnet/iperf

Allow different control connection port number than data connection

Open
#1,019 8 comments 11 reactions 0 assignees View on GitHub
Dominant language
C
Stars
8.8k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

# Context
UDP tests require a TCP control connection to be set up beforehand. This connection currently uses the same port number as the UDP port used for the test / data connection.

Consider an environment where the network between the client & server are comprised of one or more third-party network services (e.g. VPN, proxy, firewall, etc.) with very strict security policies. Only certain ports are opened, and no port number is opened for both TCP and UDP. It's very difficult to request a new port number be opened (when requesting a port, they return a randomized port number and only for one protocol).

I'd be willing to help if someone can point me to the files/functions to look at.

# Enhancement Request
Allow users to specify the port number used for the control connection, different than the port number specified by `-p` which is used for the actual test data.

* Current behavior
Control connection defaults to the same port number used for the test / data connection.

* Desired behavior
Control connection uses a different port number than the test / data connection.

* Implementation notes
Introduce a new flag to specify the control port? Ideally this flag should be applicable for both when iperf3 runs in server mode or client mode.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.