You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

This page describes the key architectural components and the measurement workflow of the WiFiMon system.

WiFiMon Architectural Components

Mobile User

A mobile user is the user's device connected to the WiFi network. WiFiMon can be used in any WiFi network, but is optimized to be used in the Eduroam environment, as through the analysis of the Eduroam logs very detailed performance assessments can be obtained.  If the Eduroam is u2sed, the mobile user will be authenticated at the home organisation (IdP) and authorized at the end-user's location (SP) on an IEEE 802.1X based WiFi network.

WiFiMon Admin

WiFiMon admin is the network administrator managing the WiFiMon system. Connected at WiFiMon UI, he/she can perform queries to the Elastic ELK Cluster relatable to the wireless performance of the network.

Figure 1: WiFiMon Architectural Components


Data Source

  • Collected Raw Data
    Data generated by network performance tools (Boomerang, NetTest and HTML5 SpeedTest) with the use of JavaScript code embedded on chosen web pages. Tests are run by hardware probes and performance data are retrieved when the hardware probes visit the web sources with the embedded code.
  • Exported Raw Data
    Data generated from the interaction of mobile users with services like Eduroam and DHCP, whose logs are fetched from Filebeat agents and are then sent to Logstash pipelines for filtering and editing them according to the needs of WiFiMon, before storing them in the Elastic ELK Cluster.

Elastic ELK Cluster

WiFiMon makes use of Elasticsearch, a full-text, distributed NoSQL search engine. Elasticsearch uses documents rather than schema or tables (used in SQL databases), thus allowing leveraging and accessing data at very high speeds and making it appropriate for WiFiMon. Exported Raw Data and the results of correlating them with the Collected Raw Data processed at WiFiMon Agent, are stored in the cluster. Part of Elastic ELK is the Kibana platform (accessible from the browser) which provides cluster management and powers the WiFiMon UI. Another component of Elastic Stack is the Filebeat, which is stored in the severs holding the Exported Raw Data.

WiFiMon Agent / UI

  • WiFiMon Agent processes Collected Raw Data to objects relevant to performance measurements, which are correlated with Exported Raw Data collected from RADIUS and DHCP logs, to provide insight on the wireless network performance per client or AP. The results of correlations are stored in the ELK Cluster.
  • WiFiMon UI is powered by Kibana platform to perform queries, for example, to retrieve information about the measurements initiated to a specific AP and within a specific time period. Other queries could be made to retrieve information about specific IP ranges, test tools etc.

Data Security

WiFiMon respects the privacy of data. All the traffic in WiFiMon is encrypted with SSL/TLS certificates. Furthermore, sensitive data such as mobile users IP or MAC address is hash-ed before stored in the ELK Cluster. The correlation procedure mentioned at WiFiMon Agent above, is performed over the hash-ed data.

WiFiMon Measurement Workflow

WiFiMon Test Server (WTS)

The WiFiMon test server includes configured templates from NetTest, Boomerang and SpeedTests (HTML5), which provide information about RTTs and ping (ICMP) network relevant data like bandwidth and latency (represented in Figure 2B as lines marked as 2.1, 2.2, and 2.5). A standard image size is downloaded for NetTest, and for Boomerang it can be customisable to a maximum of 5 MByte size. The location of the WTS and its topological distance from the monitored WiFi network has a major impact on the crowdsourced measurement accuracy and reliability. You can read more about this here.

Figure 2: WiFiMon Measurement Workflow

WiFiMon Software Probe (WSP)

The WiFiMon Software Probe takes the form of JavaScript integrated in often visited web pages, Figure 3. It includes the domain of the WiFiMon agent (e.g., wifimon.switch.ch), the listening agent port (8443) and the image location/path (e.g. https://eipa19.eipa.ttu.ee/wifimon/images/) as well as the cookie expiration time. The default value of this cookie is 1.5 min (currently) if it is not explicitly set in the WiFiMon test server.

WiFiMon Hardware Probe (WHP)

The WiFiMon hardware probes are set up on small form factor devices - such as the Raspberry Pi. The HW probe may be viewed as an end user logged in to the eduroam wireless network, but monitoring continuously from a fixed point. It measures bandwidth, latency, the average values of bit rate, the signal level, the link quality and the transmission power. The WiFiMon team recommends to set up a WHP on Raspberry Pi’s v3 Model B+ or v4

WiFiMon Analysis Server (WAS)

The Analysis Server includes the WiFiMon agent, Elasticsearch, Logstash and the WiFiMon UI with Kibana for customising reports and their visualisation. The WiFiMon agent checks the subnet (2.3, 2.4) of a monitored device visiting the website that includes the JavaScript lines (see Fig. B) and downloads available images from the WiFiMon Test server (2.5). Network performance metrics are calculated and streamed from the end user to the WiFiMon Analysis Server (2.6). Furthermore, the WAS correlates performance data with client IPs and AP-IDs (2.7/2.8).


  • No labels