support --bind-dev on macOS#1945
Conversation
|
Thanks for the pull request! Any suggestions on how to test this? |
Hmm, not really because I don't know the status quo well, other than seeing there's a On my own system, I have a wifi interface It seems possible in principle to set up one or more fake NICs in some way or another on macOS, so that it can be tested without any particular hardware/network setup. I found this stackoverflow discussion about ...and then maybe shape the traffic with something like ...but these things are at least fiddly to set up properly and the |
|
@scottlamb I'm going to try to work on this PR today. I just committed some changes to resolve some merge conflicts with the |
|
Tested on my MacBook Pro (macOS 26.3.1) dual-homed with Ethernet and WiFi onto the same subnet (which isn't always the best thing to do but it serves the purpose here). Client testing: Was able to use Server testing: Was able to use |
PLEASE NOTE the following text from the iperf3 license. Submitting a
pull request to the iperf3 repository constitutes "[making]
Enhancements available...publicly":
The complete iperf3 license is available in the
LICENSEfile in thetop directory of the iperf3 source tree.
Version of iperf3 (or development branch, such as
masteror3.1-STABLE) to which this pull request applies: masterIssues fixed (if any): none that I see
Brief description of code changes (suitable for use as a commit message): support
--bind-devon macOS