Skip to main content

Network Traffic Classification Using Machine Learning Algorithms

  • Conference paper
  • First Online:
Advances in Intelligent Systems and Interactive Applications (IISA 2017)

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 686))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. 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)

    Article  Google Scholar 

  2. Moore, A.W., Zuev, D., Crogan, M.: Discriminators for Use in Flow Based Classification. Intel Research Tech. Rep. (2005)

    Google Scholar 

  3. Auld, T., Moore, A.W., Gull, S.F.: Bayesian neural networks for internet traffic classification. IEEE Trans. Neural Netw. 18(1), 223–239 (2007)

    Article  Google Scholar 

  4. 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)

    Google Scholar 

  5. 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

  6. 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)

    Google Scholar 

  7. Shafiq, M., et al.: Effective feature selection for 5G IM applications traffic classification. Mobile Inf. Syst. (2017)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. 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

    Google Scholar 

  10. To download NIMS data sets https://web.cs.dal.ca/~riyad/Site/Download.html

  11. Korting, T.S.: C4.5 algorithm and multivariate decision trees. Image Processing Division, National Institute for Space Research—INPE, SP, Brazil

    Google Scholar 

  12. 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

    Google Scholar 

  13. Weka tools (Online). http://www.cs.wikato.ac.nz/ml/weka/

  14. To capture online traffic, Wire shark tool, Application: http:// www.wireshark.org

  15. Introduction to NetMate toll, download information https://dan.arndt.ca/nims/calculating-flow-statistics-using-netmate/comment-page-1/

Download references

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

Authors

Corresponding author

Correspondence to Xiangzhan Yu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics