Interface

The Interfaces dropdown menu entry in the top toolbar contains lists all the interfaces that are currently monitored by ntopng. Among all interfaces listed, one has a check mark that indicates the interface is currently selected. A special interface is always present in ntopng, the System Interface. Most of the data and information shown in ntopng web GUI is related to the currently selected interface. Any interface listed can be selected simply by clicking on its name.

Interface Dropdown

The Interfaces Dropdown Menu

The dropdown menu is only used to switch between selected interfaces, it is also used to actually see interface traffic statistics. Interface traffic statistics can be accessed by clicking on the currently selected interface.

Interface is a dropdown menu always reachable from the top toolbar that contains a bunch of links to host- related information pages. The dropdown is as follows:

Interface Dropdown

The Interface Dropdown Menu

Interface-related information pages available have the following content:

  • Details: shows details of the Interface;
  • Networks: lists all networks — both local and remote — any seen host belongs to;
  • Host Pools: has the list of the defined Host Pools;
  • Autonomous Systems: presents all Autonomous Systems (AS) any seen host belongs to;
  • Countries: shows hosts countries based on the information provided by MaxMind databases;
  • Operating Systems: lists all host operating systems that have been detected. Detection is done using passive fingerprinting techniques;
  • HTTP Servers (Local): shows monitored HTTP servers, limited to local hosts only;

Details

Note

See the available Network Interfaces types here

Interface Home

The Home View of the Interface Details Page

A contextual menu with multiple options and badges appear right below the top toolbar. Menu entries are discussed below.

In the Home page it is possible to view general interface information, such as Id (a unique integer identifier ntopng assigns to each monitored interface), family (e.g., pcap), and the overall traffic counters in bytes. It is possible to customize the interface name just by writing a custom name into the Name textbook and clicking on “Save Name”. Interface monitoring can be temporarily paused from the ‘State’ toggle buttons.

Packets

Packets page shows a pie chart of packets size distribution.

Interface Packets View

The Packets View of the Interface Details Page

Applications

Applications page provides three pie charts and a specific table with nDPI-detected protocols for the selected interface.

In the two top pie charts ntopng shows the application distribution and its categorization. The bottom pie chart shows nDPI-detected applications for currently active flows. All labels are clickable and point to detailed statistics pages. Belo pie charts there is a list of protocols detected with the corresponding total traffic, both in absolute terms and as a percentage of the total traffic. By selecting any Application Protocol, it is possible to display a statistics page with temporal charts for that protocol. Similarly, by clicking on the magnifying lens icon, it is possible to display all active flows for that protocol.

Interface Protocols View

The Protocols View of the Interface Details Page

ICMP

ICMP page shows overall interface ICMP statistics.

Interface ICMP View

The ICMP View of the Interface Details Page

ARP

The Address Resolution Protocol (ARP) page highlights the number of ARP requests and replies seen.

Interface ARP View

The ARP View of the Interface Details Page

Statistics

Statistics page provides historical traffic statistics for the selected interface. The user can choose to filter statistics on a protocol basis and display data in several formats (e.g., bytes, packets, flows, and so on). In the Professional Version of ntopng, traffic for interface views in shown as stacked per physical interface. Physical interface visualization can be toggled by clicking on the coloured dot just left of interface name.

The time series span can be adjusted by selecting values from 5 minutes up to 1 year. Moreover, drill- down is possible by clicking on the time series itself. Every click zooms the chart in, centering the time series around the clicked point.

In addition, time series shown can be chosen via the dropdown menu labelled ‘Time series’. For example, it is possible to visualize all or just one protocol, traffic, packets, active hosts and flows, and so on. Ntopng is VLAN aware, hence if several VLANs are detected, traffic is accounted also on a VLAN basis.

Interface Timeseries Dropdown

The Dropdown Time Series Menu in the Statistics View of the Interface Details Page

Interface Statistics View

