IP/TCP Conversation Statistics

Turn the packets of a capture into a conversation table: who talked to whom, packets and original bytes each way, duration, and a count of repeated outbound SYNs. Header data only, nothing is uploaded.

Conversation table
Repeated SYN count
CSV & JSON export
Conversation statistics

This tool turns the packets of a capture into a table of conversations: who talked to whom, how many packets and original bytes went each way, and for how long. It works from packet headers only, so it never sees file contents or payloads. The PCAP Viewer reads the capture file and hands this page the packet table; nothing is uploaded.

How to get a packet table here

  1. Open a captureLoad a .pcap or .pcapng file in the PCAP Viewer. It reads the file in your browser.
  2. Send the packet tableIn the viewer's Next steps tab, choose “View conversation statistics”.
  3. Read the conversationsThis page groups the packets by who talked to whom and counts each direction.
Open the PCAP Viewer
Try a sample

How to get conversation statistics from a pcap file (5 steps)

  1. Open a capture in the PCAP Viewer: This page has no file picker of its own. Open a .pcap or .pcapng file in the PCAP Viewer; when it has read the file, choose View conversation statistics in its Next steps tab. To try the page first, press a button under Try a sample.
  2. Read the table: Each normal row is one conversation with both directions together (fragment groups are listed separately, because later fragments have no ports and cannot be assigned to a conversation): the two addresses and ports, the protocol, packets and original bytes (with a split for each direction), when it started, how long it lasted and the bits per second each way. Click a column name to sort; the default is largest original bytes first.
  3. Narrow it down: Type an IP address, a port or choose a protocol. An address matches either side of a conversation, in any written form. Only the rows that match stay in the table.
  4. Check repeated outbound SYNs (CTF mode): The panel above the table counts SYN-only packets from a private address to an outside address, per host pair. A pair at 5 or more is flagged and its rows are marked and listed first. It is a count of connection attempts, a place to look, not a verdict.
  5. Keep or continue: Download the rows shown as CSV or JSON, add the findings to the investigation, or open the capture in the PCAP Viewer to read the packets behind a conversation.

What Is a Network Conversation?

A network capture is a long list of packets, and reading it one packet at a time hides the shape of the traffic. A conversation groups the packets that belong together: the packets between two endpoints, in both directions. For TCP and UDP an endpoint is an IP address plus a port, so a web request from one browser tab and a second request from another tab are two conversations even between the same two hosts.

The table answers questions a packet list cannot answer quickly: which conversations carried the most data (sort by original bytes to see the busiest first, which helps when looking for top talkers, although this table ranks conversations and does not add up traffic per host), which conversation lasted the longest, which hosts spoke an unexpected protocol, and which inside host keeps trying to reach an outside one. In a CTF the answer to "which host is the odd one out" often decides where to read the packets next.

This page works from packet headers only: addresses, ports, TCP flags, lengths and times. It never sees what a packet carried, so it cannot say what a conversation was about. Reading the content is the job of the PCAP Viewer and the tools that follow it.

How the Table Is Built

The PCAP Viewer reads the capture and decodes every packet's headers. When you choose View conversation statistics there, it stores that packet table, with no file bytes, in your browser (IndexedDB), and this page reads it. A table older than 30 minutes is ignored and deleted when a page next finds it, a new hand-off replaces it, and the Load tab has a button that removes it at once. A background worker then makes one pass over the packets and builds the rows. The worker keeps every row and does the filtering, sorting and paging; the page only renders the rows in view.

A TCP or UDP packet goes into a row keyed by the IP version, the two endpoints (address and port) and the protocol. Addresses are turned into bytes before they are compared, so 2001:DB8::1 and 2001:db8:0:0:0:0:0:1 are one endpoint, while an IPv4 address and its IPv4-mapped IPv6 form are two. The lower endpoint, compared as unsigned bytes and then by port, is Address A. That makes A and B a stable sort position and says nothing about who started the conversation. A packet counts as A to B when its source is A, and as B to A otherwise, so the result is the same whatever order the packets are in.

