Optimizing IoT Protocol Coexistence and Security using Software Defined Network and Intelligent Machine Learning Detection

DOI: https://doi.org/10.52549/ijeei.v13i3.6913
Published: 27-09-2025 • Issue: Vol. 13 No. 3: September 2025 • Section: Regular paper

Abstract

The rapid growth of heterogeneous IoT environments has made seamless communication across protocols like MQTT and CoAP increasingly difficult, leading to interoperability gaps, latency issues, and security vulnerabilities. This paper proposes a Software-Defined Networking (SDN)-based architecture that integrates MQTT and CoAP through a bidirectional translation layer, while embedding machine learning (ML) intelligence for real-time flag status monitoring and Denial-of-Service (DoS) attack detection. The system leverages classifiers such as SVM, DT, NB, RF, and KNN within the SDN controller to dynamically predict operational states and mitigate malicious traffic. To evaluate performance, a Mininet-based IoT testbed with 50 heterogeneous nodes was deployed. Simulation results demonstrate that the proposed system achieves up to 95% message delivery success, reduces average latency by 18% compared to baseline translation methods, and saves 12–15% residual energy when using SVM-based classification. While the system improves interoperability and security, it also introduces computational overheads at the SDN controller due to ML inference, which may impact CPU and memory utilization in resourceconstrained environments. The proposed solution is highly relevant for smart city, industrial IoT, and healthcare applications, where interoperability and real-time resilience against attacks are critical. By unifying heterogeneous devices and enhancing security, this approach provides a scalable and practical pathway for next-generation IoT networks.

References

B. Nagajayanthi, “Decades of Internet of Things Towards Twenty-first Century: A Research-Based Introspective,†Wirel. Pers. Commun., vol. 123, no. 4, pp. 3661–3697, Apr. 2022, doi: 10.1007/S11277-021-09308-Z/FIGURES/8.

V. Choudhary, P. Guha, G. Pau, and S. Mishra, “An overview of smart agriculture using internet of things (IoT) and web services,†Environ. Sustain. Indic., vol. 26, p. 100607, Jun. 2025, doi: 10.1016/J.INDIC.2025.100607.

Noaman, Muhammad, Khan, MuhammadSohail, Abrar, MuhammadFaisal, Ali, Sikandar, Alvi, Atif, Saleem, Muha mmad Asif, Challenges in Integration of Heterogeneous Internet of Things, Scientific Programming, 2022, 8626882, 14 pages, 2022. https://doi.org/10.1155/2022/8626882.

Ansari, Danish Bilal &Rehman, Atteeq-Ur & Ali, Rizwan. (2018). Internet of Things (IoT) Protocols: A Brief Exploration of MQTT and CoAP.International Journal of Computer Applications. 179. 9-14.

Et-Tousy, Jamal &Abdellah, Zyane. (2025). Integration of MQTT and CoAP Protocols in OneM2M for IoT Applications. 10.1007/978-3-031-90921-4_26.

Shafiq, Shakila, Rahman, Md. Sazzadur, Shaon, Shamim Ahmed, Mahmud, Imtiaz, Hosen, A. S. M. Sanwar, A Review on Software-Defined Networking for Internet of Things Inclusive of Distributed Computing, Blockchain, and Mobile Network Technology: Basics, Trends, Challenges, and Future Research Potentials, International Journal of Distributed Sensor Networks, 2024, 9006405, 26 pages, 2024. https://doi.org/10.1155/2024/9006405.

Mahadik, S.S., Pawar, P.M. & Muthalagu, R. Heterogeneous IoT (HetIoT) security: techniques, challenges and open issues. Multimed Tools Appl 83, 35371–35412 (2024) .https://doi.org/10.1007/s11042-023-16715-w.

Bukhowah, R.; Aljughaiman, A.; Rahman, M.M.H. Detection of DoS Attacks for IoT in Information-Centric Networks Using Machine Learning: Opportunities, Challenges, and Future Research Directions. Electronics 2024, 13, 1031. https://doi.org/10.3390/electronics13061031

P. Sethi and S. R. Sarangi, “Internet of Things: Architectures, Protocols, and Applications,†J. Electr. Comput. Eng., vol. 2017, 2017, doi: 10.1155/2017/9324035.

T. Salman and R. Jain, “A Survey of Protocols and Standards for Internet of Things,†Adv. Comput.Commun.,Feb.2019,doi:10.34048/2017.1.f3.

V. M. Tayur and R. Suchithra, “Review of interoperability approaches in application layer of Internet of Things,†IEEE Int. Conf. Innov. Mech. Ind. Appl. ICIMIA 2017 - Proc., pp. 322–326, Jul. 2017, doi: 10.1109/ICIMIA.2017.7975628.

M. Sandell and U. Raza, “Application layer coding for IoT: Benefits, limitations, and implementation aspects,†IEEE Syst. J., vol. 13, no. 1, pp. 554–561, Mar. 2019, doi: 10.1109/JSYST.2018.2791659

Kilho Lee, Minsu Kim, Taejune Park, Hoon Sung Chwa, Jinkyu Lee, and Seungwon Shin, "MC-SDN: Supporting Mixed-Criticality Real-Time Communication Using Software-Defined Networking," in IEEE Internet of Things Journal, vol. 6, no. 4, pp. 6325-6344, Aug. 2019, doi:10.1109/JIOT.2019.2917546.

