Skip to content

Topology

The topology shows who talks to whom on your Ethernet networks: which internal addresses exchange traffic with each other, which external networks and countries they reach, over which services, and when. Where the asset details page answers these questions for one asset, the topology answers them for everything the selected taps recorded.

You can find it under Ethernet in the sidebar of your Nzyme web interface. The page has four views of the same connections (a graph, a matrix, a flow diagram and a map), a time window that plays the connections back over the selected time range, and rankings of the services in use and of the rarest and newest external nodes.

What the Topology Is Built From

The topology is computed from the TCP and UDP sessions that your taps recorded, at the moment you open the page. Nothing is precomputed, so every time range, tap selection and filter is possible, down to a single minute. The topology reaches as far back as your session data retention.

Every session has a source, which initiated it, and a destination, which accepted it. Each of the two is either internal or external:

Endpoint What it is
Internal An address that was recorded as an internal address: an address in a private, unique local or link-local range, in a configured or learned network of your site, or in the carrier-grade NAT range if that range is configured as internal.
External Any other address. Nzyme looks up its autonomous system, country, city and coordinates with GeoIP data.

Sessions to multicast, broadcast and loopback addresses are not part of the topology. They are not connections between two parties and would otherwise drown everything else in name resolution and discovery chatter.

A session is part of the time range if its most recent activity falls into it, like on the TCP/UDP sessions page, and it counts with all of its bytes.

Nzyme records the totals of a session, not when its bytes moved. Wherever the page shows traffic over time, the bytes of a session are spread evenly over the time it was open. A session that was open for two days and transferred 400 MB appears as a steady trickle over those two days, even if most of the bytes moved within one hour. A session that started before the time range is treated as if it started with it.

Multiple Taps

The topology respects the tap selection. Taps at different collection points often record the same traffic, for example one at the access switch and one at the internet uplink. Such traffic is counted once: for every pair of addresses and port, Nzyme adds up what each tap recorded and uses the tap that saw the most. Traffic that only one tap saw counts in full.

Two views show taps side by side instead, and there every tap keeps what it recorded: the graph and matrix with internal nodes grouped by Taps, and the map, where every site has its own flows.

Nodes

Endpoints are grouped into nodes. How coarse the grouping is can be changed for internal and external endpoints separately, which is the main way to keep a large network readable.

Endpoints Grouped by A node is
Internal Addresses One IP address. Carries the asset that claimed the address and used it in the time range, unless more than one asset did.
Internal Networks A /24 network for IPv4, a /64 network for IPv6.
Internal Taps All internal addresses a tap recorded sessions of.
External Autonomous systems One autonomous system. Addresses without a known one are grouped by country.
External Countries One country.
External Addresses One IP address.

The graph starts with external endpoints grouped by address, the matrix and the flow view with autonomous systems. A grouping you select yourself applies to all views.

Addresses that GeoIP data knows nothing about appear as Internet (unresolved) or Unknown country. Without GeoIP data, which Nzyme Connect provides, all external traffic ends up there. Addresses of the carrier-grade NAT range 100.64.0.0/10, which overlay networks like Tailscale use, also end up there unless the range is configured as internal.

Selecting What to Look At

The Topology card at the top of the page selects the sessions that everything else is computed from.

  • The time range and the tap selection work like on every other page. The time range of this card applies to all cards of the page, which name it below their titles.
  • The filters are the ones of the TCP/UDP sessions page. You can filter by addresses, networks in CIDR notation, ports, session state, tags, bytes, duration, autonomous system, country and more.

The Source is Internal and Destination is Internal filters limit the topology by where the two endpoints of a session are:

To see Source is Internal Destination is Internal
Internal traffic: sessions between internal addresses True True
Outbound traffic: sessions initiated from the inside True False
Inbound traffic: sessions initiated from the outside False True

The Internal Connection filter looks at both ends of a session. True matches internal traffic, and False matches the sessions that have an external address on at least one end.