ICMP, ICMPv6 and other IP protocols have no ports. They are grouped by the two addresses and the protocol number, the ports show a dash, and two different unknown protocols between the same two hosts are two rows. The label is ICMP for IPv4 protocol 1, ICMPv6 for IPv6 protocol 58, and Other (protocol N) for the rest.

Original Bytes, Time and Bits per Second

Bytes are the sum of each packet's original length, the frame length the capture recorded, even when the capture saved only part of the packet. The column is called Original bytes because it is not claimed to be the exact volume that crossed a wire: capture formats and capture points differ in what they include.

A packet's time is a whole number of seconds plus nanoseconds, and the page compares and subtracts them as that pair, never as one floating-point number. A conversation's start is its earliest timestamp and its end its latest, not the first and last in the file, because captures can be out of order. Duration is end minus start, and Start in the table is measured from the earliest timestamp in the whole capture. A packet with no timestamp (a pcapng Simple Packet Block has none) still counts for packets and bytes, but is skipped for time; a conversation with no timestamped packet shows N/A, never 0.

Bits per second for one direction is that direction's original bytes times 8 divided by the conversation's duration, using only the bytes of packets that have a timestamp. Both directions use the same duration. It shows N/A when the duration is 0 (for example a one-packet conversation) or unknown. This is the page's own definition and is not claimed to match another tool's.

Fragments and Packets That Are Not in a Row

IP fragments after the first have no TCP or UDP header, so they have no ports. The page does not reassemble them. A first fragment whose transport fields could be read is counted in its normal protocol row (for TCP and UDP, its address-and-port row), which also counts it as a fragmented packet. If its transport layer could not be read, it is in no row and no fragment group: it is listed under the reason given. The later fragments of the same IP pair with the same fragment ID (and, for IPv4, the same protocol) are grouped in one row labelled Fragment group (no ports). Fragment IDs can be reused over time, so one group can hold the fragments of more than one datagram; the page does not guess where one ends, and the group is never presented as one datagram.

Every packet gets exactly one outcome, decided in a fixed order: inconsistent packet data first, then not IP traffic (such as ARP), then a fragment group, then a packet whose transport layer could not be read (the reason is listed), and last a normal row. Under the table, one line reads "N of M packets are not in any row" and opens to the counts by reason. The packets in rows plus the packets in no row always add up to the packets read.

Repeated Outbound SYN Activity

A TCP connection starts with a SYN packet. This panel counts SYN-only packets (SYN set, ACK not set) for each ordered pair of hosts, from a private IPv4 source (10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16) to an outside IPv4 address, across all ports and over the whole capture. A retransmitted SYN counts again, and each qualifying SYN-ACK packet is counted once even when several retransmitted SYNs share its addresses and ports. A pair is flagged at 5 or more; that number is this tool's own default, not taken from another source, and CTF mode lets you change it (the minimum is 2).

An outside address is any IPv4 address outside the special-purpose blocks of the IANA registry as listed in the blueprint this page follows (private ranges, loopback, link-local, 100.64.0.0/10, multicast, the reserved 240.0.0.0/4 block and the others in the table below). The documentation ranges 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24 are not outside by default, because synthetic captures often use them as the remote host; a switch in the panel counts them. 192.88.99.0/24 is never counted because its status was not confirmed.

Beside each pair the panel shows how many different destination ports were tried and how many SYN-ACK replies came back for exactly the same two addresses and ports reversed. Those two numbers are context for the reader and never decide the flag. High number of outbound connection attempts to this host. This may reflect retries, polling, scanning, or other activity worth investigating. It is not proof of malware or persistence. The count does not measure how regular the attempts are, and it does not compare activity across many ports or many hosts from one source, so it cannot tell retries from scanning. IPv6 is not counted: this check is IPv4 only.

A CTF Workflow with This Tool

1. Open the capture in the PCAP Viewer and read its protocol hierarchy to see what kinds of traffic are there. 2. Send the packet table here and sort by original bytes: the largest rows are the busiest host pairs, and a pair of hosts you did not expect is a place to start. 3. Look for rows with an unusual protocol, a very long duration or an odd port, and filter by the host involved. 4. In CTF mode read the repeated-SYN panel: an inside host with repeated attempts to one outside address is worth a look at the packets. The destination-port count is extra context only: this page does not decide whether the activity is a port scan. 5. Go back to the PCAP Viewer with the capture, filter by the addresses you found and read those packets and their payloads. Findings from this page can be added to the investigation, and the CSV or JSON of the rows you filtered can be kept.

