Skip to content

Segmentation Overview

The Overview tab of the Segmentation page shows which parts of your network exchanged traffic in the selected time range, over which services and with what outcome. It also shows which of that traffic is covered by policies and where policies reported findings.

The tab has two views of the same data, a map and a matrix. Both need at least one segment or external network. Until one exists, the tab only links to the Segments tab.

What the Overview Is Built From

Once a minute, the node summarizes the TCP and UDP sessions that your taps recorded into flows. A flow is all sessions of one hour that one tap recorded between the same source and destination, on the same service, with the same outcome.

Part of a flow What it is
Source The address that initiated the sessions.
Destination The address that the sessions were sent to.
Service The transport protocol, the destination port and the protocol that Nzyme detected in the traffic, if any. It is written like 22/tcp (SSH).
Outcome What came back. See Outcomes.

The overview and the observed traffic of policies work on flows. Policies are evaluated at the moment sessions are read to build flows. Sessions are only read a second time to judge them against a policy that was created, resumed or changed to forbid more.

Internal addresses are stored one by one. External addresses are not, because there is no limit to how many of them a network talks to. The external side of a flow is a network: the external network of the address if it is in one, and its autonomous system and country.

Some traffic never becomes a flow:

  • Sessions between two external addresses. They are not traffic of your network.
  • What an external address sent to a broadcast or multicast address.
  • Sessions from or to loopback addresses, sessions whose source is a multicast address, and sessions from an address to itself.
  • Rejected and unanswered connection attempts from a segment to one of its excluded destinations.

A session is counted in the hour it started in. A session that stays open is counted again for every later full hour in which it had traffic and at whose end it was still open. The overview calls these sessions long-lived. This is why a connection that has been open for days still appears when you look at the last 24 hours.

Flows are stored per hour, so a time range always includes the whole hour it starts in. They are kept for the flow retention time, see Settings.

Groups

The overview does not show single addresses. It puts every address into one of five kinds of groups:

Group Holds
A segment The addresses of a segment that you defined.
Unassigned Internal addresses that are in no segment.
An external network The addresses of an external network that you defined.
Internet External addresses that are in no external network.
Broadcast Broadcast and multicast addresses.

An address is internal if it is in a segment, or if it is a private address that is in no external network. Every other address is external.

Private addresses are here what is internal for all Ethernet pages: the IPv4 ranges 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16, IPv6 unique local addresses (fc00::/7), link-local addresses and the configured and learned networks of your site. The carrier-grade NAT range 100.64.0.0/10 only counts if it is configured as internal. A change of what is internal is applied to stored flows like a change of a segment.

Broadcast stands for multicast addresses, the limited broadcast address 255.255.255.255 and the broadcast addresses of subnets, like 10.1.0.255. Nzyme recognizes the broadcast address of a subnet by the frame it was sent in, which is addressed to the broadcast MAC address FF:FF:FF:FF:FF:FF. These addresses are in no segment and are neither internal nor external. They do not stand for a host but for everyone who listens, so the group only ever appears as a destination.

Segments and external networks without traffic in the time range are part of the overview as well. If no traffic between or inside of groups was recorded in the time range at all, the overview says so instead of drawing the views.

Crossings

A crossing is the traffic from one group to another in the selected time range. It has a direction: the first group holds the sources, the second the destinations. Guest to Servers and Servers to Guest are two crossings. Traffic between two addresses of the same group is shown too, as traffic inside the group.

For every crossing, the overview knows:

Value Meaning
Sessions All sessions of the crossing, and how many of them were long-lived.
Outcomes The sessions split by outcome.
Services The services in use, each with its sessions per outcome. The eight services with the most answered or sent sessions are listed, followed by how many more there are.
Seen The first and the last time the crossing was recorded in the time range.
Recorded by Taps The taps that recorded the crossing. See Taps.
Coverage How much of the crossing policies have in scope. See Coverage and Findings.
Policies in Scope The policies that have the crossing, or part of it, in scope.
Findings How many Crossed and Attempted findings have a connection in the crossing.