These filters read what was recorded with a session, so they select exactly what the topology draws as internal and external nodes. See Internal Addresses for which addresses are internal.

The Quick Filters menu next to the filter form sets the most common of these for you. Only Internal Connections adds Internal Connection == true, No Internal Connections adds Internal Connection == false, and Only Connections from External adds Source is Internal == false, which leaves the sessions that were initiated from the outside. They are ordinary filters that you can remove like any other. Selecting one replaces the others, and selecting the active one again removes it. The TCP/UDP sessions page has the same menu.

The IS PRIVATE and IS NOT PRIVATE operators of the address filters select by address range instead. Private means the address ranges of RFC 1918, 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16, and IPv6 unique local addresses (fc00::/7). The shared address space that carrier-grade NAT uses, 100.64.0.0/10, is not one of them. Internet providers hand its addresses out to customers behind their NAT, and overlay networks like Tailscale use them for their devices. The IS CGNAT and IS NOT CGNAT operators select and leave out that range: Source Address IS NOT CGNAT next to Only Connections from External leaves the sessions that really came from the internet. These operators compare the address itself and do not depend on whether the range is configured as internal.

The strip below the card sums up the selection: how many distinct internal addresses, external addresses, autonomous systems and countries take part in it, and how many sessions and how much traffic it holds.

Filtering for a Node

Any node can become the subject of the whole page with a filter. Four filter fields match either end of a session, the source or the destination:

Field Matches sessions that
Address have the address, or an address of the network, on either end.
Address ASN Number have an address of the autonomous system on either end.
Address Country Code have an address in the country on either end.
Address City have an address in the city on either end.

Below the details of a selected node are two menus. Filter holds what applies to the page: Show Only This Node adds the filter for the node right away, and so does a double-click on a node in the graph. Pivot holds the links to other pages, like the sessions of the node or its asset. The filter icons next to the values of a node and in the rankings open the filter dialog with the matching field and value filled in, like the filter icons on other pages do. With Address ASN Number == 13335, the page shows that autonomous system the way the asset details page shows an asset: who talks to it, over what, and when.

The same fields are available on the TCP/UDP sessions page, so the session links of the topology carry them along.

With a negative operator like !=, these fields match the sessions that have the value on neither end. A session whose address has no autonomous system, country or city at all, like every internal address, has it on neither end and stays. The fields for one side, like Destination Address ASN Number, drop such sessions when they are used with a negative operator.

IS PRIVATE and IS NOT PRIVATE are the exception. Address IS PRIVATE matches the sessions with a private address on at least one end, and Address IS NOT PRIVATE the sessions with a public address on at least one end. Address IS NOT CGNAT is no exception: it matches the sessions with a carrier-grade NAT address on neither end, like Address NOT IN CIDR 100.64.0.0/10.

Nodes that no filter describes have no filter icon: taps, and external addresses that GeoIP data knows nothing about.

Excluding Nodes

Exclude This Node in the Filter menu of a selected node leaves out every session that has the node on either end. This is how you take a node that dominates the picture, like a backup server or a content delivery network, out of the way to see what is left. Places on the map can be excluded the same way.

Excluded nodes are listed below the filters, where each can be included again, and they are part of the page address. Up to 25 nodes can be excluded.

A single node can also be left out with a != filter. Several cannot: filters on the same field are alternatives, and a session always differs from at least one of two values. Excluded nodes add up instead.

Views

The View selector above the views switches between the graph, the matrix, the flow diagram and the map.

All views show the connections with the most traffic. The number next to Connections is how many connections the selection has in total at the current grouping, so you can tell whether a higher limit would show more. A note below the view says how many of them are shown and how much of the traffic the shown ones carry, and offers the next higher limit if connections were left out. In every view, a click selects what you point at and shows its details on the right.

Graph

Nodes are drawn as circles (internal) and squares (external), connections as lines between them. The color of a line says which side initiated the sessions. The colors are the ones of the communication graph on the asset details page:

Line Meaning
Sky blue Outbound: an internal node initiated sessions to an external node.
Rose Inbound: an external node initiated sessions to an internal node.
Yellow Both: the two nodes initiated sessions to each other.
Teal Between two internal nodes.
Dashed UDP only. Solid lines carried TCP.

Arrowheads show where data went, whichever side initiated the sessions. A connection that carried data in both directions has an arrowhead at each end, and the larger one points at the node that received more. A download that an internal host started from an external network is a sky blue line with a large arrowhead at the internal host and a small one at the external network. Sessions that carried no data, like connection attempts that got no reply, have an arrowhead that points at the node that was connected to. If both nodes made such attempts at each other, the line has an arrowhead of the same size at each end. Pointing at a line shows the numbers behind it: the sessions each side initiated and the data that went to each end.

The width of a line and the size of a node follow their traffic. A graph with many connections draws its lines thinner, and the ones with little traffic fainter, so that the busy connections stand out.

What a view is made of is set in the row above it: how internal and external endpoints are grouped and how many connections are loaded. How a view is drawn is set in its Display menu, which stays open while you try its options. For the graph, these are the first three and the last four options of this table:

Option Effect
Internal nodes How internal endpoints are grouped, see Nodes.
External nodes How external endpoints are grouped.
Connections How many connections are loaded, busiest first, from the top 100 to the top 10,000. Large graphs take longer to load and to arrange themselves.
Arrange By connections lets connected nodes pull together. Internal inside, external around keeps your network in the middle and the outside world on a ring. By network and country gathers internal addresses by network and external nodes by country.
Node size Sizes nodes by traffic, by sessions or by the number of nodes they are connected to. With a time window, the size follows what happened in the window.
Labels Labels the busiest nodes, all nodes, or only what you point at.
Hide links below Leaves out connections with less traffic than the chosen amount. The note below the graph says so while it is set.

Resting the pointer on a node lights up its connections and fades the rest, which is the quickest way to read a busy graph. Selecting a node does the same and keeps it that way. Nodes can be dragged, and Freeze layout stops the graph from rearranging itself.

Matrix

The matrix has one row for every node that initiated sessions and one column for every node that accepted sessions. A cell is the traffic of that direction, colored from little to much. Internal nodes come first on both axes, so the top left corner is your internal network talking to itself and the area to its right is outbound traffic.

The matrix stays readable where a graph does not. A row that is filled from left to right is a node that talks to everything, which is what a scanner, a backup server or a proxy looks like. A filled column is a node that everything talks to, like a DNS server or a domain controller.

Flow

The flow diagram has three columns: sources on the left, services in the middle and destinations on the right. The bands between them are as wide as the traffic they carry. Each column shows its busiest entries and folds the rest into Other.

Pointing at an entry or a band lights up the part of every band that the traffic passing through it takes. Point at a source to see which services it uses and where they lead, at a service to see who uses it to reach whom, or at a destination to see what reaches it and how.

Services switches the middle column between protocols and ports. A protocol is what Nzyme tagged a session as, for example TLS, DNS or SSH, independent of the port it ran on. Sessions without a tag appear with their destination port.

Map

The map shows traffic between your sites and the places external addresses are located at, on the same globe as the asset details page. Flows are colored by traffic and pulse in the direction the sessions were initiated in.

Each selected tap is drawn at its site:

  1. A tap that is assigned to a location with coordinates is drawn at that location. All taps of one location form one site.
  2. A tap without such a location is drawn at its own coordinates, if it has any.
  3. A tap without either cannot be drawn. The places its traffic went to still appear, without a flow, and a note below the map names the tap.

With taps at several locations, every location is a source of its own, and a place that more than one site talks to has one flow per site. Selecting a site lights up everything that site talks to.

Map points switches between cities and countries. Addresses that GeoIP data knows a country but no coordinates of are always drawn at the center of their country. The map only shows sessions with one internal and one external endpoint.

Exporting

The Export menu above the views saves what the current view shows:

