MininetGym: A modular SDN-based simulation environment for reinforcement learning in cybersecurity

Cybersecurity demands increasingly adaptive techniques to detect and mitigate sophisticated threats. This paper presents MininetGym , a Software Defined Network (SDN)-based simulation framework with a modular architecture based on Mininet, offering high configurability for experiments aimed at evaluating Reinforcement Learning (RL) strategies in network traffic classification and attack detection tasks. Three use cases are implemented: (i) traffic classification, (ii) detection of Denial of Service attacks in real-time, and (iii) the extension of the simulator with custom environments. The framework supports tabular and deep RL agents and includes modular components for network emulation, traffic generation, and agent interaction. The framework generates evaluation metrics and visualizations, enabling users to analyze agent performance and understand their behavior in dynamic network conditions. • A modular simulator for Reinforcement Learning (RL) in Software Defined Network-based network scenarios. • Supports both tabular (Q-learning, SARSA) and deep RL (DQN, PPO, A2C) agents. • Real-time traffic generation and flow monitoring via Mininet and OpenDaylight. • Custom Gym environments for traffic classification and Denial of Service attack detection. • Configurable setup for benchmarking RL models in cybersecurity experiments.

Authors

Institutions

Publication Details

Journal
SoftwareX
Published
2025-09-01
DOI
https://doi.org/10.1016/j.softx.2025.102312
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MininetGym: A modular SDN-based simulation environment for reinforcement learning in cybersecurity

Stefano Mariani, Salvo Finistrella
SoftwareX
Network Security and Intrusion Detection
article

MininetGym: A modular SDN-based simulation environment for reinforcement learning in cybersecurity

Stefano Mariani, Salvo Finistrella
article en

Abstract

Cybersecurity demands increasingly adaptive techniques to detect and mitigate sophisticated threats. This paper presents MininetGym , a Software Defined Network (SDN)-based simulation framework with a modular architecture based on Mininet, offering high configurability for experiments aimed at evaluating Reinforcement Learning (RL) strategies in network traffic classification and attack detection tasks. Three use cases are implemented: (i) traffic classification, (ii) detection of Denial of Service attacks in real-time, and (iii) the extension of the simulator with custom environments. The framework supports tabular and deep RL agents and includes modular components for network emulation, traffic generation, and agent interaction. The framework generates evaluation metrics and visualizations, enabling users to analyze agent performance and understand their behavior in dynamic network conditions. • A modular simulator for Reinforcement Learning (RL) in Software Defined Network-based network scenarios. • Supports both tabular (Q-learning, SARSA) and deep RL (DQN, PPO, A2C) agents. • Real-time traffic generation and flow monitoring via Mininet and OpenDaylight. • Custom Gym environments for traffic classification and Denial of Service attack detection. • Configurable setup for benchmarking RL models in cybersecurity experiments.

SoftwareXVol. 31
University of Modena and Reggio Emilia (IT)
Openalex Percentile: Top 73%
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

MininetGym: A modular SDN-based simulation environment for reinforcement learning in cybersecurity — Stefano Mariani, Salvo Finistrella · SoftwareX (2025) | TGRS Research Map | TGRS