M. R. Palattella et al., "Standardized Protocol Stack for the Internet of (Important) Things," in IEEE Communications Surveys & Tutorials, vol. 15, no. 3, pp. 1389-1406, Third Quarter 2013, doi: 10.1109/SURV.2012.111412.00158. keywords: {Internet; Standards; Reliability; Schedules; Media Access Protocol; Synchronization; Internet of Things;802.15.4;802.15.4e;CoAP;RPL;Standards;IPv6;Protocol Stack},

Ahmed, N. H., Sadek, A. M., Al-Feel, H., &AbulSeoud, R. A. (2021). Internet of Things Multi-protocol Interoperability with Syntactic Translation Capability. International Journal of Advanced Computer Science and Applications (IJACSA), 12(9).

Yousaf Ikria & Afzal, Muhammad & Kim, Sung & Marin, Andrea & Guizani, Mohsen. (2020), “Deep learning for intelligent IoT: Opportunities, challenges and solutions†Computer Communications. 164. 10.1016/j.comcom.2020.08.017.

Eirini Anthi, Lowri Williams, Amir Javed, Pete Burnap, Hardening machine learning denial of service (DoS) defences against adversarial attacks in IoT smart home networks,Computers & Security,Volume 108,2021 102352,ISSN 0167-4048,https://doi.org/10.1016/j.cose.2021.102352.

Rejito, Juli & Stiawan, Deris & Alshaflut, Ahmed & Budiarto, Rahmat. (2024). Machine learning-based anomaly detection for smart home networks under adversarial attack. Computer Science and Information Technologies. 5. 122-129. 10.11591/csit.v5i2.p122-129.

Gerodimos, A., Maglaras, L., Ferrag, M. A., Ayres, N., & Kantzavelou, I. (2023, January 1). IoT: Communication protocols and security threats. Internet of Things and Cyber-Physical Systems. KeAi Communications Co. https://doi.org/10.1016/j.iotcps.2022.12.003

Feijoo-Añazco, Anthony & Garcia Carrillo, Dan & Sanchez-Gomez, Jesus & Marin-Perez, Rafael. (2023). Innovative security and compression for constrained IoT networks. Internet of Things. 24. 100899. 10.1016/j.iot.2023.100899.

Roldán-Gómez J, Carrillo-Mondéjar J, Castelo Gómez JM, Ruiz-Villafranca S. Security Analysis of the MQTT-SN Protocol for the Internet of Things. Applied Sciences. 2022; 12(21):10991. https://doi.org/10.3390/app122110991

Deepa, O., & Suguna, J. (2017)., “An optimized QoS-based clustering with multipath routing protocol for Wireless Sensor Networks†Journal of King Saud University - Computer and Information Sciences, 32(1), 20– 28.https://doi.org/10.1016/j.jksuci.2017.11.007

R. A. Elsayed, R. A. Hamada, M. I. Abdalla, and S. A. Elsaid, "Securing IoT and SDN systems using deep-learning based automatic intrusion detection," Ain Shams Engineering Journal, vol. 14, no. 10, Art. no. 102211, Oct. 2023, doi: 10.1016/j.asej.2023.102211.

Kavitha, D., & Ramalakshmi, R. (2024). Machine learning-based DDoS attack detection and mitigation in SDNs for IoT environments. Journal of the Franklin Institute, 361(17), Article 107197. https://doi.org/10.1016/j.jfranklin.2024.107197,

Sumadi, F. D. S., Minarno, A. E., Syafa’ah, L., & Irfan, M. (2021), “Enabling seamless communication over several IoT messaging protocols in OpenFlow network†Telkomnika (Telecommunication Computing Electronics and Control), 19(5), 20412. https://doi.org/10.12928/telkomnika.v19i5.20412.

Alve, S. R., Mahmud, M. Z., Islam, S., Chowdhury, M. A., & Islam, J. (2025), "Smart IoT security: Lightweight machine learning techniques for multi-class attack detection in IoT networks" ar Xiv preprint arXiv:2502.04057. https://arxiv.org/abs/2502.04057

G. A. Shah, “IoT DoS and DDoS Attack Detection using ResNet,†Proc. - 2020 23rd IEEE Int. Multi-Topic Conf. INMIC 2020, Nov. 2020, doi: 10.1109/INMIC50486.2020.9318216.

H. Qiu, T. Dong, T. Zhang, J. Lu, G. Memmi, and M. Qiu, “Adversarial Attacks against Network Intrusion Detection in IoT Systems,†IEEE Internet Things J., vol. 8, no. 13, pp. 10327–10335, Jul. 2021, doi: 10.1109/JIOT.2020.3048038.

K. Prathapchandran and T. Janani, “A trust aware security mechanism to detect sinkhole attack in RPL-based IoT environment using random forest – RFTRUST,†Comput. Networks, vol. 198, p. 108413, Oct. 2021, doi: 10.1016/J.COMNET.2021.108413

Author Biographies

Reshma N. Bhai
Electroics and Telecommunication
Mahadev S. Patil
Professor, Department of Electronics and Telecommunication Engineering

How to Cite

[1]
R. N. Bhai and M. S. Patil, “Optimizing IoT Protocol Coexistence and Security using Software Defined Network and Intelligent Machine Learning Detection”, IJEEI, vol. 13, no. 3, pp. 784–797, Sep. 2025, doi: 10.52549/ijeei.v13i3.6913.