Interoperability and Service Automation in Internet of Things Networks using P4
Abstract
The P4 programming language has been widely used for data plane programming in network devices, allowing packet processing customization in physical or virtual switches and routers. This work explores its application in the Internet of Things (IoT), investigating its feasibility for automation and interoperability. The research addresses the handling of different protocols and data formats in IoT applications with P4. Using P4 Flow Forge and P4Docker, a multiprotocol gateway was developed, capable of identifying different protocols and data types and generating alerts via MQTT. The results demonstrate P4’s potential to optimize IoT network management.
References
Basil, A. O., Mu, M., Sharman, J., and Goldsney, J. (2018). P4-assisted network security for future smart homes.
BUDIU, M. and DODD, C. (2017). The p416 programming language. SIGOPS Operating Systems Review, 51(1):5–14.
CARRASCAL, D., ROJAS, E., ÁLVAREZ-HORCAJO, J., LOPEZ-PAJARES, D., and MARTÍNEZ-YELMO, I. (2020). Analysis of p4 and xdp for iot programmability in 6g and beyond. IoT, 1(2):605–622.
Farris, I., Taleb, T., Khettab, Y., and Song, J. (2018). A survey on emerging sdn and nfv security mechanisms for iot systems. IEEE Communications Surveys & Tutorials, 21(1):812–837.
Heideker, A., Silva, D., Kamienski, C. A., and Trotta, A. (2025). Achieving seamless iot interoperability through data plane programmability. In 2025 IEEE 22st Consumer Communications Networking Conference (CCNC), pages 1–6.
Liu, G., Quan, W., Cheng, N., Gao, D., Lu, N., Zhang, H., and Shen, X. (2021). Softwarized iot network immunity against eavesdropping with programmable data planes. IEEE Internet of Things Journal, 8(8):6578–6590.
MADUREIRA, A. L. R., ARAÚJO, F. R. C., and SAMPAIO, L. N. (2020). On supporting iot data aggregation through programmable data planes. Computer Networks, 177.
MAKHSHARI, A. and MESBAH, A. (2021). Iot bugs and development challenges. In IEEE/ACM 43rd International Conference on Software Engineering (ICSE), pages 460–472.
P4Docker. P4docker. [link]. Accessed: 2024-01-05.
P4FlowForge. P4flowforge. [link]. Accessed: 2024-01-05.
PROFISSA, P. Projeto profissa. [link]. Accessed: 2024-01-25.
QIN, Q., POULARAKIS, K., and TASSIULAS, L. (2020). A learning approach with programmable data plane towards iot security. In IEEE 40th International Conference on Distributed Computing Systems (ICDCS), pages 410–420.
Silva, D., Heideker, A., Trombeta, L., Carvalho, B., Kleinschmidt, J., and Kamienski, C. (2024). P4docker: Enabling efficient p4 switch testbeds with docker integration. In Simpósio Brasileiro de Redes de Computadores e Sistemas Distribuídos, Niterói-RJ.
Tahsien, S. M., Karimipour, H., and Spachos, P. (2020). Machine learning based solutions for security of internet of things (iot): A survey. Journal of Network and Computer Applications, 161:102630.
UDDIN, M., MUKHERJEE, S., CHANG, H., and LAKSHMAN, T. V. (2017). Sdn-based service automation for iot. In IEEE 25th International Conference on Network Protocols (ICNP), pages 1–10.
UDDIN, M., MUKHERJEE, S., CHANG, H., and LAKSHMAN, T. V. (2018). Sdn-based multi-protocol edge switching for iot service automation. IEEE Journal on Selected Areas in Communications, 36(12):2775–2786.
Wang, S. Y., Li, J. Y., and Lin, Y. B. (2020). Aggregating and disaggregating packets with various sizes of payload in p4 switches at 100 gbps line rate. Journal of Network and Computer Applications, 165:102676.
