Statistics, connections and CSV files explained
What every counter on the Statistics tab counts, what every column of the Connections tab holds, and what is in each CSV file the program saves. The names and the CSV columns are read from the program when this page is built.
The counters on the Statistics tab
Download, upload and the queue show what is happening right now; every other counter adds up from the start of the session. Each one also has a column in the statistics CSV, named below.
- Download
How fast data is coming in right now, in kilobytes per second.
- Upload
How fast data is going out right now, in kilobytes per second.
- Packets
How many packets have passed through the tool since the session started.
- Queued
How many packets are waiting in the tool right now. It grows with latency or a speed limit and falls back when they are released.
- Dropped
Packets dropped by the loss you set. Link outages are counted on their own.
- Loss runs
How many runs of lost packets the session produced, when losses come in a row. Zero with runs set means the session was too short to see one, or the loss is 100 percent, so there are no separate runs to count.
- Corrupted
Packets that arrived with one bit of their data flipped. A packet with no data, such as a bare acknowledgement, cannot be damaged and passes, so this can stay below the share you set.
- Duplicated
Packets sent twice.
- Reordered
Packets that left the tool in a different order than they came in. Zero with jitter or spikes set means the packets were too far apart for one to overtake another.
- Buffer overflow
Packets dropped because the tool's queue overflowed under heavy load. These are packets the tool lost, not the link you set, so they always count all captured traffic and are not part of the effective loss.
- Dropped at stop
Packets still waiting in the tool when you pressed STOP. The network did not lose them: the session ended before they were released.
- Send failed
Packets the tool captured but could not put back on the wire, for example because the connection went down. The tool lost them, not the network, so they are not part of the effective loss.
- Rate-limit drop
Packets dropped because the speed limit's queue was full: more data kept coming than the limit and its buffer could hold. Counted apart from loss.
- SYN dropped
Connection-opening packets dropped by the SYN setting.
- MTU dropped
Packets dropped as too large by the size limit (the MTU black hole).
- NAT expired
Packets dropped because their connection's NAT mapping had expired.
- RST reset
Packets of connections the tool reset.
- LAN: internet cut
Packets to or from the internet, dropped by the switch that cuts the internet.
- Local network cut
Packets to or from the local network, dropped by the switch that cuts it.
- Blocked
Packets dropped by a blocking rule.
- Link outage
Packets dropped by a link outage. Counted apart from loss.
- Delayed by outage
How many packets link outages have held back instead of dropping, since the session started. It only grows; what is waiting right now is in the queue.
- RST sent
How many reset packets the tool sent to tear connections down.
- Went around (kernel)
Linux only: packets that went around the tool without being impaired, because the kernel's buffer in front of it was full. They are not in the packet count. Narrow the traffic filter so less goes through the tool.
- Dropped (driver)
Linux only: packets the capture driver dropped before the tool saw them, because its queue was full. The tool lost them, not a setting of yours. Narrow the traffic filter so less goes through the tool.
Buffer overflow, Dropped at stop and Send failed are packets the tool itself lost, not the damage you asked for. They keep the arithmetic of seen, delivered and dropped honest, but they are not part of the effective loss: any of them above zero means part of the loss you measure is the tool's. Right-click a value to copy it, or use Copy counters to copy every row as it reads on screen, which is handy for a bug report.
The columns of the Connections tab
One row per connection, every column sortable by its header, and each header carries the same explanation as a tooltip.
- process
The program that opened the connection, read when the connection first appeared, so a row can still name a program that has closed since. A question mark means the name could not be read; starting the program as administrator usually helps.
- PID
The process id that owns the local port.
- proto
The transport protocol: TCP, UDP, ICMP or IP.
- ICE
For a call or another connection that uses ICE, such as WebRTC: which path it takes, read from its STUN messages. LAN, NAT, WAN, TURN or STUN.
- remote IP
The address this computer is talking to. Right-click a row to aim the impairments at it.
- r.port
The port on the far side, such as 443 for HTTPS or 53 for DNS. Empty for traffic with no ports, such as ping.
- l.port
The port on this computer, which is what links the connection to a program. Empty for traffic with no ports.
- packets
Packets seen on this connection since it appeared.
- impaired?
How much of the connection was in impairment scope: yes for all of its packets, no for none, or a share such as 97 percent when the targeting left some out.
- dropped
Packets of this connection dropped by the impairments: loss, link outages, cut networks, resets and the rest.
- down
Data that actually reached the program on this connection. The unit beside the number changes with its size.
- up
Data that actually left this computer on this connection.
- total
Everything that got through on this connection, both directions together.
- down seen
Data the tool captured coming in, before any impairment. The difference from the delivered download is what never arrived.
- up seen
Data the tool captured going out, before any impairment. The difference from the delivered upload is what never left.
- avg[B]
The average packet size on this connection, in bytes.
- time[s]
Seconds between the first and the last packet of the connection in this session.
- idle[s]
Seconds since the connection's last packet. It stops counting when the session stops.
Where the CSV files go
Export CSV on the Statistics tab adds a row to one file in your
own folder: %LOCALAPPDATA%\BeanNetworkTester on Windows,
~/.config/BeanNetworkTester for the Linux package, and the project folder when run
from source. Set BEAN_DATA_DIR to keep it somewhere else. Each row holds the time,
whether the capture was narrowed, and then the counters, under the names given above.
A table's export, Export connections CSV or Save CSV in the tools, asks where to save, and offers a name with the date and time in it, so a second export does not replace the first. The log names the full path of every file the program saves.
The connections CSV
The same rows as the table, but the column names spell out what the table shortens, and sizes are always in bytes, never in the unit the screen picked. The last two columns come after the rest on purpose, so a reader that takes columns by position is not thrown off by them.
| CSV column | What it means |
|---|---|
process | The process column of the table |
pid | The PID column of the table |
proto | The proto column of the table |
remote_ip | The remote IP column of the table |
remote_port | The r.port column of the table |
local_port | The l.port column of the table |
packets | The packets column of the table |
impaired | The impaired? column of the table |
dropped | The dropped column of the table |
delivered_down_bytes | The down column of the table |
delivered_up_bytes | The up column of the table |
delivered_total_bytes | The total column of the table |
captured_down_bytes | The down seen column of the table |
captured_up_bytes | The up seen column of the table |
captured_total_bytes | The two captured columns added together: everything the connection offered, before any impairment. |
avg_bytes | The avg[B] column of the table |
duration_s | The time[s] column of the table |
idle_s | The idle[s] column of the table |
ice | The ICE column of the table |
packets_in_scope | How many of the connection's packets were in impairment scope: the number behind the share in impaired?. |
The exports of the tools
- Sockets
Every socket the table showed when you saved it: who holds it, the two ends, its state, and when it opened, was first seen and closed.
process,service,pid,proto,local_ip,local_port,remote_ip,remote_port,state,opened,first_seen,closed_at- Port check
Every row of a port check: the ports, the protocol and IP version, whether they are free, and who holds or listens on them.
first_port,last_port,proto,ip_version,verdict,code,holders,listens_on,checked_at- Port scan
Every row of a port scan: the address and ports, the protocol, the state the scan found, the service it answers as, and the size of its reply.
address,first_port,last_port,proto,state,code,service,reply_bytes,scanned_at