Checking a Result with Other Tools

The grouping is the same idea as Wireshark's Statistics, Conversations window, and tshark prints the same kind of table: tshark -r capture.pcap -q -z conv,tcp (use conv,udp or conv,ip for the others). Packet and byte counts per TCP or UDP conversation can be compared directly. Column layout, the way A and B are chosen and the bits-per-second definition are this page's own, so those can differ, and Wireshark's own columns were not tested here.

Terms in Plain Words

The words this page uses, in everyday language.

TermPlain meaning
ConversationAll the packets between two endpoints, both directions together.
EndpointAn IP address plus, for TCP and UDP, a port.
Original bytesThe frame length the capture recorded for each packet, added up.
SYN-only packetA TCP packet with the SYN flag set and the ACK flag not set: the first packet of a connection attempt.
SYN-ACKA TCP packet with both SYN and ACK set: the reply that accepts a connection attempt.
Fragment groupLater IP fragments that share an address pair and a fragment ID. They have no ports and are not reassembled.
Top talkersThe busiest conversations. Sort by original bytes to see them first. This page lists conversations, not per-host totals.

The Three Kinds of Row

What decides which row a packet goes into.

RowGrouped byExample
Port row (TCP, UDP)IP version, the two endpoints (address and port), and the protocol192.168.1.20:51512 ⇄ 93.184.216.34:443, TCP
Port-less row (ICMP, ICMPv6, other)IP version, the two addresses, and the IP protocol number192.168.1.20 ⇄ 192.168.1.1, ICMP; or two hosts and Other (protocol 132)
Fragment group (no ports)IP version, the two addresses, the fragment ID, and the IP protocol (IPv4 only)Two later fragments of a datagram from 10.0.0.5 to 10.0.0.9 with ID 900

Protocol Labels

What the Protocol column says.

LabelMeaning
TCP, UDPA port row, with ports
ICMPIPv4 protocol 1, no ports
ICMPv6IPv6 protocol 58, no ports
Other (protocol N)Any other IP protocol number N, no ports. Two different protocols between the same hosts are two rows
FragmentA fragment group: later IP fragments that have no ports

Which Destinations Count as Outside

The repeated-SYN count only looks at a private source and an outside destination. These ranges follow the IANA special-purpose list, checked against the live registry on the date given under Limitations.

RangeKindIn the count
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16Private (RFC 1918)Source for the count; never an outside destination
0.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 192.0.0.0/24, 198.18.0.0/15Special-purpose blocksNot outside (192.0.0.9 and 192.0.0.10 inside 192.0.0.0/24 are listed as globally reachable and count as outside)
224.0.0.0/4, 240.0.0.0/4 (includes 255.255.255.255)Multicast and reservedNot outside
192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24Documentation (RFC 5737)Outside only when the switch is on
192.88.99.0/24Deprecated 6to4 relay range, status not confirmedNever counted
Any other IPv4 addressOutsideCounted

Filter Examples

The filter keeps the rows that match every condition you fill in.

TypeKeepsResult on the samples
192.168.1.20Rows where either address is 192.168.1.20Four rows in the Home network sample
2001:DB8:0:0:0:0:0:10Any written form of an IPv6 address matches the same rows as 2001:db8::10One row in the Fragments and odd packets sample
Port 53Rows where either port is 53; port-less rows and fragment groups never match a portTwo rows in the Home network sample
Protocol: ICMPICMP rows onlyOne row in the Home network sample

This Page and Wireshark

What each is for. Wireshark is the full desktop analyser; this page is the quick, install-free table for a capture the PCAP Viewer has read. The Wireshark column describes its well-known standard features and was not tested here; check its current documentation.