The Statistics View of the Interface Details Page (Professional Version)

Historical interface minute top talkers are shown on the right of the page, and get refreshed automatically when the mouse moves over the chart.

An historical “Flows” tab is present next to the “Chart” when ntopng is started with the -F switch to export flows to MySQL. This historical table shows flows data that have been recorded and dumped during the selected observation period. The Professional/Enterprise version of ntopng also feature two extra tabs, namely, “Talkers” and “Protocols” to drill down historical data by talkers and application protocols.

Interface Historical Flows

The Historical Flows Table of the Interface Details Page Statistics View

Traffic Profiles (Professional Version)

See later in this manual for more information.

Settings

The settings page allow the configuration of several interface properties.

Interface Settings

The Settings View of the Interface Details Page

Custom Name: Is a label used to identify the interface.

Interface Speed: The speed of the interface expressed in Mbps. Typically, ntopng is able to properly determine this speed automatically.

Realtime Stats Refresh Rate: Amount of time between two consecutive refreshes of dashboard and footer charts. Useful for example when using ntopng in combination with nProbe to collect remote NetFlow of sFlow.

Ingress Packets Sampling Rate: Packets arriving on the interface could have been sampled upstream, for example by a packet broker or another device. This setting allows to specify the sampling rate to enable ntopng to perform proper upscaling.

Local Broadcast Domain Hosts Identifier: Determines if Local Broadcast Domain hosts whose IP address is inside a configured DHCP range are serialized by their MAC address or IP address. This setting also applies to the timeseries of the host. In a DHCP network, the IP address of a host usually changes so the host it’s better identified by its MAC address in this case.

Create Interface Timeseries: This setting toggles the generation of timeseries for the selected interface. No timeseries will be generated when this setting is unchecked, including timeseries associated with local hosts and networks.

Create One-Way Traffic Timeseries: This setting toggles the generation of timeseries for one way traffic, which are otherwise ignored. Can be disabled to save disk space.

Create Interface Top Talkers: This setting toggles the creation of top talkers hosts, which are then shown into the ntopng report.

Dump Flows to Database: This setting specifies on which interfaces the flows dump (-F startup option) is enabled. Disabling the flow dump on some interfaces can reduce the disk load.

Mirrored Traffic: Tick this setting when the interface is receiving traffic from a mirror/SPAN port. Typically, such interfaces does not have any IP address associated. ntopng uses this information to skip certain kind of activities that cannot be performed on mirrored interfaces, including network device discovery and eBPF events processing.

Flows-only Interface: This setting provides a performance boost by disabling the hosts allocation on the interface. However this means that the per-host traffic will not be accounted.

Periodic Interface Network Discovery: This setting toggles ntopng periodic network discovery. Network discovery frequency can be controlled from the preferences and it defaults to 15 minutes.

Dynamic Traffic Disaggregation: Controls the interface disaggregation as explained in the Interfaces Disaggregation section.

Duplicate Disaggregated Traffic: When the Dynamic Traffic Disaggregation option is set, normally ntopng will only report the traffic on the disaggregated interfaces, hence the main interface will have no traffic. By enabling this option it’s possible to also report the traffic on the main interface.

DHCP Range

When a DHCP server is active in the network monitored by a network interface, it’s advisable to configure in ntopng the ranges of IP addresses which such server can assign.

Interface DHCP Range Configuration

When a DHCP range is configured, ntopng will monitor the DHCP traffic on the interface and report anomalous behavior. For example, it detects if IP addresses are assigned outside the configured range and generate an alert. This can happen, for example, if a new misconfigured network device is attached to the network.

Interface DHCP Range Configuration

Since DHCP responses are usually directed to a specific host, this setting is most effective when the interface monitors mirrored traffic.

Mirrored Traffic

The Alert notifies the user to enable mirroring when the system detects RX only. The toast is going to show only if the user has RX-only traffic (TX traffic is 0 and RX is greater then 0). It’s still a dismissable toast (if you click dismiss, it’s not going to pop-up again) and you can jump to the interface configuration by clicking the link in the toast.

