Skip to content

About

An SDN project using Mininet and POX to allow only authorized hosts through whitelist-based network access control.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

SDN-Based Access Control System

Overview

This project demonstrates a simple Software Defined Networking (SDN) based access control system using Mininet and POX. The controller checks whether a host is authorized before allowing communication in the network.

A whitelist policy is used:

  • Authorized hosts are allowed to communicate.
  • Unauthorized hosts are blocked.

Tools Used

  • Linux Mint / Ubuntu-based Linux
  • Mininet
  • Open vSwitch
  • POX Controller
  • Python

Topology

The network contains:

  • 1 Switch: s1
  • 3 Hosts:
    • h1 -> 10.0.0.1
    • h2 -> 10.0.0.2
    • h3 -> 10.0.0.3

Whitelist Policy

Current authorized hosts:

10.0.0.1
10.0.0.2

This means:

  • h1 and h2 are allowed.
  • h3 is blocked.

How to Run the Project

1. Start the POX Controller

Open Terminal 1:

cd ~/pox
python3 pox.py openflow.of_01 misc.access_control

2. Start Mininet

Open Terminal 2:

sudo mn -c
cd ~/sdn-access-control
sudo mn --custom topology.py --topo mytopo --controller=remote,ip=127.0.0.1,port=6633

3. Test Communication

Inside the Mininet CLI:

Authorized Host Test

h1 ping -c 2 h2

Expected result: Successful communication.

Unauthorized Host Test

h3 ping -c 2 h2

Expected result: Request blocked / packet loss.

How It Works

  1. Mininet creates the virtual network topology.
  2. The switch connects to the POX controller.
  3. The controller inspects incoming traffic.
  4. Source IP addresses are checked against the whitelist.
  5. Allowed hosts can communicate, unauthorized hosts are denied.

Applications

  • Campus networks
  • Enterprise access control

Future Improvements

  • Dynamic whitelist updates
  • GUI for policy management

Output Screenshots

project1 project2

Conclusion

This project shows how SDN can be used to centrally manage network access policies in a simple and flexible way.

About

An SDN project using Mininet and POX to allow only authorized hosts through whitelist-based network access control.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages