IDEAS home Printed from https://ideas.repec.org/a/gam/jftint/v17y2025i9p415-d1747129.html

Toward Secure SDN Infrastructure in Smart Cities: Kafka-Enabled Machine Learning Framework for Anomaly Detection

Author

Listed:
  • Gayathri Karthick

    (School of Science and Technology, Middlesex University, The Burroughs, London NW4 4BT, UK)

  • Glenford Mapp

    (School of Science and Technology, Middlesex University, The Burroughs, London NW4 4BT, UK)

  • Jon Crowcroft

    (Department of Computer Science and Technology, University of Cambridge, William Gates Building, Thomson Avenue, Cambridge CB3 0FD, UK)

Abstract

As smart cities evolve, the demand for real-time, secure, and adaptive network monitoring, continues to grow. Software-Defined Networking (SDN) offers a centralized approach to managing network flows; However, anomaly detection within SDN environments remains a significant challenge, particularly at the intelligent edge. This paper presents a conceptual Kafka-enabled ML framework for scalable, real-time analytics in SDN environments, supported by offline evaluation and a prototype streaming demonstration. A range of supervised ML models covering traditional methods and ensemble approaches (Random Forest, Linear Regression & XGBoost) were trained and validated using the InSDN intrusion detection dataset. These models were tested against multiple cyber threats, including botnets, dos, ddos, network reconnaissance, brute force, and web attacks, achieving up to 99% accuracy for ensemble classifiers under offline conditions. A Dockerized prototype demonstrates Kafka’s role in offline data ingestion, processing, and visualization through PostgreSQL and Grafana. While full ML pipeline integration into Kafka remains part of future work, the proposed architecture establishes a foundation for secure and intelligent Software-Defined Vehicular Networking (SDVN) infrastructure in smart cities.

Suggested Citation

  • Gayathri Karthick & Glenford Mapp & Jon Crowcroft, 2025. "Toward Secure SDN Infrastructure in Smart Cities: Kafka-Enabled Machine Learning Framework for Anomaly Detection," Future Internet, MDPI, vol. 17(9), pages 1-28, September.
  • Handle: RePEc:gam:jftint:v:17:y:2025:i:9:p:415-:d:1747129
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1999-5903/17/9/415/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1999-5903/17/9/415/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Wanwei Huang & Hongchang Liu & Yingying Li & Linlin Ma, 2025. "ERA-MADDPG: An Elastic Routing Algorithm Based on Multi-Agent Deep Deterministic Policy Gradient in SDN," Future Internet, MDPI, vol. 17(7), pages 1-20, June.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Shi Kuang & Jinyu Zheng & Shilin Liang & Yingying Li & Siyuan Liang & Wanwei Huang, 2025. "RS-MADDPG: Routing Strategy Based on Multi-Agent Deep Deterministic Policy Gradient for Differentiated QoS Services," Future Internet, MDPI, vol. 17(9), pages 1-20, August.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jftint:v:17:y:2025:i:9:p:415-:d:1747129. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.