Skip to content
Review Open access

Flow-Based Encrypted Network Traffic Classification Using Random Forest for Network Access Control

Jul 2026 · Intechno Journal (Information Technology Journal) · Vol 8, pp. 82-91 · 0 citations · 15 references

TL;DR

The findings show that Random Forest can provide competitive flow based classification while supporting an auditable, human controlled access control workflow; however, device level reliability and cross dataset generalizability require further validation.

Abstract

Encrypted network communications reduce the effectiveness of payload based traffic identification and complicate the translation of traffic analysis into network access control decisions. This study evaluates a payload independent workflow that connects flow based multiclass classification with administrator triggered, time limited firewall enforcement. The experiment used the public ISCXVPN2016 benchmark. After removing 18,719 duplicate records, 40,987 unique flows remained; all 23 available numerical flow features were retained without feature selection or normalization. A Random Forest classifier with 300 trees was selected using five-fold cross-validated grid search on a stratified 80% training partition and evaluated on an independent 8,198 sample test set covering 14 VPN and non-VPN traffic classes. The model achieved 88.01% accuracy, 88.00% weighted precision, 88.01% weighted recall, and 87.97% weighted F1-score. It exceeded the strongest reproduced baseline, K-Nearest Neighbors, by 16.09 percentage points in accuracy and 16.29 percentage points in weighted F1-score. Supplemental five-fold evaluation produced a mean accuracy of 88.05% with a 0.36 percentage point standard deviation. The trained classifier was integrated with a web application in which administrators review predicted flows and initiate temporary MikroTik RouterOS rules. All 30 temporary blocking entries observed in the evaluation database reached the Unblocked state with recorded timestamps, demonstrating rule lifecycle traceability at the database level. The findings show that Random Forest can provide competitive flow based classification while supporting an auditable, human controlled access control workflow; however, device level reliability and cross dataset generalizability require further validation.

Read PDF

Similar papers

Conference Aug 2026

Feature Analysis and Service Classification for Encrypted Sparklink Basic Traffic in Emergency Communications

Next-generation emergency short-range wireless communication systems are expected to provide adaptive and service-aware connectivity under severely constrained radio and computing resources. Encrypted service traffic classification addresses this challenge by identifying heterogeneous service demands without accessing...

Shi-Long Huang, Xue-Qiang Zheng, Fan-Di Lin et al. · 0 citations
Open access Aug 2026

Network Traffic Classification Using Machine Learning Techniques: An Applied Flow-Based Study

General Background Network data traffic rating represents a core task in modern network engineering for service quality control and bandwidth management. Specific Background Traditional approaches relying on deep packet inspection and port-based categorization face severe limitations due to the proliferation of dynamic...

N. Hasani · 0 citations
Open access Sep 2026

An Enhanced Network Traffic Classification in Software-Defined Networking Using Softmax Regression

Network traffic classification in Software-Defined Networking is an essential aspect of SDN and plays an important role in the efficient management and security of modern networks. The classical algorithm for traffic classification based on port numbers cannot handle the increasing encrypted traffic and dynamic port al...

Prabu U, G. U. Uday Kumar, Yadlapalli Leelakrishna et al. · 0 citations
Open access Sep 2026

Real-Traffic Enrichment for Improved Minority Web Attack Detection in Network Intrusion Detection

This study enriches CICIDS2017 with authentic SQL Injection, Cross-Site Scripting (XSS), and Web Brute Force (WBF) traffic captured from a controlled DVWA/XAMPP environment, processed with CICFlowMeter to match the original feature space.

Zeyneb Berkat, Amina Fatima Zahra Yahiaoui, Mahfoud Aliouat et al. · 0 citations
Open access 2026

Mean FlowSpectrum: Enhancing Encrypted Traffic Classification via Mean-Based Similarity Correction

As the majority of Internet traffic is now transmitted via encrypted protocols such as HTTPS, TLS 1.3, and VPNs, existing Deep Packet Inspection (DPI)-based security techniques are no longer able to operate effectively. Consequently, developing technologies capable of accurately classifying encrypted traffic without de...

Chanhyung Kim, Taeyun Kim, Jonghee M. Youn · 0 citations
Oct 2026

Enhancing Encrypted Traffic Detection for Social Networks With Inter-Packet Contextual Association

In social networks, encrypted communication has become increasingly prevalent to protect user privacy. However, this also provides attackers with opportunities to launch covert attacks via encrypted traffic. Traditional traffic detection methods relying on rules and payload analysis fail due to content encryption. As a...

Xiao-Wei Zhao, Ming-Shu He, Xiao-Juan Wang et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.