Giter VIP home page Giter VIP logo

flow-defender's Introduction

Comprehensive-Mitigation-of-DDoS-Attacks-in-SDN

A project dedicated to provide a comprehensive mitigation of DDoS Attact in software defined network

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Things you need to install the software and how to install them

  • JDK
  • Floodlight
  • mininet
  • sFlow-RT
  • nodejs

Installing

A step by step series of examples that tell you have to get a development env running

  • JDK
  • Floodlight
$ git clone git://github.com/floodlight/floodlight.git
$ cd floodlight
$ git submodule init
$ git submodule update
$ ant
$ sudo mkdir /var/lib/floodlight
$ sudo chmod 777 /var/lib/floodlight
  • mininet
sudo apt-get install mininet
  • sFlow-RT
wget http://www.inmon.com/products/sFlow-RT/sflow-rt.tar.gz
tar -xvzf sflow-rt.tar.gz
  • nodejs
sudo apt-get install nodejs

Running the tests

Start floodlight in terminal :

In floodlight dir

java -jar target/floodlight.jar

Start mininet

In another terminal

./run_mininet.sh

Configure sFlow monitoring on each of the switches

sudo ovs-vsctl -- --id=@sflow create sflow agent=eth0  target=\"127.0.0.1:6343\" sampling=10 polling=20 -- -- set bridge s1 sflow=@sflow

Start sFlow-RT

In sflow-rt dir

./start.sh

Monitoring

floodlight webGUI:

http://127.0.0.1:8080/ui/pages/index.html

sFlow dashboard:

http://localhost:8008/html/index.html

License

This project is licensed under the MIT License - see the LICENSE.md file for details

flow-defender's People

Contributors

snoopy831002 avatar

Watchers

James Cloos avatar  avatar

Forkers

cloudxtreme

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.