Mirrore Traffic Alert

Networks

Networks shows all networks discovered by ntopng.

Networks List

The Networks Summary Page

For each network discovered ntopng provides the number of hosts, alerts triggered, date of discovery, breakdown, throughput and traffic. Network names can be clicked to display the hosts lists inside the network selected.

Host Pools

Host Pools are logical groups of hosts that are described in detail in the “Network Interfaces” section of this document. This page show the list of defined and currently active Host Pools.

Host Pools List

The Host Pools List Hosts Page

Each row of the table shows, for each pool, the following information:

  • The Pool Name as defined by the user during Host Pool creation
  • A Chart icon to access historical pool traffic timeseries. Historical pool traffic charts must be enabled from the preferences page and are a feature that is only supported in the Professional version.
  • The number of active hosts in the pool
  • The number of alerts detected as the sum of host alerts for each host in the pool
  • Seen Since, with the amount of time it has lapsed since the first packet sent/received by any of the hosts in the pool has been observed
  • Breakdown, showing a bar that gives visual insights in the use of both pool traffic directions
  • Throughput, with the overall actual throughput of the pool
  • Traffic, with the total traffic exchanged by the pool

Host pools can be configured from the network interface page.

Pools can be created or managed from the System interface, Pools menu. It is possible to add new pools using the “plus” button in the same page.

Edit Pools

The Pools Page

Once an Host Pool is created, it is possible to add members to it. Host Pool members can be added from the Pools > Host Pool Members page, using the “plus” button.

Edit Host Pool

The Host Pool Page

The Host Pools configuration, which includes the definition of host pools along with the pools members, can be easily exported to JSON and imported into another ntopng instance from the Settings > Manage Configuration page. Imported host pools will replace the existing ones.

An “Alias” can be associated to each pool member to ease the its identification. Typically, one would assign a mnemonic label as member alias (e.g., “John’s iPhone” or “Smart TV”).

A view of host pool statistics is accessible from the actual interface, Hosts > Host Pools menu, as discussed in the relevant section. The view shows live pool information (e.g., overall pool throughput) and provides access to the historical pool traffic timeseries (Professional version) as well as to the currently active pool members.

Traffic Policies

Host pools can also be used to enforce traffic policies (e.g, block YouTube traffic for the “John” pool and limit Facebook traffic at 1 Mbps for the “Guests” pool). This feature is available in nEdge (when ntopng is used inline as described in the “Advanced Features” section of this document), or when ntopng is used in combination with nProbe in IPS mode (see Using ntopng with nProbe IPS).

Autonomous Systems

Autonomous Systems shows all autonomous systems discovered by ntopng. Autonomous Systems require Geolocation enabled.

AS List

The Hosts Autonomous Systems Summary Page

Ntopng uses a Maxmind database to gather information about Autonomous Systems (AS) and based on this it groups hosts belonging to the same AS. AS number 0 contains all hosts having private IP addresses.

Countries

Countries page provides all countries discovered by ntopng. Any country can be clicked to be redirected to a page containing the full list of hosts localised in that country. Countries require Geolocation enabled.

Hosts Countries List

The Hosts Countries Summary Page

Operating Systems

Operating Systems page shows a list of all OS detected by ntopng. OSes can be clicked to see the detailed list of hosts.

Hosts Operating Systems List

The Hosts Operating Systems Summary Page

HTTP Servers (Local)

HTTP Servers page lists all local HTTP Servers. Multiple distinct virtual hosts may refer to the same HTTP server IP, which is specified in the second column. Additional information such as bytes sent and received are available for each HTTP virtual host. By clicking on the magnifying lens icon near to the HTTP virtual host, it is possible to display all active flows involving it.

Local HTTP Servers List

The Local HTTP Servers Summary Page