esnet / esnet/iperf

Error in protocol details on wiki

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

Description

The protocol information on the wiki https://github.com/esnet/iperf/wiki/IperfProtocolStates is incorrect. It states "There is also a mini protocol for each stream: on initial connection, the client sends the test's 37-byte cookie. After that, the stream just gets uninterpreted data.".

In UDP mode at least (haven't looked at TCP), looking at iperf_udp.c:90, it seems the *actual* packet protocol is:

uint32 time_sec
uint32 time_usec
uint64 sequence
(padded out with random/ignored data after this)

I also see no evidence of the cookie being sent in any of these packets.

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.