Skip to content

Limits

What bandwhich cannot do, and what it must not be asked to do — the chapter the rest of the guide has been promising. Every item here was met by the lab unless it says otherwise.

Metadata, never contents

bandwhich counts packets: sizes, addresses, ports, protocols. It never opens one. So nothing on its screen can support a conclusion about what a flow is — what a program sent, whether it was encrypted, whether it was wanted. A process uploading steadily to an unfamiliar address might be a backup, a sync, a leak, or malware phoning home; bandwhich can rank it first in the table and can take the question no further. Treat its screen as the start of an investigation, never its verdict.

A rate is a sample

Chapter 10 is the long version. The short one: figures are smoothed over a short window, so they ramp, overshoot, linger after the traffic ends, and collapse a sub-second burst into a single held number that can sit on screen for seconds (the lab's frozen 4,171,467 bytes per second, transcript t03). Totals are counts of attributed traffic, not byte audits (14,099,830 counted for a 10,485,760-byte payload, transcript t06). Any use that needs exact bytes or exact instants needs a different instrument.

The matcher can fail, quietly

Names are earned per refresh by the /proc join of chapter 9, and the join can lose: processes that exit before they are scanned appear as <UNKNOWN> (the lab's burst client did, in every refresh); shared sockets wear one name for several owners; and traffic inside a VPN or tunnel is attributed — correctly, and uselessly for the inner question — to the tunnel process. The failure is quiet: nothing on screen flags that a name is a guess that happened to be available. Only the <UNKNOWN> rows admit the mechanism exists.

No privilege, no tool

There is no unprivileged mode, no reduced view, no fallback. Without root or the capability grant, bandwhich prints its refusal and exits with code 1 — the lab collected the refusal as root without capabilities, as an unprivileged user, and in raw and interactive modes (transcript t01). In locked-down environments — containers and sandboxes whose capability ceilings exclude capture, as this guide's lab was — the privilege may be impossible to grant from inside, and the honest answer is a different tool (ss, chapter 11), not a louder attempt.

Names are claims

Resolved hostnames are published by the owners of the addresses they name (chapter 8). bandwhich repeats them faithfully; it does not and cannot verify them. An investigation that needs identity must establish it from the address, the port, and the process — the parts of the row that are facts — and treat the name as a lead.

One machine, one vantage point

bandwhich sees the interfaces of the machine it runs on, from that machine's chair. It does not see the rest of your network, other machines' traffic, or anything that happened before it started: it keeps no history and writes nothing down unless you capture raw mode yourself. "It was fine while I watched" is a statement about the watching window only.

And the plain boundary

bandwhich observes. It cannot block, throttle, reroute, or kill the traffic it names; it cannot tell you whether the traffic should exist; and used on machines or networks that are not yours to monitor, its metadata is other people's business. Watch your own machine, answer the question, and stop the display when you have it — the tool asks nothing more of you, and permits nothing more by itself.