Outcomes

The outcome of a session is what a tap saw come back.

Outcome Meaning
Connected The destination answered. For TCP, that is a SYN-ACK, or data that came back if the tap missed the SYN-ACK. For UDP, it is any datagram that came back.
Rejected A TCP reset or an ICMP destination unreachable error came back.
No reply Nothing came back.
Sent The session was sent to a broadcast or multicast address. Nothing comes back from such an address, and nothing has to: whoever listens has received it. Only crossings to Broadcast have this outcome.

The outcomes describe what was observed, not why. A tap cannot tell a reject by a firewall from a reset by the destination itself, or a dropped packet from an address that no host uses.

Direction of UDP conversations

UDP has no handshake that says who started a conversation. A tap can record a reply without its request, for example the answer to a multicast query, or a reply that arrived after the conversation of its request had ended. Nzyme takes a UDP conversation for a reply and turns it around in three cases: it goes from a port below 1024 to a port from 1024 upwards, it goes from a DHCP server to a client (port 67 to port 68), or it is one-way from a port below 32768 to a port from 32768 upwards. Such a conversation counts as Connected for the service that was asked. What was sent to a broadcast or multicast address is never turned around.

Coverage and Findings

Every crossing has one of five statuses. They are checked from top to bottom, and the first that applies is shown:

Status Applies when
Crossed At least one Crossed finding has a connection in the crossing: a connection that a policy does not allow was answered, or was sent to a broadcast or multicast address.
Attempted At least one Attempted finding has a connection in the crossing: a connection that a policy does not allow was rejected or got no reply.
No policy No policy has the crossing in scope. Nobody has said whether this traffic is intended.
Covered At least one policy has everything between the two groups in scope, and there are no findings.
Partly covered Policies only have part of the crossing in scope: some hosts of the two groups, or some services.

A policy covers a crossing with its scope. A policy Guest to Servers on any service fully covers the crossing from Guest to Servers. A policy Guest to Servers on 22/tcp, or one from a single address in Guest, covers it partly. Paused policies cover nothing.

Crossed and Attempted are the finding marks. A crossing gets one if a finding has its source in the first group and a target, last seen in the time range, in the second. Findings of policies in Audit count as well, and so do the findings that a paused policy still has. The overview takes the 5,000 most recently seen findings of the time range into account and shows a notice when that limit was reached.

The Map

The map draws every group as a box and every crossing as a link between two boxes.

What you see What it means
A link with an arrowhead A crossing. The arrowhead points at the group that holds the destinations.
The color and the dashes of a link The status of the crossing.
The width of a link The number of sessions, on a logarithmic scale.
A mark inside of a box Traffic inside of the group.
A flag in the corner of a box At least one crossing of the group has a finding. The flag has the color of the strongest one: Crossed before Attempted.
A tap mark on a box A tap that recorded traffic of the group.

Boxes are arranged by where their traffic was recorded:

Area Holds
External External networks and the Internet.
The name of a location Segments whose traffic was recorded by taps of that location.
Multiple locations Segments whose traffic was recorded by taps of more than one location.
No location Segments whose traffic was recorded by taps that are assigned to no location.
Broadcast and multicast The Broadcast group.
No traffic recorded Segments without recorded traffic in the time range.

The Unassigned group is placed like a segment.

Rest the pointer on a link or a box to see a summary. Click it to select it, and click the empty background to clear the selection. The map is zoomed with the mouse wheel while you hold the Ctrl key (Cmd on a Mac), and moved by dragging. Reset view brings back the view the map opened with. The legend below the map explains all marks.

The Matrix

The matrix has one row for every group as a source and one column for every group as a destination. Traffic goes from rows to columns. Segments come first on both axes, followed by Unassigned, the external networks, Internet and Broadcast.

