Bean Network Tester

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

KB/sIn the CSV: down

How fast data is coming in right now, in kilobytes per second.

Upload

KB/sIn the CSV: up

How fast data is going out right now, in kilobytes per second.

Packets

In the CSV: packets_seen

How many packets have passed through the tool since the session started.

Queued

In the CSV: queue_len

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

In the CSV: dropped_loss

Packets dropped by the loss you set. Link outages are counted on their own.

Loss runs

In the CSV: 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

In the CSV: 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

In the CSV: duplicated

Packets sent twice.

Reordered

In the CSV: packets_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

In the CSV: dropped_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

In the CSV: 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

In the CSV: dropped_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

In the CSV: dropped_rate_limit

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

In the CSV: dropped_syn

Connection-opening packets dropped by the SYN setting.

MTU dropped

In the CSV: dropped_mtu

Packets dropped as too large by the size limit (the MTU black hole).

NAT expired

In the CSV: dropped_nat

Packets dropped because their connection's NAT mapping had expired.

RST reset

In the CSV: dropped_rst

Packets of connections the tool reset.

LAN: internet cut

In the CSV: dropped_lan

Packets to or from the internet, dropped by the switch that cuts the internet.

Local network cut

In the CSV: dropped_local_network

Packets to or from the local network, dropped by the switch that cuts it.

Blocked

In the CSV: dropped_block

Packets dropped by a blocking rule.

Link outage

In the CSV: dropped_link_outage

Packets dropped by a link outage. Counted apart from loss.

Delayed by outage

In the CSV: held_link_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

In the CSV: rst_sent

How many reset packets the tool sent to tear connections down.

Went around (kernel)

In the CSV: kernel_bypassed

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)

In the CSV: driver_dropped

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 columnWhat it means
processThe process column of the table
pidThe PID column of the table
protoThe proto column of the table
remote_ipThe remote IP column of the table
remote_portThe r.port column of the table
local_portThe l.port column of the table
packetsThe packets column of the table
impairedThe impaired? column of the table
droppedThe dropped column of the table
delivered_down_bytesThe down column of the table
delivered_up_bytesThe up column of the table
delivered_total_bytesThe total column of the table
captured_down_bytesThe down seen column of the table
captured_up_bytesThe up seen column of the table
captured_total_bytesThe two captured columns added together: everything the connection offered, before any impairment.
avg_bytesThe avg[B] column of the table
duration_sThe time[s] column of the table
idle_sThe idle[s] column of the table
iceThe ICE column of the table
packets_in_scopeHow 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

Ready to break your own network on purpose?

Download