Network Map Layout
The network map is a layout of the network graph that draws the capture the way an analyst would by hand: devices grouped into nested boxes by where they are, every level shown. It’s the layout the Network Visualization page opens in; the layout controls (bottom right) switch to circular or hierarchical and back. The compare page and the monitor’s snapshot dialog open in circular.
two_sites_one_range.pcap: two sites on the same range, each in its own box.
The Levels
Each box sits inside the one above it:
Your networks: local addresses (private ranges, plus your custom private ranges).
Network: a network TracePcap found from DHCP and VLANs (see Networks Sharing a Range), named by its DHCP domain and VLAN, with its range, gateway and DHCP server under the name. Local devices that no found network accounts for are in Other local addresses (or Local network when the capture has no DHCP at all). A statically addressed host (a server, a printer) joins the network whose range holds its address, when exactly one network has that range.
Subnet: the /24 (IPv4) or /64 (IPv6).
Device family: the kind of device, by its classification: Servers (DNS, web, API and other servers together), Routers, Laptops and desktops, Phones and tablets, IoT devices, Layer-2 devices, Virtual addresses, or Unclassified. Each device’s own label still gives its exact type.
Internet: public addresses, grouped by domain (
cdn.example.comandwww.example.comshareexample.com). The domain comes from the host’s name, else from the name clients looked its address up by in the capture’s DNS traffic; with neither, No hostname.Broadcast and multicast:
255.255.255.255, multicast addresses, and a subnet’s own broadcast address (such as10.20.30.255) when it only ever receives. A host that holds a.255address in a wider subnet sends traffic, so it stays a device.
Each box’s count is of devices, not addresses. Two addresses count as one device only on evidence: a device seen moving to another address, and one DHCP server’s gateway addresses on the networks it serves (one router, so Your networks counts it once while each network still counts its own gateway). Not by MAC address alone: hosts on a routed subnet all reach the capture with the router’s MAC, and a phone with private addressing changes its MAC. The Overview’s Where the hosts are and the PDF report count the same way.
A client asking for an address sends from 0.0.0.0, before it has one, so its
MAC is what tells it apart. Its request is drawn on the device the DHCP server
then gave an address to, so you can follow a client from asking to answered;
a device that moved address has each request on the address it got next. A
client nobody answered gets its own node under No IP address, named by the
hostname it asked under (else its MAC), in the network of the VLAN it asked on.
On an untagged capture with no answer there is nothing to place it by, so it
sits under Other local addresses. Past 20 unanswered clients they are drawn as one node, N devices
asking for an address: hundreds of made-up MACs asking at once is a DHCP
starvation attack, not hundreds of devices.
Device labels are fitted to their cell, so neighbours never overlap: with the whole map in view a device shows its first lines (name and address), cut to fit, and zooming in shows the rest. Hover a device to read all of it.
Each network has its own colour. A router that serves several networks from one MAC address shows once per network: each of its addresses goes in the network whose range holds it. A box’s name shows how many devices it holds; when it’s too small to read at the current zoom, it’s left out until you zoom in. Two networks that use the same range stay apart: a device on the second one is placed by its device key, else by its MAC.
Trying It Out
sample-files/small_office.pcap (made by gen_small_office.py) fills every
level: three DHCP networks (staff, devices, guest), a statically addressed
server network, internet hosts named by DNS lookups, traffic between the
networks, and 26 minutes for the time axis to play (the cameras start at 5
minutes, a visitor’s phone joins at 15).
small_office.pcap.
sample-files/site_to_site_vpn.pcap (gen_site_to_site_vpn.py) is two
offices joined over the internet: each LAN sits behind a gateway that runs DHCP,
DNS and NAT, and the gateways run a WireGuard tunnel between their public
addresses. On the map the two offices are side by side under Your networks;
the gateways’ public addresses sit together in the Internet box (named by
reverse DNS, so both fall under acme.example), joined by the tunnel; long
edges run from Branch’s PCs and till to the HQ file and ERP servers (the traffic
inside the tunnel, captured on each LAN); and each public address fans out to
the sites the offices browse. A gateway’s inside and outside addresses are
separate devices on the map: nothing in the capture ties them together.
site_to_site_vpn.pcap.
With the Time Axis
The layout works with Network Traffic Over Time. With a window set, devices outside it go grey in place and each box counts what’s active, such as 2 of 4 active.
Early in dhcp_address_reuse.pcap: the phone hasn’t been active yet.
Edges, the traffic animation and the same-device links of Devices That Move to Another Address draw as in the other layouts.
Edges that would run through a device
Devices sit in a grid, so a straight edge between two devices in the same row or column (or that happen to line up) would run through every device between them, and read as traffic to them. Route (next to Edges, above the map) picks how the map avoids that:
Bend around devices (the default): only an edge that would touch another device bends, into the gentlest arc that clears it. Every other edge stays as it was. A pair of devices with traffic both ways bends together.
Along the gaps: an edge that would touch a device is drawn with right angles through the space between devices and around their labels, like a diagram drawn by hand, also between groups. Edges sharing a gap sit side by side. On a very busy map, routing stops after about a second and a half; the edges left over bend instead.
Straight lines: every edge straight, as before.
The traffic dots follow each edge’s shape. The choice is kept with your node label settings (see Settings), so it follows your account. The draw.io export keeps plain connectors; set a route style on them in draw.io.
Exporting to draw.io
The download button in the graph card’s header saves the network map as a
draw.io diagram (<capture>-network-map.drawio), to open in draw.io (desktop
or web) and finish by hand:
every box is a draw.io container, nested as on the map, so moving a box carries everything in it;
every device is one of draw.io’s network shapes (server, router, laptop, phone, switch; a circle when the type is unknown), labelled with the same lines as on screen (see Customize node labels);
every pair of devices that talked is joined by one line, in its protocol’s colour.
The diagram opens laid out the way TracePcap drew it. It always uses the network map’s grouping, whichever layout is showing, and only the devices the current filters leave on the graph.
Filters
The funnel button on the graph opens the filter drawer on the right. It is the same drawer as the Conversations tab’s More filters: one section per filter (IP or hostname, port, security risks, node identity, edge protocols, applications, categories, risk types, rules, file types, countries), and each chip shows how many it covers: devices for a node identity, connections for everything else. Filters apply as you pick them. Show N connections at the foot closes the drawer; Clear all resets every filter. The Conversations filters and the Monitor capture map use the same drawer.
Your Own Groups, Names and Notes
Groups (in the graph card’s header, with the network map showing) opens a drawer on the right that lists every group of the map as a tree, with the map still visible beside it. There you can:
Add a group of your own: give it a name (
Payments (PCI scope)) and pick the group it goes inside (a network, a subnet, Your networks…: any box that holds groups rather than devices). It shows as a box saying Drop devices here; drag devices into it on the map.Rename any group: staff.office.example (VLAN 10) can read Staff. The list keeps the automatic name (renamed from …); clear the name to go back to it.
Add a note to any group (owner, location, purpose). It shows under the group’s name on the map, when zoomed in enough to read it.
Delete a group of your own. Devices moved into it go back to their automatic groups.
Clicking a box’s name on the map opens the list on that group. Names, notes and your groups are saved with the capture like moves, are in the draw.io download, and need the same Edit network maps permission; Reset map clears them too.
Moving Devices Between Groups
The automatic grouping is a starting point. To put a device somewhere else (a static server the map filed under Other local addresses, a phone you know belongs with the tills), drag it onto another box: while you drag, the box it would go into lights up; drop it there and it moves. Dropped anywhere else, it goes back to its own box: a device always sits in a box.
The move is saved with the capture, for everyone who opens it, and kept when filters, the time axis or packet replay change what’s shown. A box a device was moved into says so (2 moved here).
Undo move (in the graph card’s header) takes back your last moves, one at a time. Reset map puts every moved device back in its automatic group, after asking.
Moving needs the Edit network maps permission (analysts, by default); without it a dropped device goes back. Every change is in the audit log.
If a move no longer fits (the device is filtered away, or re-analysis files it under a different group), it’s skipped and the device shows in its automatic group.
The draw.io download includes the moves.