This pageWireshark
Where it runsIn your browser; nothing to install; the packet table is kept in your browser, not uploadedA desktop application you install
Groups packets into conversationsYes, for IP with TCP, UDP, ICMP and other IP protocolsYes, in its Statistics, Conversations window, for many address types
Packets and bytes per direction, start, durationYesYes
Repeated SYN-only count per host pairYes, in CTF mode, IPv4 onlyNot a column of that window; it is a separate filter or tshark workflow
Reads a capture file itselfNo: the PCAP Viewer reads it and hands over the packet tableYes
Follow a TCP stream, decode protocolsNoYes

Examples

Input: Home network sample, a web request: a SYN, a SYN-ACK and an ACK, four 1,514-byte replies and two ACKs between 192.168.1.20:51512 and 93.184.216.34:443.

Result: One TCP row with 9 packets and 6,338 original bytes: 5 packets and 6,116 bytes from A to B, 4 packets and 222 bytes from B to A, lasting 0.08 s, at 611,600 bits per second A to B and 22,200 B to A.

Meaning: Address A is 93.184.216.34 because its first byte (93) is lower than 192, not because it started or answered anything. The two directions are listed separately because most of the data flowed one way.

Input: The same sample with the packets in reverse order.

Result: The same row, with the same counts and the same times.

Meaning: Direction comes from the addresses and times from the minimum and maximum, so the order of the packets never changes a row.

Input: Home network sample, two DNS lookups from 192.168.1.20 to 192.168.1.1, from source ports 53124 and 53125.

Result: Two UDP rows with 2 packets and 164 original bytes each, 0.005 s long, 144,000 bits per second from the server and 118,400 from the client.

Meaning: A different source port is a different conversation, even between the same two hosts.

Input: Repeated SYNs sample: 192.168.1.50 sends 12 SYN-only packets to 8.8.4.4 (7 to port 443, 5 to port 8443) and gets no reply.

Result: One pair in the panel: 12 SYN-only packets, 2 destination ports, 0 SYN-ACK replies, flagged at the default of 5. Its rows are marked and listed first.

Meaning: It says the host tried 8.8.4.4 twelve times and was not answered in this capture. It does not say why.

Input: Repeated SYNs sample: 192.168.1.60 sends 6 SYN-only packets from one source port to 8.8.8.8:443 and one SYN-ACK comes back; 192.168.1.70 sends 3 to 1.1.1.1.

Result: 192.168.1.60 is flagged with 1 SYN-ACK reply. 192.168.1.70 is listed with 3 packets and not flagged; setting the threshold to 3 flags it.

Meaning: A reply does not remove the flag: the count is of attempts. The threshold decides the line, and the list shows every counted pair either way.

Input: Repeated SYNs sample: 192.168.1.80 sends 6 SYN-only packets to 192.168.1.1:22.

Result: Not in the panel and not marked.

Meaning: Both addresses are private, so the pair is inside the network and is never counted.

Input: Fragments and odd packets sample: a TCP first fragment from 10.0.0.5 to 10.0.0.9 (1,514 bytes) and two later fragments with the same fragment ID (1,514 and 400 bytes).

Result: A TCP row with 1 packet and a fragmented-packet count of 1, and a separate Fragment group (no ports) row with 2 packets and 1,914 original bytes.

Meaning: The first fragment has the ports, so it joins a normal row. The later ones have none, so they are grouped by address pair and fragment ID, and are not claimed to belong to that TCP row.

Input: Fragments and odd packets sample: 13 packets including two ARP frames and one IPv6 packet with an extension header the viewer does not follow.

Result: 10 packets are in rows and 3 are in no row (2 not IP, 1 with an unresolved transport layer): 10 + 3 = 13.

Meaning: No packet is dropped silently. The line under the table says how many are not in a row and why.

Input: Fragments and odd packets sample: two UDP packets between 10.0.0.5:5353 and 10.0.0.9:5353 that have no timestamp.

Result: One UDP row with 2 packets and 240 original bytes; Start, Duration and both rates read N/A.

Meaning: A missing time is shown as N/A, never as 0 or as an epoch date.

How it works

Receive

The page opens with ?fromSession=true from the PCAP Viewer and its worker reads the packet table from one browser storage record. No record, or a record older than 30 minutes (which is deleted), gives the empty state with a link to the PCAP Viewer.

