bandwhich icon indicating copy to clipboard operation
bandwhich copied to clipboard

Unable to detect some traffic

Open cyqsimon opened this issue 1 year ago • 4 comments

TLDR

I set up an iperf3 on a remote machine with iperf3 -s, and connected to it on my local box with iperf3 -c <ADDR>. bandwhich is able to detect the upload traffic as expected.

However, if I connect to it with iperf3 -R -c <ADDR>, so that the server is sending data to the client instead, bandwhich shows very little traffic (which I suppose is the control channel).

Screenshots

up

down

Here you can see bandwhich side-by-side with btop, which is able to detect both upload and download traffic correctly. There's obviously something wrong.

cyqsimon avatar Jan 30 '24 10:01 cyqsimon

This issue is just to document my findings. Any help (e.g. debugging, reproduction attempt, etc.) would be greatly appreciated. Thanks in advance.

cyqsimon avatar Jan 30 '24 10:01 cyqsimon

I test myself, It's lower performance than iftop if network traffic is huge image iperf3 output image htop shows the CPU utilization is too high image

handewo avatar Apr 03 '24 17:04 handewo

@handewo Hmm. This is interesting but it's a separate problem - please open another issue so we can keep the discussion focused.

Meanwhile, can you please run iperf3 with -R flag to see if bandwhich can detect that traffic on your box? Much thanks.

cyqsimon avatar Apr 04 '24 06:04 cyqsimon

@handewo Hmm. This is interesting but it's a separate problem - please open another issue so we can keep the discussion focused.

Meanwhile, can you please run iperf3 with -R flag to see if bandwhich can detect that traffic on your box? Much thanks.

bandwhich detect as expected if run iperf3 with '-R' I ran iperf3 and bandwhich on platform: almalinux 9.2 and iperf3 as server on Linux Mint 21.1

handewo avatar Apr 05 '24 03:04 handewo