Abstract
Nowadays, Network Traffic Classification has got pivotal significance owing to high growth in the number of internet users. People use a variety of applications while browsing the pages of internet. It is very crucial for internet service providers (ISPs) to keep an eye on the network traffic. Most of the researches made on Network Traffic Classification, using Machine Learning Based Traffic Identification to collect data set from one campus network, don’t provide far better results. In this paper, we attempt to achieve highly precise results using different kinds of data sets and Machine Learning (ML) algorithms. We use two data sets, HIT and NIMS data sets for this work. Firstly, we capture online internet traffic of seven different kinds of applications such as DNS, FTP, TELNET, P2P, WWW, IM and MAIL to make data sets. Then, we extract the features of captured packets using NetMate tool. Thereafter, we apply three ML algorithms Artificial Neural Network, C4.5 Decision Tree and Support Vector Machine to compare the results of each algorithm. Experimental results show that all the algorithms give highly accurate results. But C4.5 decision tree algorithm provides 97.57% highly precise results when compared to other two machine learning algorithms.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Nguyen, T.T.T., Armitage, G.: A survey of techniques for internet traffic classification using machine learning. IEEE Commun. Surv. Tutorials 10(4), 56–76 (2008)
Moore, A.W., Zuev, D., Crogan, M.: Discriminators for Use in Flow Based Classification. Intel Research Tech. Rep. (2005)
Auld, T., Moore, A.W., Gull, S.F.: Bayesian neural networks for internet traffic classification. IEEE Trans. Neural Netw. 18(1), 223–239 (2007)
Shafiq, M., Yu, X., Laghari, A.A.: WeChat text messages service flow traffic classification using machine learning technique. In: Â 6th International Conference on IT Convergence and Security (ICITCS). IEEE (2016)
Shafiq, M., Yu, X.: Effective packet number for 5G IM WeChat application at early stage traffic classification. Mobile Inf. Syst., Article ID 3146868, 22 pages, (2017). doi:10.1155/2017/3146868
Shafiq, M., et al.: WeChat text and picture messages service flow traffic classification using machine learning technique. In: 2016 IEEE 18th International Conference on High Performance Computing and Communications; IEEE 14th International Conference on Smart City; IEEE 2nd International Conference on Data Science and Systems (HPCC/SmartCity/DSS). IEEE (2016)
Shafiq, M., et al.: Effective feature selection for 5G IM applications traffic classification. Mobile Inf. Syst. (2017)
Shafiq, M., et al.: Network traffic classification techniques and comparative analysis using machine learning algorithms. In: 2nd IEEE International Conference on Computer and Communications (ICCC). IEEE (2016)
Alshammari, R., Zincir-Heywood, A.N.: A flow based approach for SSH traffic detection. In: IEEE International Conference on Systems, Man and Cybernetics, ISIC, pp. 296–301, 7–10 Oct 2007
To download NIMS data sets https://web.cs.dal.ca/~riyad/Site/Download.html
Korting, T.S.: C4.5 algorithm and multivariate decision trees. Image Processing Division, National Institute for Space Research—INPE, SP, Brazil
Kim, H., Claffy, K.C., Fomenkov, M.: Internet Traffic classification demystified: myths, caveats, and the best practices. In: Proceedings of the 2008 ACM CoNEXT Conference. Publisher: ACM, ISBN
Weka tools (Online). http://www.cs.wikato.ac.nz/ml/weka/
To capture online traffic, Wire shark tool, Application: http:// www.wireshark.org
Introduction to NetMate toll, download information https://dan.arndt.ca/nims/calculating-flow-statistics-using-netmate/comment-page-1/
Acknowledgements
This work was supported by National Natural Science Foundation of China under Grant No. 61571144 and National Key Research and Development Plan of China under Grant 2016QY05X1000.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG
About this paper
Cite this paper
Shafiq, M., Yu, X., Wang, D. (2018). Network Traffic Classification Using Machine Learning Algorithms. In: Xhafa, F., Patnaik, S., Zomaya, A. (eds) Advances in Intelligent Systems and Interactive Applications. IISA 2017. Advances in Intelligent Systems and Computing, vol 686. Springer, Cham. https://doi.org/10.1007/978-3-319-69096-4_87
Download citation
DOI: https://doi.org/10.1007/978-3-319-69096-4_87
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-69095-7
Online ISBN: 978-3-319-69096-4
eBook Packages: EngineeringEngineering (R0)