Classify

Each packet gets one outcome in a fixed order: inconsistent data, not IP, fragment group, transport not resolved, or aggregated into a row.

Group

One pass builds the rows and the SYN pairs. Addresses are compared as bytes, endpoints are ordered, and each packet is counted in its direction.

Time

Start and end are the minimum and maximum valid timestamp of the conversation, compared as whole seconds plus nanoseconds. Rates use only timestamped bytes.

Show

The worker keeps every row and does the filtering, sorting and CSV/JSON export. The page asks it for the filtered, sorted rows in view and renders only those, so the table works the same with ten conversations or a few hundred thousand.

What the results mean

ResultWhat it meansWhat to do
Flagged (repeated outbound SYN)A private IPv4 host sent 5 or more SYN-only packets (or your threshold) to one outside IPv4 host.Read those packets in the PCAP Viewer. It may be retries, polling, scanning or something else. It is not proof of anything.
Below the thresholdThe pair was counted but has fewer SYN-only packets than the threshold.It is listed so you can see the count. Lower the threshold to flag it.
Fragment group (no ports)Later IP fragments that share an address pair and a fragment ID.Find the first fragment in a normal row of the same hosts. The two are not joined, and a group can hold more than one datagram.
N/A in Start, Duration or rateNo packet of the conversation has a timestamp, or the duration is 0.Packets and bytes are still correct. A one-packet conversation always has duration 0.
N of M packets are not in any rowThose packets were not IP traffic, had no readable transport layer, or had inconsistent data.Open the line to see the counts by reason.
SYN-ACK replies: 0No SYN-ACK matched the exact reverse addresses and ports of a counted SYN.The host may be down, filtered, or the reply is outside the capture. Sequence numbers are not checked, so a match only shows that a reply with the reversed addresses and ports was seen.
No parsed packet dataNo packet table was found, or it is more than 30 minutes old.Open a capture in the PCAP Viewer and send the packet table again.

