ddos-mlp-mitigation

git clone git://git.codymlewis.com/ddos-mlp-mitigation.git
Log | Files | Refs | Submodules | README | LICENSE

commit 3d9957f9af419bf5d58ba6bbaf637685bd36b2f5
parent 3a4554a53ec0350e20beb7f2ee89843cf26077cf
Author: Cody Lewis <cody@codymlewis.com>
Date:   Tue, 14 Apr 2020 13:10:42 +1000

corrected writing context instead of DDoS

Diffstat:
MREADME.md | 2+-
Mnetwork_controller.py | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -1,6 +1,6 @@ # DDoS MLP Mitigator A combination of SDN and a multi-layer perceptron neural network that results in the -mitigation of context attacks +mitigation of DDoS attacks ## Requirements - python3 diff --git a/network_controller.py b/network_controller.py @@ -254,6 +254,7 @@ def launch(): ) core.openflow.addListenerByName("ConnectionUp", start_switch) + if __name__ == '__main__': if "--train" in sys.argv: data, lbls = (lambda x: (x[:, :6], x[:, 6]))(np.loadtxt("training_data.txt"))