raboof / nethogs

Linux 'net top' tool
GNU General Public License v2.0
3.07k stars 283 forks source link

Unable to detect traffic from transmission(bittorrent, BT client) #146

Open N46AN opened 6 years ago

N46AN commented 6 years ago

OS: Debian 9 GNU/Linux, Linux 4.13.0-0.bpo.1-amd64 nethogs version: 0.8.5-37-g7093964

Summary: The bittorrent client "transmission" is downloading and uploading at a few hundred KiB/s, whereas nethogs shows ~0 KiB/s from transmission.

Further observation shows that when transmission starts up and begin shaking hands with various tracker servers, nethogs shows approx 10KiB/s traffic from transmission. So I assume that it's peer-to-peer traffic that nethogs is unable to track properly.

Steps to reproduce:

  1. Build nethogs straight from git head on Debian 9;
  2. Use transmission to download torrents, wait for it to generate traffic;
  3. Examine network traffic in nethogs.

Expected behavior: nethogs should show the traffic from transmission correctly.

robert7k commented 3 years ago

Could it be that bittorrent uses UDP? In this case, this issue is probably a duplicate of #62