SDN-Enabled FiWi-IoT Smart Environment Network Traffic Classification Using Supervised ML Models
Abstract
:1. Introduction
- (1)
- The novelty of this paper focuses on the proposed SDN-Based FiWi architecture, IoT traffic QoS management and IoT traffic classification mechanism using ML supervised models. This article addresses the possibilities and possible challenges of developing and implementing IoT traffic classification mechanisms in a fiber wireless smart environment to support internet service providers’ (ISP) network performance. The intelligent SDN controller, in conjunction with the fiber-wireless network and machine learning, enables the combination of the benefits of programmable flow-based telemetry and modular data-driven models for the management of IoT devices based on their network operation and defence against cyberattacks;
- (2)
- An integrated, SDN-based, Fiber wireless network access scheme is proposed and the primary operational components are described. Further, the EPON and WLAN QoS mapping is proposed;
- (3)
- Using the global view of SDN and the need for traffic flows, an optimized scheme is built for the multipath transmission of IoT applications;
- (4)
- We implemented the proposed systems and demonstrated the performance of our classifier using 21 IoT and non-IoT devices, representing different types of device.
- (5)
- We propose an enhanced framework to identify IoT device specifications, in which we devise a method for extracting invariant dependencies along with all devices and deriving features from them;
- (6)
- Finally, we evaluate our methods on the real-time IoT dataset. Our proposed model might achieve satisfactory accuracy with a small training set in classifying new IoT and Non-IoT devices. Finally, we discuss the achieved results and compares the performance with other classifiers.
2. Related Work
3. Proposed Software-Defined-FiWi-IoT System Architecture and Operation
3.1. System Architecture
3.2. Operation of Software Defined Network
3.3. Network Traffic Characteristics of IoT Smart Environment
4. Overview of Network Traffic Classification Techniques
4.1. Port-Based Classification
4.2. Payload-Based Classification
4.3. Statistical Classification
5. Proposed Machine Learning Methodology
5.1. Packet Capture and Collected Block
5.2. Pre-Processing and Transformed Data Block
5.3. Training Block
5.4. Testing Block
5.5. Implementation of ML Classification Model (Pattern) Block
5.6. Classification Result Block
6. Performance Evaluation
6.1. Dataset
6.2. Performance Metrics
6.3. Experimental Setup
6.4. Device Classification and Analysis of Receiver Operating Characteristics (ROC) Curve
6.5. Overall Performance Result
6.6. Discussion on Our Work with Related Work
- The tested IoT and Non-IoT devices are various enough with 21 devices;
- The coverage is complete and 99% accuracy is good enough;
- The study only examined devices that communicated through TCP/IP;
- We collect harmless IoT and non-IoT traffic flow, i.e., we do not abuse or unusually use the IoT system. As a result, our assumptions only apply to the capture of the usual activity patterns of a variety of IoT system types.
7. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
Notations | Description |
SDN | Software Defined Network |
OF | OpenFlow |
FiWi | Fiber-Wireless |
IOT | Internet of Things |
DBA | Dynamic Bandwidth Allocation |
DWBA | Dynamic Wavelength and Bandwidth Allocation |
QoS | Quality of Service |
EDCA | Enhanced Distribution Channel Access |
DCFPC | Distributed-Coordination FunctionPacket Classifier |
DSCP | Differentiated Services Code Point |
PON | Passive Optical Network |
TWDM | Time and Wavelength Division Multiplexing |
TDM | Time Division Multiplxing |
NBAPI | NorthBound Application Programming Interface |
SBAPI | SouthBound Application Programming Interface |
SD-OLT | Software-Defined-Optical Line Terminal |
SD-ONU-AP | Softwate Defined-Optical Network Unit-Access Point |
EF | Expedited Forwarding (Voice) |
AF | Assured Forwarding (Video) |
BE | Best Effort |
CoS | Class of Service |
ToS | Type of Service |
CBR | Constant Bit Rate |
H2M | Human-To-Machine Communication |
References
- Rimal, B.P.; Van, D.P.; Maier, M. Mobile edge computing empowered fiber-wireless access networks in the 5G era. IEEE Commun. Mag. 2017, 55, 192–200. [Google Scholar] [CrossRef]
- Yousefnezhad, N.; Malhi, A.; Framling, K. Automated IoT device identification based on full packet information using real-time Network traffic. Sensors 2021, 21, 2660. [Google Scholar] [CrossRef] [PubMed]
- Huxley. Available online: https://www.huxley.com/en-sg/blog/2018/06/the-use-of-iot-devices-is-expected-to-reach-18-billion-by-2022-what-does-this-mean-for-cyber-security/ (accessed on 4 June 2021).
- Liu, Y.; Yang, Y.; Han, P.; Shao, Z.; Li, C. Virtual network embedding in fiber-wireless access networks for resource-efficient IoT service provisioning. IEEE Access 2019, 7, 65506–65517. [Google Scholar] [CrossRef]
- Van, D.P.; Rimal, B.P.; Chen, J.; Monti, P.; Wosinska, L.; Maier, M. Power-saving methods for Internet of Things over coverged fiber-wireless access networks. IEEE Commun. Mag. 2016, 54, 166–175. [Google Scholar] [CrossRef]
- Hwang, I.S.; Yeah, T.J.; Hwang, B.J.; Lee, J.Y. Synchronous interleaved dynamic bandwidth assignment for quality of service over GPON-LTE converged network. J. Internet Tecnol. 2015, 16, 1259–1270. [Google Scholar]
- Mehamood, Y.; Ahmad, F.; Yaqoob, I.; Adnane, A.; Imran, M.; Guizani, S. Internet-of-Things-based smart cities: Recent advances and challenges. IEEE Commun. Mag. 2017, 55, 16–24. [Google Scholar] [CrossRef]
- Shafiq, M.; Yu, X.; Laghari, A.; Yao, L.; Karan, N.K.; Abdessamia, F. Network traffic classification techniques and comparative analysis using machine learning algorithms. In Proceedings of the IEEE International Conference on Computer and Communications, Chengdu, China, 14–17 October 2016; pp. 2451–2455. [Google Scholar]
- Sivanathan, A. IoT behavioral monitoring via network traffic analysis. arXiv 2020, arXiv:2001.10632. [Google Scholar]
- Deepika, V.; Samrudhi, N. Software-defined networks. IEEE Potentials 2018, 37, 21–24. [Google Scholar]
- Farris, I.; Taleb, T.; Khettab, Y.; Song, J. A survey on emerging SDN and NFV security mechanisms for IoT systems. IEEE Commun. Surv. Tutor. 2019, 21, 812–837. [Google Scholar] [CrossRef]
- Xie, J.; Yu, F.R.; Huang, T.; Xie, R.; Liu, J.; Wang, C.; Liu, Y. A survey of machine learning techniques applied to software defined networking (SDN): Research issues and challenges. IEEE Commun. Surv. Tutor. 2019, 21, 393–430. [Google Scholar] [CrossRef]
- Kuranage, M.P.J.; Piamrat, K.; Hamma, S. Network Traffic Classification Using Machine Learning for Software Defined Networks. In Machine Learning for Networking; Boumerdassi, S., Renault, E., Muhlethaler, P., Eds.; Springer: Berlin/Heidelberg, Germany, 2020; Volume 12081, pp. 28–39. [Google Scholar]
- Yao, H.; Gao, P.; Wang, J.; Zhang, P.; Jiang, C.; Han, Z. Capsule network assisted IoT traffic classification mechanism for smart cities. IEEE Internet Things J. 2019, 6, 7515–7525. [Google Scholar] [CrossRef]
- Liu, J.; Shou, G.; Liu, Y.; Hu, Y.; Guo, Z. Performance evaluation of integrated multi-access edge computing and fiber-wireless access networks. IEEE Access 2018, 6, 30269–30279. [Google Scholar] [CrossRef]
- He, J.; Lee, J.; Kandeepan, S.; Wang, K. Machine Learning Techniques in Radio-over-Fiber Systems and Networks. Photonics 2020, 7, 105. [Google Scholar]
- Amaral, P.; Dinis, J.; Pinto, P.; Bernardo, L.; Tavares, J.; Mamede, H.S. Machine learning in software defined networks: Data collection and traffic classification. In Proceedings of the IEEE 24th International Conference on Network Protocols (ICNP), Singapore, 1–5 November 2016. [Google Scholar]
- Sarica, A.K.; Angin, P. Explainable security in SDN-based IoT networks. Sensors 2020, 20, 7326. [Google Scholar] [CrossRef] [PubMed]
- Bezawada, B.; Bachani, M.; Peterson, J.; Shirazi, H.; Ray, I.; Ray, I. Behavioral fingerprinting of IoT devices. In Proceedings of the 2018 Workshop on Attacks and Solutions in Hardware Security, ASHES@CCS 2018, Toronto, ON, Canada,19 October 2018; Chang, C., Rührmair, U., Holcomb, D., Guajardo, J., Eds.; ACM: New York, NY, USA, 2018; pp. 41–50. [Google Scholar]
- Aksoy, A.; Gunes, M.H. Automated IoT device identification using network traffic. In Proceedings of the 2019 IEEE International Conference on Communications, ICC 2019, Shanghai, China, 20–24 May 2019; pp. 1–7. [Google Scholar]
- Sivanathan, A.; Gharakheili, H.H.; Loi, F.; Radford, A.; Wijenayake, C.; Vishwanath, A.; Sivaraman, V. Classifying IoT devices in smart environments using network traffic characteristics. IEEE Trans. Mob. Comput. 2018, 18, 1745–1759. [Google Scholar] [CrossRef]
- Zhang, J.; Chen, X.; Xiang, Y.; Zhou, W.; Wu, J. Robust network traffic classification. IEEE Trans. Comput. Soc. Syst. 2015, 2, 1257–1270. [Google Scholar] [CrossRef]
- Lopez-Martin, M.; Carro, B.; Samchez-Esguevillas, A.; Lloret, J. Network traffic classifier with convolutional and recurrent neural network for internet of things. IEEE Access 2017, 5, 18042–18050. [Google Scholar] [CrossRef]
- Ammar, N.; Noirie, L.; Tixeuil, S. Autonomous identification of IoT device types based on a supervised classification. In In Proceedings of the ICC 2020–2020 IEEE International Conference on Communications (ICC), Dublin, Ireland, 7–11 June 2020; pp. 1–6. [Google Scholar]
- Meidan, Y.; Bohadana, M.; Shabtai, A.; Ochoa, M.; Tippenhauer, N.O.; Guarnizo, J.D.; Elovici, Y. Detection of unauthorized IoT devices using machine learning techniques. arXiv 2017, arXiv:1709.04647. [Google Scholar]
- Bai, L.; Yao, L.; Kanhere, S.S.; Wang, X.; Yang, Z. Automatic device classification from network traffic streams of internet of things. In Proceedings of the IEEE 43rd Conference on Local Computer Networks (LCN), Chicago, IL, USA, 1–4 October 2018; pp. 1–9. [Google Scholar]
- Van, D.P.; Rimal, B.P.; Andreev, S.; Tirronen, T.; Maier, M. Machine-to-machine communication over FiWi enhanced LTE networks: A power-saving framework and end-to-end performance. J. Lightwave Technol. 2016, 34, 1062–1071. [Google Scholar] [CrossRef]
- Bhatt, U.R.; Sharma, A.; Mishra, V.; Upadhyay, R. Dynamic bandwidth allocation in fiber-wireless (FiWi) access networks. Eur. J. Adv. Eng. Technol. 2017, 4, 668–677. [Google Scholar]
- Hwang, I.S.; Lee, J.Y.; Lu, C.H.; Rahman, M.S.A.; Liem, A.T. Hybrid uplink traffic scheduling algorithms in FMC networks: A comparative study of performance. J. Internet Tecnol. 2017, 18, 521–532. [Google Scholar]
- Ganesan, E.; Hwang, I.-S.; Liem, A.T.; Ab-Rahman, M.S. 5G-enabled tactile internet resource provision via software-defined optical access networks (SDOANs). Photonics 2021, 8, 140. [Google Scholar] [CrossRef]
- Mohammadani, K.H.; Butt, R.A.; Memon, K.A.; Hassan, F.; Majeed, A.; Kumar, R. Highest cost first-Based QoS mapping scheme for fiber wireless architecture. Photonics 2020, 7, 114. [Google Scholar] [CrossRef]
- Pakpahan, A.F.; Hwang, I.S.; Nikoukar, A. OLT energy savings via software defined dynamic resource provisioning in TWDM-PONs. IEEE. J. Opt. Commun. Netw. 2017, 9, 1019–1029. [Google Scholar] [CrossRef]
- Mocnej, J.; Pekar, A.; Seah, W.K.G.; Zolotova, I. Network Traffic Characteristics of the IoT Application Use Cases. Available online: https://ecs.victoria.ac.nz/foswiki/pub/Main/TechnicalReportSeries/IoT_network_technologies_embfonts.pdf (accessed on 28 March 2021).
- Dashevskiy, M.; Luo, Z. Network traffic classification and demand prediction. In Conformal Prediction for Reliable Machine Learning; Balasubramanian, V.N., Ho, S.-S., Vovk, V., Eds.; Morgan Kaufmann: Burlington, MA, USA, 2014; pp. 231–259. [Google Scholar]
- Goli, Y.G.; Ambika, R. Network traffic classification techniques—A review. In Proceedings of the International Conference on Computational Techniques, Electronics and Mechanical Systems (CTEMS), Belgaum, India, 21–22 December 2018; pp. 219–222. [Google Scholar]
- Finsterbusch, M.; Richter, C.; Rocha, E.; Muller, J.; Hanssgen, K. A survey of payload-based traffic classification approaches. IEEE Commun. Surv. Tutor. 2014, 16, 1135–1156. [Google Scholar] [CrossRef]
- Fan, Z.; Liu, R. Investigation of machine learning based network traffic classification. In Proceedings of the International Symposium on Wireless Communication Systems (ISWCS), Bologna, Italy, 28–31 August 2017; pp. 1–6. [Google Scholar]
- 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, 1–20. [Google Scholar] [CrossRef]
- To Capture Online Traffic, Wireshark Tool, Application. Available online: https://www.wireshark.org/ (accessed on 2 March 2021).
- Nguyen, T.T.T.; Armitage, G. A survey of techniques for internet traffic classification using machine learning. IEEE Commun. Surv. Tutor. 2008, 10, 56–76. [Google Scholar] [CrossRef]
- Narayanan, U.; Unnikrishanan, A.; Paul, V.; Joseph, S. A survey of various supervised classification algorithms. In Proceedings of the International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS), Chennai, Inida, 1–2 August 2017; pp. 2118–2124. [Google Scholar]
- Chen, C.; Zhang, J.; Xie, Y.; Xiang, Y.; Zhou, W.; Hassan, M.M.; Abudlhameed, E.; Majed, A. A performance evaluation of machine learning-based streaming spam tweets detection. IEEE. Trans. Comput. Soc. Syst. 2015, 2, 65–76. [Google Scholar] [CrossRef]
- Machine Learning and Data Visualization Tool. Available online: https://orange.biolab.si/ (accessed on 2 March 2021).
- Meidan, Y.; Bohadana, M.; Shabtai, A.; Guarnizo, J.D.; Ochoa, M.; Tippenhauer, N.O.; Elovici, Y.; ProfilIo, T. A machine learn-ing approach for IoT device identification based on network traffic analysis. In Proceedings of the Symposium on Applied Compu-ting, Marrakech, Morocco, 3–7 April 2017; pp. 506–509. [Google Scholar]
Priority | SD-ONU-AP | EPON | WLAN | Designation |
---|---|---|---|---|
1 | EF | NC, VO | AC_VO | Voice |
2 | AF | VI, CL | AC_VI | Video |
3 | IoT | IoT | AC_IoT | IoT |
4 | BE | EE, BK | AC_BE, BK | Best Effort, Background |
Priority | Service/Application | ToS/DSCP | Traffic Type H2H/IoT | Protocols |
---|---|---|---|---|
1 | EF VoiP | CS6 | H2H | UDP, SIP, VoIP |
2 | AF Streaming | CS4 | H2H | TCP, FTP |
3 | IoT Live Monitoring | CS4(I) | IoT | UDP, RTSP |
4 | BE P2P File transfer | CS0 | H2H | HTTP, FTP |
Algorithm | Technical Details |
---|---|
Random Forest (RF) | Number of estimator tree: 10, Number of trees considered at each split: 5, Replicable training: Fix the seed for tree generation, Balance distribution: weigh classes and Do not split subsets smaller than 5 |
K-nearest neighbors (KNN) | Number of neighbors (K) 5. Metric Euclidean and weight Uniform |
Neural Network (MLP) | Neurons per hidden layers: 100, Activation: ReLu, solver: Adam Maximal number of iterations: 200 |
Naive Bayes (NB) | GaussianNB |
Logistic Regression (LR) | Regularization type: Ridge (L2) |
Support Vector Machine | Radial Basics Function (RBF) |
No | Device | Mac Address | Connectivity |
---|---|---|---|
1. | Amazon echo | 44:65:0d:56:cc:d3 | WiFi |
2. | Belkin Motion Sensor | ec:1a: 59:79: f4:89 | WiFi |
3. | Belkin Switch | ec:1a: 59:83:28:11 | WiFi |
4. | Dropcam | 30:8c: fb:2f: e4: b2 | WiFi |
5. | HP Printer | 70:5a:0f: e4:9b:c0 | WiFi |
6. | Instean Camera | 00:62:6e: 51:27:2e | Wired |
7. | Labtop | 74:2f: 68:81:69:42 | WiFi |
8. | LiFx Smart Bulb | d0:73: d5:01:83:08 | WiFi |
9. | MacBook | ac: bc:32: d4:6f:2f | WiFi |
10. | Netamo Welcome | 70:ee: 50:18:34:43 | WiFi |
11. | Netatmo Weather Station | 70:ee: 50:03: b8:ac | WiFi |
12. | PIX-Star Photo Frame | e0:76: d0:33:bb:85 | WiFi |
13. | Samsung Galaxy Tab | 08:21: ef:3b:fc: e3 | WiFi |
14. | Samsung Smart Cam | 00:16:6c: ab:6b:88 | WiFi |
15. | Smart Things | d0:52: a8:00:67:5e | Wired |
16. | TB-Link | 14:cc: 20:51:33: ea | Wired |
17. | Triby Speaker | 18: b7:9e: 02:20:44 | WiFi |
18. | TP-Link Smart plug | 50:c7:bf: 00:56:39 | WiFi |
19. | Withings Baby Monitor | 00:24: e4:11:18: a8 | Wired |
20. | Withings Scale | 00:24: e4:1b:6f:96 | WiFi |
21. | Withings Sleep Sensor | 00:24: e4:20:28:c6 | WiFi |
Operating System | Windows 10 x64-based PC |
---|---|
Processor | Intel(R) Core (TM) i7-9700 CPU @ 3.00GHz, 3000 MHz, 8 Core(s), 8 Logical Processor(s) |
RAM | 40.0 GB |
Hard Disk | 2 TB |
Device | Instance Count |
---|---|
Amazon echo | 1750 |
Belkin Motion Sensor | 1900 |
Belkin Switch | 1940 |
Dropcam | 2100 |
HP Printer | 2400 |
Instean Camera | 1900 |
Labtop | 2200 |
LiFx Smart Bulb | 1955 |
MacBook | 1800 |
Netamo Welcome | 1400 |
Netatmo Weather Station | 2444 |
PIX-Star Photo Frame | 1990 |
Samsung Galaxy Tab | 1850 |
Samsung Smart Cam | 1930 |
Smart Things | 2000 |
TB-Link | 2100 |
Triby Speaker | 1952 |
TP-Link Smart plug | 1950 |
Withings Baby Monitor | 2100 |
Withings Scale | 2400 |
Withings Sleep Sensor | 1850 |
Algorithm | AUC | CA | F1 Score | Precision | Recall |
---|---|---|---|---|---|
Random Forest | 1.000 | 0.996 | 0.999 | 0.996 | 0.996 |
KNN Tree | 0.995 | 0.968 | 0.968 | 0.968 | 0.968 |
Neural Network | 0.998 | 0.952 | 0.951 | 0.953 | 0.952 |
Naïve Bayes | 0.991 | 0.875 | 0.871 | 0.884 | 0.875 |
Logistic Regression | 0.815 | 0.547 | 0.425 | 0.347 | 0.547 |
SVM | 0.907 | 0.485 | 0.474 | 0.524 | 0.485 |
Work | Purpose | Methods | Features | Devices | Speed/Accuracy |
---|---|---|---|---|---|
[19] | Automatically identify the devices using (TCP/IP) | Decesion Tree (DT), K48, OneR, and PART | Unique featurs, Transport and application layer | 23 IoT devices | Fast/95% |
[20] | Identifying and authenticating behavioral fingerprints | KNN, Decesion Tree (DT), XG Boost Random Forset | Features based on TCP sessions | 14 home IoT devices | Fast/99% |
[21] | To classify IoT devices using traffic characteristics | Random Forest | Statistical attributes: activity cyclels, port nunber and cipher suites | 28 IoT devices | Fast/99% |
[24] | Autonomous identification of IoT device type | RF, DT, LR, SVM, Navie Bayes (NB) | Textual featuress and flows features of the network traffic | 28 Hetrogeneous devices | Fast few seconds/97% |
[25] | Detection of Unauthorized IoT Devices classification | Detection of Unauthorized IoT Devices | TCP/IP | 17 IoT devices | Fast/ 99.49% |
[26] | IoT device classification | LSTM-CNN | TCP session features | 15 IoT devices with four grpups | 74.8% |
[44] | To identify IoT device types from the white list | RF, Gradient Boosting Machine (GBM), XG Boost | TCP/IP features | 9 IoT devices, PC and smart phones | Fast/99% |
Our work | IoT/Non-IoT devices identification | Multiclass-classification RF, KNN, NB, SVM, MLP, LR | Statistical Features | 21 IoT/Non-IoT deviccs (latop, HP printer, Smart Phone) | Fast Few seconds/ 99% |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Ganesan, E.; Hwang, I.-S.; Liem, A.T.; Ab-Rahman, M.S. SDN-Enabled FiWi-IoT Smart Environment Network Traffic Classification Using Supervised ML Models. Photonics 2021, 8, 201. https://doi.org/10.3390/photonics8060201
Ganesan E, Hwang I-S, Liem AT, Ab-Rahman MS. SDN-Enabled FiWi-IoT Smart Environment Network Traffic Classification Using Supervised ML Models. Photonics. 2021; 8(6):201. https://doi.org/10.3390/photonics8060201
Chicago/Turabian StyleGanesan, Elaiyasuriyan, I-Shyan Hwang, Andrew Tanny Liem, and Mohammad Syuhaimi Ab-Rahman. 2021. "SDN-Enabled FiWi-IoT Smart Environment Network Traffic Classification Using Supervised ML Models" Photonics 8, no. 6: 201. https://doi.org/10.3390/photonics8060201
APA StyleGanesan, E., Hwang, I. -S., Liem, A. T., & Ab-Rahman, M. S. (2021). SDN-Enabled FiWi-IoT Smart Environment Network Traffic Classification Using Supervised ML Models. Photonics, 8(6), 201. https://doi.org/10.3390/photonics8060201