Export Views What you get
Image (PNG) Graph, Matrix, Flow The drawing as it is on screen, at twice the resolution, in the colors of the light or dark mode you are using.
Image (SVG) Matrix, Flow The same drawing as a vector image that can be scaled and edited.
CSV All The connections or flows behind the view, with their sessions and bytes.

Images carry a caption below the drawing with the view, the time range or time window, the tap selection, the filters, the excluded nodes and the time of the export, so they still explain themselves in a report or a ticket. Everything follows the time window if one is set. The map cannot be exported as an image.

The files are created in your browser. The communication graph on the asset details page has the same menu.

The Time Window

The chart below the views shows the traffic of the selection over the time range, split into internal, outbound, inbound and external to external. Set to sessions, a bar counts the sessions that were open during it, so a long-running session is part of every bar it spans. Its traffic is spread evenly over those bars.

Drag across the chart to select a time window. The view above then shows only what happened inside the window: connections without traffic in it fade in the graph, and bands, cells and flows shrink to their share. The details of a selected node or connection, like its services, follow the window too. The window can be moved by dragging it and resized at its edges. This is the fastest way to see when a connection started, what else was going on at the time of a spike, or how the network looks at night compared to working hours.

Nodes in the graph grow and shrink with their traffic in the window while they stay where they are. Their sizes are comparable from one position of the window to the next: the largest size stands for the most that any node reaches in any window of the same width within the time range, not for the busiest node of the current window. During a quiet hour all nodes are small, and a node that is suddenly large is one that is busy by the standards of the whole time range. Resizing the window sets a new scale, because a wider window holds more traffic.

Replay

The play button replays the time range: the window slides across the chart on its own and the view above follows it. Without a window, the replay starts with one that covers a twelfth of the time range. Resize the window first to replay with a wider or narrower one.

Control Effect
Play and pause Starts and pauses the replay. A window that sits at the end starts over from the beginning.
Step buttons Move the window by one bar of the chart, back or forward, and pause the replay.
Repeat Lets the replay start over when the window reaches the end of the time range. It is on by default. Turned off, the replay stops at the end.
Speed How fast the window moves, from a quarter of to eight times the normal speed. At normal speed, the window moves by one bar of the chart every 0.6 seconds. The speed can be changed while the replay runs.

Taking the window with the mouse pauses the replay.

The window does not load anything. It works on the connections that are already shown, each of which carries its traffic over time. Two things follow from that:

  • The connections are the busiest ones of the whole time range. A connection that is too small to make that list does not appear in a window either, even if it was among the busiest there.
  • The rankings below and the summary strip keep showing the whole time range.

Use as Time Range sets the time range of the page to the window and loads everything again for it, which lifts both limits.

Live

The Live button above the views switches the page from the selected time range to what is happening now. The graph and the map then show the last 30 seconds of activity and move on by themselves, second by second. Filters, excluded nodes, the tap selection, the node grouping, the connection limit and the options of the Display menu keep working as before. The matrix and the flow diagram are not available while the page is live.

The page shrinks to what is live: the time range selector, the details panel, the time window and the rankings are hidden, and the summary strip counts the nodes, connections, sessions and traffic of the last 30 seconds. Clicking Live again brings back the time range and everything that belongs to it.

What you see runs 20 seconds behind. Taps report their sessions every ten seconds, so the most recent moments are not complete when they happen. The page loads them as they come in and replays them 20 seconds later, with the times the taps recorded. A session that is reported later than that appears when it arrives. The line below the view names the time the view has reached.

What you see What it means
A streak running along a line A session started. It runs from the node that initiated the session to the node that accepted it, at the time the session started.
A connection that appears The first session between the two nodes in the last 30 seconds started.
A connection that disappears The two nodes have not exchanged traffic for 30 seconds.
Line widths and node sizes Traffic of the last 30 seconds. Node sizes are relative to the busiest node of the recent past.

The start of a session is known exactly. How its traffic was spread over time is not: a tap reports how much a session has transferred so far, not when. Nzyme spreads what a session gained between two reports evenly over the time between them. A session that was already running when the page went live shows as a connection right away, and its traffic counts from its next report on.

