Internet Traffic Classification through Supervised Learning: Exploring Machine Learning Techniques

Authors

  • Poonam B. LOHIYA Department of Computer Science and Engineering, Prof. Ram Meghe Institute of Technology & Research (PRMIT&R), Badnera, Amravati, Maharashtra, India https://orcid.org/0000-0002-5729-2679
  • G. R. BAMNOTE Department of Computer Science and Engineering, Prof. Ram Meghe Institute of Technology & Research (PRMIT&R), Badnera, Amravati, Maharashtra, India https://orcid.org/0000-0002-3651-7293

DOI:

https://doi.org/10.58190/imiens.2025.119

Keywords:

Decision Tree, Internet Traffic Classification, Machine Learning, Random Forest

Abstract

The increasing complexity and volume of internet traffic have led researchers to explore machine learning as an effective approach for traffic classification. By integrating intelligence into network processes, machine learning enhances network management and optimization. This study investigates four supervised learning techniques—Support Vector Machine (SVM), Random Forest (RF), K-Nearest Neighbors (KNN), and Decision Tree (DT)—to forecast network traffic categorization. Through a comparative analysis, we evaluate the performance of these algorithms in terms of accuracy, precision, recall, and computational efficiency using a standardized dataset. The results demonstrate that while each algorithm has its strengths and weaknesses, our findings indicate that Random Forest outperforms the other algorithms in most metrics, providing valuable insights for future applications in network management. This study provides valuable insights into the applicability of these algorithms for real-time internet traffic management.

Downloads

Download data is not yet available.

References

[1] Isha, Prof. Jasbir Singh Saini, Prof. Kamaldeep Kaur “A Machine Learning Approach for Network Traffic Classification” (IJERCSE) Vol 8, Issue 7, July 2021

[2] Tahaei, Hamid, et al. "The rise of traffic classification in IoT networks: A survey." Journal of Network and Computer Applications 154 (2020):

[3] Özgür TONKAL1,* , Hüseyin POLAT “Traffic Classification and Comparative Analysis with Machine Learning Algorithms in Software Defined Networks “ GU J Sci, Part C,9(1): 071-083 (2021)

[4] Jarrod Bakker, Bryan Ng, Winston K.G. Seah, and Adrian Pekar “Traffic Classification with Machine Learning in a Live Network” 2019 IFIP/IEEE International Symposium on Integrated Network Management (2019)

[5] A. Mestres et al., “Public Review for Knowledge-Defined Networking,” ACM SIGCOMM Comput. Commun. Rev., vol. 47, no. 3, pp. 2–10, 2017.

[6] Sikha Bagui, Xingang Fang, Ezhil Kalaimannan, Subhash C. Bagui & Joseph Sheehan “Comparison of machine-learning algorithms for classification of VPN network traffic flow using time-related features” (2017) Journal of Cyber Security Technology, 1:2, 108-126, DOI: 10.1080/23742917.2017.1321891

[7] Razan M. AlZoman 1,2 and Mohammed J. F. Alenazi “A Comparative Study of Traffic Classification Techniques for Smart City Networks” 2020, 21, 4677. https://doi.org/10.3390/s21144

[8] Binsahaq, A.; Sheltami, T.R.; Salah, K. A Survey on Autonomic Provisioning and Management of QoS in SDN Networks. IEEE Access 2019, 7, 73384–73435.

[9] AlZoman, R.; Alenazi, M.J.F. Exploiting SDN to Improve QoS of Smart City Networks Against Link Failures. In Proceedings of the 2020 Seventh International Conference on Software Defined Systems (SDS), Paris, France, 20–23 April 2020; pp. 100–106.

[10] Tahaei, H.; Afifi, F.; Asemi, A.; Zaki, F.; Anuar, N.B. The rise of traffic classification in IoT networks: A survey. J. Netw. Comput. Appl. 2020, 154, 102538.

[11] Scikit-learn Tutorials https://scikit-learn.org/stable/user_guide.html Erişim Tarihi Ağustos, 20, 2019.

[12] S. Shekhar and H. Xiong, “Nearest Neighbor,” Encycl. GIS, vol. I, pp. 771–771, 2008, doi: 10.1007/978-0-387-35973-1_862.

[13] Nello Cristianini and John Shawe-Taylor. An introduction to Support Vector Machines and Other Kernel-based Learning Methods. Cambridge University Press, New York, NY, 199

[14] M. Roughan, S. Sen, O. Spatscheck, and N. Duffield, “Class-of-service Mapping for QoS: A Statistical Signature-based Approach to IP Traffic Classification,” in Proceedings of the 4th ACM SIGCOMM Conference on Internet Measurement (IMC), Taormina, Sicily, Italy, 25-27 October 2004, pp. 135–148.

[15] Q. Wang, A. Yahyavi, B. Kemme, and W. He, “I know what you did on your smartphone: inferring app usage over encrypted data traffic,” in Proceedings of the 2015 IEEE Conference on Communications and Network Security (CNS), pp. 433–441, IEEE, Florence, Italy, September 2015.

[16] V. F. Taylor, R. Spolaor, M. Conti, and I. Martinovic, “Appscanner: Automatic fingerprinting of smartphone apps from encrypted network traffic,” in Proceedings of the 2016 IEEE European Symposium on Security and Privacy (EuroS&P), pp. 439–454, IEEE, Saarbrucken, Germany, March 2016