Limitations

  • Header data only. This page never sees payloads, so it cannot say what a conversation carried. It does not follow TCP streams or decode HTTP, DNS, TLS or any other application protocol.
  • A and B are sort positions, not client and server. Nothing on this page says who started a conversation.
  • For GRE and VXLAN packets the PCAP Viewer passes the inner addresses and ports, so rows are grouped by those. The same inner addresses seen in different tunnels, or also directly, share one row.
  • Conversations from all sections and interfaces of a capture are grouped together. The same traffic captured on two interfaces is counted twice, and timestamps from different sections are compared directly.
  • Fragments are not reassembled. A fragment group is a group of later fragments sharing an address pair and an ID, not a datagram, and it is not joined to the first fragment's row.
  • Original bytes are the frame lengths the capture recorded. They are not claimed to be the exact traffic volume on the wire. Bits per second use the page's own definition: a direction's timestamped original bytes times 8 divided by the conversation's duration.
  • The repeated-SYN count is IPv4 only, from a private source to an outside destination. It counts SYN-only packets per host pair, including retransmissions. It does not look at timing or regularity, and it does not compare many ports or many hosts from one source. SYN-ACK replies are matched on addresses and ports only, not sequence numbers.
  • The list of outside addresses follows the IANA IPv4 special-purpose registry. It was checked against the live registry (last updated 2025-10-09) on 2026-11-16 and may become out of date, because the registry can change. 192.88.99.0/24 is never counted because the registry does not say whether it is globally reachable.
  • Not built: a count of TCP flows, a timeline or graph view, per-host totals, and any look at payload content.
  • This page reads the packet table the PCAP Viewer hands over, up to 500,000 packets (the viewer's own limit, 200,000 on phones and low-memory devices). The hand-off is one shared record: a new one replaces the earlier one, a page that finds it older than 30 minutes deletes it, and the Load tab can remove it at once. If no page reads it, it stays in this browser's storage until one of those happens.
  • The tool was tested on hand-built packet tables whose expected values were worked out by hand, and its packet and byte counts were compared with tshark on real captures (see the FAQ). It was not compared with any other product, and results on captures with unusual link types or very large packet counts on slow devices were not measured.

Privacy

The packet table is passed from the PCAP Viewer through your browser's own storage (IndexedDB), used for up to 30 minutes, and grouped locally, in a background worker. It stays in that storage until it is replaced, removed with the button on the Load tab, or found older than 30 minutes by a page that reads it. This tool does not send it to our servers, and neither its addresses, ports, counts nor file name are passed to analytics: analytics events carry feature names and coarse categories only. The table holds addresses, ports, TCP flags, lengths and times, and no file bytes. The Investigation Workspace stores only findings and hashes, never the packets.

Frequently Asked Questions

What is a network conversation in a pcap?

All the packets between two endpoints, both directions together. For TCP and UDP an endpoint is an IP address and a port, so two connections between the same hosts from different ports are two conversations.

How do I see the top talkers in a pcap file?

Sort the table by Original bytes, which is also the default order in Basic mode. The biggest rows are the busiest conversations. The table lists conversations, not totals per host, so a host with many small conversations can be busy without having a big row.

Is this like Wireshark's Conversations window?

It groups packets the same way in spirit: both directions together, with packets, bytes, start and duration. In our tests its counts and durations matched tshark's conversation tables on real captures. The column layout, how A and B are chosen (Wireshark uses the first packet seen, this page the lower address), how packets without a timestamp are treated, and the bits-per-second definition are this page's own, and the Conversations window itself was not opened.

What is the difference between conversations and endpoints?

An endpoint is one address, or one address and port. A conversation is a pair of endpoints and everything exchanged between them. This page lists conversations; it has no table of single endpoints, so totals per host are not shown.

Why does the page ask me to open the PCAP Viewer first?

Reading a capture file is the PCAP Viewer's job, and this page deliberately has no parser of its own. The viewer sends the packet table, without any file bytes, through your browser's storage, and this page groups it.

Is my capture uploaded?

No. The packet table is passed through your browser's own storage, used for up to 30 minutes, and grouped in a background worker in this tab. You can remove it from storage with a button on the Load tab. It is not sent to our servers, and its addresses, ports and counts are not passed to analytics.

Why are the bytes called Original bytes?

Each packet's length is the frame length the capture recorded, even when only part of the packet was saved. It is not claimed to be the exact volume on the wire, because capture formats and capture points differ in what they include.

What does the repeated outbound SYN count mean?

It counts SYN-only TCP packets from a private IPv4 address to an outside IPv4 address, per host pair, over the whole capture. A high count can come from retries, polling, scanning or other activity. It is a place to read the packets, not proof of malware or of anything else.

Does it detect port scans or malware?

No. It counts connection attempts per host pair and says nothing about timing, about many ports or hosts from one source, or about intent.

Why is a packet not in any row?

It was not IP traffic (such as ARP), its transport layer could not be read, or its data was inconsistent. The line under the table lists the counts by reason, and the packets in rows plus those in no row add up to the packets read.

Why do some conversations show N/A for time?

None of their packets has a timestamp (a pcapng Simple Packet Block stores none), or the duration is 0, as with a conversation of one packet. Packet and byte counts are still shown.

Can I export the conversations?

Yes. CSV and JSON download the rows currently shown, in the current sort. CSV cells that start like a spreadsheet formula are quoted so they are not run when the file is opened.

How was it checked?

In our tests, the packet and byte counts per direction, the durations and the repeated-SYN counts matched an independent aggregation of tshark's own output on 240 real captures (2,698 TCP and UDP packets in 776 conversations). The conversations also matched tshark's own conversation tables (conv,tcp and conv,udp, the command-line counterpart of Wireshark's Conversations window) line by line for frames and bytes each way, duration and relative start: 657 conversations in 197 captures. Captures with other link types, IP fragments or no TCP and UDP traffic were left out, and the Conversations window itself was not opened. The same figures can be re-run with npm run test:tshark:ctf-stats.

Is there a size limit?

This page reads the packet table the PCAP Viewer hands over, up to 500,000 packets (the viewer's own limit, 200,000 on phones and low-memory devices). Capture file size is limited in the PCAP Viewer, which reads the file.