SDN-based Federated Learning framework for IoT–satellite networks. Combines SDN traffic regulation and federated learning to classify and block malicious flows, achieving high accuracy while preserving data privacy.
pip install -r requirements.txt python train_classifier.py # creates classifier.sav
ryu-manager customCtrl.py sudo python topo.py
./traffic_generator.sh 10.0.0.1 80
chmod +x datacollect.sh ./datacollect.sh
customCtrl.py: Ryu OF1.3 controller (learning switch + flow installs)topo.py: Mininet topology (s1…s6, hosts) with remote controllertraffic_generator.sh: varied hping3 trafficdatacollect.sh→flow_computation.py→flow_monitor.py: collect → features → predict(0/1)
Apache License 2.0
Built with OpenFlow/OVS, Ryu, Mininet, scikit-learn, and FL concepts.