A live graph is never at rest, because nodes and connections come and go. Nodes keep their place while they are there, a node that returns goes back to where it was, and the view follows the graph until you zoom or move it yourself. Reset view makes it follow again. How calm the graph is depends on what it shows:

  • Grouping external nodes by autonomous system calms the graph the most. Grouped by address, most external nodes are new ones.
  • Filters make the graph smaller. A live view of one network, one service or one host is easy to follow.
  • Hide links below in the Display menu removes connections with little traffic in the last 30 seconds.
  • Freeze layout stops all movement. New nodes still appear, next to a node they are connected to.

With several taps selected, traffic that more than one of them recorded is counted once, as described in Multiple Taps. The page stops loading data while its browser tab is in the background and catches up when it is shown again.

Live has limits, and the line below the view says when one of them was reached:

Limit Effect
Sessions per request The page asks for new activity every five seconds and takes up to 5,000 sessions each time, the most recently active ones first.
Connections The graph shows the busiest connections up to the selected limit, like it does for a time range.
Flows on the map The map shows the 500 busiest flows.

Live depends on clocks. Sessions carry the time of the tap that recorded them, and the page follows the clock of the database. Sessions of a tap whose clock is more than about 20 seconds behind, or more than a minute ahead, do not appear. A report that reaches the node more than half a minute late is not shown either.

Rankings

Two tables below the views rank what takes part in the selection. They are sorted and paged like other tables, and each has a selector for what to rank.

Table Ranks
Services Protocols or destination ports, with their distinct client and server addresses.
Rare and New External Nodes Autonomous systems, countries or external addresses that the fewest internal addresses talk to, or that were first seen most recently.

Traffic and Sessions of a node include what it initiated and what it accepted. Peers is the number of distinct addresses it exchanged traffic with. First Seen is the start of the earliest session in the selected time range, not the first time ever.

The crosshair icon shows a node in the graph, the filter icon adds a filter for it, and the pivot icon opens the matching sessions.

In the Services table, every part of a service has a filter icon of its own: each tag of a protocol filters by Tags, and a port filters by Type and Destination Port.

On the TCP/UDP Sessions Page

The TCP/UDP sessions page has a Topology card that draws the topology of the sessions that match the filters, tap selection and time range of that page. Nothing is built until you select Build Topology, because it reads every matching session on top of the queries the page already runs. Once built, it follows the filters and the time range of the page until you select Hide. Whether it is built is part of the URL, so a bookmarked or shared link opens the page the same way.

The card has the four views of the topology page with the same grouping of nodes, the same Display options and the same exports. The graph and the matrix show the 25 connections with the most traffic by default and up to 10,000, like the topology page. A double-click on a node of the graph adds a filter for it to the page.

The card has no selection details, no time window, no live mode and no rankings. The navigate icon in its title opens the topology page with the same filters, time range, view and options, where they are available.

Sessions to multicast, broadcast and loopback addresses are listed on the sessions page but are not part of the topology, as described in What the Topology Is Built From.

Working With the Topology

A few ways to put the page to use:

  • Get to know a network. Group internal nodes by network and external nodes by country, and look at the flow diagram. It reads as a sentence: these networks use these services to reach these countries.
  • Review what leaves. Filter for outbound traffic, as described in Selecting What to Look At, and sort the Rare and New External Nodes table by fewest peers. An autonomous system that a single internal address talks to, with real traffic, is worth knowing about. Filter for it to see who talks to it, over what, and when.
  • Review what comes in. Select the Only Connections from External quick filter. Anything here was initiated from the outside.
  • Find lateral movement. Filter for internal traffic and look at the matrix. Workstations usually talk to servers, not to each other. A workstation row that is filled across other workstations stands out.
  • Investigate a point in time. Select the time range around an alert and play the time window. Connections that light up together are related more often than not.
  • Follow up. Every node, connection and service links to the TCP/UDP sessions page with the matching filters and time range, where the individual sessions are.