"develop a secure network using SDN" this is my objective therefore i am useing mininet/onos & python,
i have created the topology using below python script, but i don't know the python codes for secure network to mitigate DDoS Attack, IP Spoofing, ARP attack, etc..
if anyone here can help me out with some python script for network security to develop secure network in mininet emulator it will be a great help.
from mininet.topo import Topo
class MyTopo( Topo ): "Simple topology example."
def __init__( self ):
"Create custom topo."
Topo.__init__( self )
h1 = self.addHost ( 'h1')
h2 = self.addHost ( 'h2')
s1 = self.addSwitch( 's1' )
s2 = self.addSwitch( 's2' )
s3 = self.addSwitch( 's3' )
self.addLink( h1, s1 )
self.addLink( h2, s3 )
self.addLink( s1, s2 )
self.addLink( s2, s3 )
topos = { 'simple': ( lambda: MyTopo() ) }