What you see What it means
A filled cell A crossing from the group of the row to the group of the column.
The fill of a cell The status of the crossing. The fill is stronger the more sessions the crossing has, on a logarithmic scale.
The number in a cell The sessions of the crossing. It is left out when the cells are too small for it.
The bar at the bottom of a cell The sessions split by outcome.
A cell on the diagonal Traffic inside of a group.

The matrix stays readable when the map has too many links. A row that is filled from left to right is a group that talks to everything. A filled column is a group that everything talks to. Click a cell to select the crossing, or a label to select the group.

Selecting What Is Shown

Control Effect
Time range The time range of the flows. It starts with the last 24 hours.
View Switches between Map and Matrix.
Show All crossings shows everything. Unjudged and findings hides the crossings that are Covered. Findings only leaves the crossings that are Crossed or Attempted.
External networks and Internet Turned off, external networks and the Internet are hidden, with all crossings from and to them.
Broadcast and multicast Turned off, the Broadcast group is hidden, with all crossings to it.

The line below the view says how many of the crossings are shown. With Unjudged and findings or Findings only, the matrix leaves out the groups that have no crossing left. The map keeps all boxes and only removes links.

Fullscreen shows the map or the matrix on the whole screen, if your browser supports it.

Exporting

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

Export What you get
Image (PNG) The map or the matrix as it is on screen, with its legend, in the colors of the light or dark mode you are using.
Image (SVG) The same drawing as a vector image that can be scaled and edited.
Crossings (CSV) One row per crossing that is shown, busiest first: source and destination with their types, sessions in total and per outcome, long-lived sessions, number of services, policy coverage, number of policies in scope, Crossed and Attempted findings, the taps that recorded it, and when it was first and last seen.

Images carry a caption with the view, the Show selection, the groups that are hidden, the time range, the time of the export and how many of the crossings are shown, so they still explain themselves in a report or a ticket. The files are created in your browser.

Details of a Selection

The panel next to the view shows what is selected.

For a crossing, it shows the values listed under Crossings. Show findings opens the Findings tab, filtered to the first of the policies in scope. The Pivot menu links to the TCP/UDP sessions of the crossing and to its findings, and each service has a link to its sessions. Users who can manage policies also have Create policy for this crossing, which opens the policy form with the two groups filled in as the scope.

For a group, it shows the type, the description and the networks of the group, the taps that recorded its traffic, the traffic inside of it and the lists Crossings Out and Crossings In, busiest first. The Pivot menu links to the segment and to the sessions from and to the group.

Links to sessions are only offered where the filters of the sessions page can describe the group. There are none for Unassigned and Internet, which are everything that is in no segment, and none for an external network that is defined by both address ranges and autonomous system numbers.

Flows of a Crossing

Selecting a crossing opens the Flows card below the view. It lists the flows of the crossing, added up over the time range: one row per source, destination, service and outcome.

Column Content
Source and Destination An internal side is one IP address, with the tags of its asset. An external side is a network: the name of its external network, its autonomous system or its country.
Source MAC and Destination MAC The MAC address and the name of the asset that claimed the IP address and used it in the time range. n/a if no asset or more than one asset did. Only shown for a segment and for Unassigned.
Service Transport protocol, port and detected protocol.
Outcome The outcome of the sessions.
Sessions The sessions of the flow, and how many of them were long-lived.
First Seen, Last Seen When the flow was first and last recorded in the time range.

The table can be filtered by address, autonomous system, country, type, port, protocol, outcome and number of sessions, and sorted by source, destination, service, outcome, sessions and the two times. The link at the end of a row opens the matching TCP/UDP sessions, where the filters of the sessions page can describe the flow.

Users who can manage segments also find Exclude in the rows of rejected and unanswered flows from a segment to an internal address. It stops Nzyme from recording such attempts to that destination. See Excluded Destinations.

