esnet / esnet/iperf

Enhance JSON client result to contain the "accepted_connection" data from the server?

Open
#1,042 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
8.8k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

# Enhancement Request

I'd like to know what address Internet routable address my iPerf requests are made through and so I'd like the server to report back what IP connected to it.

When I look at the JSON output the "connected" object contains the "local_host" which is filled in by the client and is always my private IP (192.x.x.x in my case); it essentially comes from the request. I understand this section "start" is mostly about the client requests.

However, I have multiple WAN gateways on my network and I'd like to know which one my requests transited.

This is already available in the "accepted_connection" block, but only on the server side.

Wondering if you think it's a good idea for get_results(struct iperf_test *test) to copy this over into the (client) results? I can get it from "server_output_text" but seems kind of kludgy to get it out of there.

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.