Implementation of OpenAPI Wireshark Dissectors to Validate SBI Messages of 5G Core Networks
Abstract: This paper introduces a novel Wireshark dissector designed to facilitate the analysis of Service-Based Interface (SBI) communication in 5G Core Networks. Our approach involves parsing the OpenAPI schemes provided by the 5G specification to automatically generate the dissector code. Our tool enables the validation of 5G Core Network traces to ensure compliance with the specifications. Through testing against three open-source 5G Core Network projects, we identified several issues where messages deviate from specification standards, highlighting the significance of our implementation in ensuring protocol conformity and network reliability.
- J. B. Moreira, H. Mamede et al., “Next generation of microservices for the 5g service-based architecture,” International Journal of Network Management, vol. 30, no. 6, 2020.
- L. Schauer, “telekom/openapi-dissector: This repository contains experimental code for generating an openapi dissector for use within wireshark.” https://github.com/telekom/OpenAPI-Dissector.
- “Openapi initiative,” https://www.openapis.org/.
- G. Mayer, “Restful apis for the 5g service based architecture,” Journal of ICT Standardization, vol. 6, no. 1-2, pp. 101–116, 2018.
- ETSI, “5G System; Principles and Guidelines for Services Definition,” European Telecommunications Standards Institute (ETSI), TS 29.501 version 17.8.0, 01 2024.
- Wireshark Foundation, “Wireshark - Network Protocol Analyzer,” https://www.wireshark.org/.
- “Lua Programming Language,” https://www.lua.org/.
- S. Karlsson, A. Čaušević, and D. Sundmark, “Quickrest: Property-based test generation of openapi-described restful apis,” in 2020 IEEE 13th ICST. IEEE, 2020, pp. 131–141.
- Deutsche Telekom AG, “5g trace visualizer,” https://github.com/telekom/5g-trace-visualizer.
- Cisco, “Apiclarity,” https://www.apiclarity.io/.
- “All groups / 5g apis · gitlab,” https://forge.3gpp.org/rep/all/5G_APIs.
- “Pcre2,” https://github.com/PCRE2Project/pcre2.
- “open5gs.org,” https://open5gs.org/.
- “free5gc,” https://free5gc.org/.
- “Openairinterface – 5g software alliance for democratising wireless innovation,” https://openairinterface.org/, (Accessed on 03/23/2024).
- A. Güngör, “Ueransim,” https://github.com/aligungr/UERANSIM.
- 3GPP, “5G System; Network function repository services; Stage 3,” 3rd Generation Partnership Project (3GPP), Technical Specification (TS) 29.510, 03 2024, version 17.13.0. [Online]. Available: http://www.3gpp.org/DynaReport/29510.htm
- 3GPP, “5G System; Unified Data Repository Services; Stage 3,” 3rd Generation Partnership Project (3GPP), Technical Specification (TS) 29.504, 03 2024, version 17.13.0. [Online]. Available: http://www.3gpp.org/DynaReport/29504.htm
- 3GPP, “5G System; Unified Data Management Services; Stage 3,” 3rd Generation Partnership Project (3GPP), Technical Specification (TS) 29.503, 01 2024, version 17.13.0. [Online]. Available: https://www.3gpp.org/dynareport/29503.htm
- 3GPP, “5G System; Authentication Server Services; Stage 3,” 3rd Generation Partnership Project (3GPP), Technical Specification (TS) 29.509, 03 2024, version 17.10.0. [Online]. Available: http://www.3gpp.org/DynaReport/29509.htm
- 3GPP, “5G System; Common Data Types for Service Based Interfaces; Stage 3,” 3rd Generation Partnership Project (3GPP), Technical Specification (TS) 29.571, 01 2024, version 17.10.0. [Online]. Available: http://www.3gpp.org/DynaReport/29571.htm
- D. Donato, “Using openapi 3 specifications of the 5g core to generate validators in erlang,” Master’s thesis, Chalmers University of Technology, 2019.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.