A scan produces a very large number of connections that are never answered. Nzyme folds them, so that a scan cannot fill the database:

Shown as Stands for
many ports, like many ports/tcp More than 32 ports that one source tried on one destination.
Many addresses in and a segment or Unassigned The internal destinations in that group that one source tried beyond its 256 busiest flows. Their ports are folded as well, so the service of such a row is many ports.
Many broadcast or multicast addresses The same for what one source sent to broadcast and multicast addresses.

Only sessions with the outcomes Rejected, No reply and Sent are folded. Connections that were answered are always stored one by one. External destinations are not folded either, because they are stored per network already. See Limits.

Addresses of a Group

Selecting a segment or Unassigned opens the Addresses card below the view. It lists the addresses of the group that taps recorded traffic of in the time range. The other groups have no such list.

Column Content
Address The IP address.
MAC The MAC address and the name of the asset that claimed the IP address and used it in the time range. n/a if no asset or more than one asset did.
Sessions From The sessions that the address opened.
Sessions To The sessions that were sent to the address.
Answered The sessions to the address that it answered.
Recorded By The taps that recorded traffic of the address.
First Seen, Last Seen When traffic of the address was first and last recorded in the time range.

The table can be filtered by address and by the numbers of sessions, and sorted by these and by the two times. The links next to the numbers open the matching TCP/UDP sessions.

Destinations that were folded into Many addresses are not listed. The card says how many unanswered sessions that concerns.

The MAC address links to the asset. An IP address that a DHCP server handed to several devices in the time range has no single asset. Select a shorter time range to see which device had it.

How Current the Data Is

The overview is not live. Sessions are evaluated a while after they were first recorded, 120 seconds by default. Only then is it known whether a connection attempt was answered. The overview, findings and alerts are behind by that much. The delay is the Evaluate sessions after setting.

The node evaluates once a minute. After the node was down, or when segmentation runs for the first time, it has more to read than fits into one run and catches up over several runs.

The strip above the overview shows the number of segments and policies, when the last evaluation ran and how current the data is:

Data shows Meaning
Up to date The evaluation is within its normal delay.
A duration behind The evaluation is further behind than five minutes and than three times the configured delay.
Not evaluated yet No session was evaluated so far.
Not evaluated Segmentation is disabled.

Below the strip, the overview shows a notice while something is in progress or was limited:

Notice Meaning
Applying segment changes to stored flows. See After a Segment Was Changed.
Judging stored sessions against new or changed policies. Findings are still being added. See Stored Sessions. The overview reloads when it is done.
Segmentation is disabled. New sessions are not evaluated. See Settings.
An evaluation ... was limited An evaluation reached a limit in the last day.

Super administrators also find the Segmentation Lag indicator on the health console under System -> Health. It turns orange when the evaluation of a tenant is more than 20 minutes behind and does not catch up, and red when the evaluation has not moved for more than 15 minutes.

After a Segment Was Changed

Flows carry the segment of their source and destination. When you create a segment, change its networks or taps, or delete it, the stored flows no longer match the definitions. Nzyme matches all stored flows against the segments again at the start of the next evaluation, usually within a minute. Until that is done:

  • The overview and the Segments tab show a notice.
  • Traffic can still appear under the previous segments, and numbers can be off.
  • The evaluation of new sessions waits. It continues where it stopped as soon as the flows are matched.

Internal addresses are stored one by one and are matched exactly. External addresses are stored per network, which has two consequences:

  • An external network that is defined by autonomous system number also takes over the stored traffic of that autonomous system.
  • Stored traffic of external addresses cannot be matched against address ranges afterwards. If you add public addresses to a segment or to an external network, this applies to traffic that is recorded from then on. Earlier traffic of these addresses stays where it was, usually under Internet.

After a segment or an external network was deleted, its addresses count like any other address that is in no segment: as Unassigned if they are private addresses, and as Internet if they are not.