An attempt to detect and prevent DDoS attacks using reinforcement learning. The simulation was done using Mininet.