[17] Madhusoodhana Chari S., Srinidhi H., Tamil Esai Somu, “Network Traffic Classification by Packet Length Signature Extraction”, 2019, IEEE International WIE Conference on Electrical and Computer Engineering (WIECON-ECE)

[18] M. Soleimani, M. Mansoorizadeh, and M. Nassiri. Real-time identification of three tor pluggable transports using machine learning techniques. The Journal of Supercomputing, 74:4910–4927, February 2018.

[19] Labayen, V.; Magana, E.; Morato, D.; Izal, M. Online classification of user activities using machine learning on network traffic. Comput. Netw. 2020, 181, 557–569.

[20] Chang, L.-H.; Lee, T.-H.; Chu, H.-C.; Su, C.-W. Application-based online traffic classification with deep learning models on sdn networks. Adv. Technol. Innov. 2020, 5, 216–229.

[21] J. Koshal, M. Bag, Cascading of C4.5 Decision Tree and Support Vector Machine for Rule Based Intrusion Detection System (Computer Network and Information Security, 2012) , 8, 8-20

[22] Bo Liu, Jinfu Chen, Songling Qin, Zufa Zhang, Yisong Liu, Lingling Zhao, Jingyi Chen, "An Approach Based on the Improved SVM Algorithm for Identifying Malware in Network Traffic", SecurityandCommunicationNetworks, vol. 2021, ArticleID 5518909, 14 pages, 2021. https://doi.org/10.1155/2021/5518909

[23] Perera Menuka, Kandaraj Piamrat, Salima Hamma. Network Traffic Classification using Machine Learning for Software Defined Networks. IFIP International Conference on Machine Learning for Networking (MLN’2019), Dec 2019, Paris, France. ffhal-02379020f.

[24] I. P. Possebon, A. S. Silva, L. Z. Granville, A. Schaeffer-Filho and A. Marnerides, "Improved Network Traffic Classification Using Ensemble Learning," 2019 IEEE Symposium on Computers and Communications (ISCC), 2019, pp. 1-6, doi: 10.1109/ISCC47284.2019.8969637.

[25] Sarker, I.H. Machine Learning: Algorithms, Real-World Applications and Research Directions. SN COMPUT. SCI. 2, 160 (2021). https://doi.org/10.1007/s42979-021-00592-x

[26] X. Tiani, Q. Sun, X. Hunga, Yan M.A, Dynamic Online Traffic Classification using Data Stream Mining ( IEEE,2008)

[27] Atzori, L.; Iera, A.; Morabito, G. The Internet of Things: A survey. Comput. Netw. 2010, 54, 2787–2805.

[28] Imran; Ghaffar, Z.; Alshahrani, A.; Fayaz, M.; Alghamdi, A.M.; Gwak, J. A Topical Review on Machine Learning, Software Defined Networking, Internet of Things Applications: Research Limitations and Challenges. Electronics 2021, 10, 880.

[29] Gyrard, A.; Zimmermann, A.; Sheth, A. Building IoT-Based Applications for Smart Cities: How Can Ontology Catalogs Help? IEEE Internet Things J. 2018, 5, 3978–3990

[30] Kirimtat, A.; Krejcar, O.; Kertesz, A.; Tasgetiren, M.F. Future Trends and Current State of Smart City Concepts: A Survey. IEEE Access 2020, 8, 86448–86467.

[31] Roblek, V.; Meško, M. Smart City Knowledge Management: Holistic Review and the Analysis of the Urban Knowledge Management. In Proceedings of the 21st Annual International Conference on Digital Government Research, Seoul, Korea, 15–19 June 2020; pp. 52–60.

[32] Tcholtchev, N.; Schieferdecker, I. Sustainable and Reliable Information and Communication Technology for Resilient Smart Cities. Smart Cities 2021, 4, 156–176.

[33] Mohanty, S.P.; Choppali, U.; Kougianos, E. Everything you wanted to know about smart cities: The Internet of things is the backbone. IEEE Consum. Electron. Mag. 2016, 5, 60–70

[34] Alharbi, F.; Fei, Z. Improving the quality of service for critical flows in Smart Grid using software-defined networking.

In Proceedings of the 2016 IEEE International Conference on Smart Grid Communications (SmartGridComm), Sydney, Australia, 6–9 November 2016; pp. 237–242.

[35] Naphade, M.; Banavar, G.; Harrison, C.; Paraszczak, J.; Morris, R. Smarter Cities and Their Innovation Challenges. Computer 2011, 44, 32–39

[36] Huang, N.; Liao, I.; Liu, H.; Wu, S.; Chou, C. A dynamic QoS management system with flow classification platform for softwaredefined networks. In Proceedings of the 2015 8th International Conference on Ubi-Media Computing (UMEDIA), Colombo, Sri Lanka, 24–26 August 2015; pp. 72–77.

Downloads

Published

2025-04-30

Issue

Section

Research Articles

How to Cite

[1]
P. B. LOHIYA and G. R. . BAMNOTE, “Internet Traffic Classification through Supervised Learning: Exploring Machine Learning Techniques”, Intell Methods Eng Sci, vol. 4, no. 1, pp. 8–14, Apr. 2025, doi: 10.58190/imiens.2025.119.

Similar Articles

21-30 of 31

You may also start an advanced similarity search for this article.