{"id":26031198,"url":"https://github.com/argirisaitos/sdn-arp-firewall","last_synced_at":"2025-10-05T19:55:08.590Z","repository":{"id":275627671,"uuid":"926666946","full_name":"ArgirisAitos/SDN-ARP-Firewall","owner":"ArgirisAitos","description":"An SDN-based ARP Firewall using Ryu and Mininet to prevent ARP spoofing attacks. Implements OpenFlow rules to block malicious ARP packets","archived":false,"fork":false,"pushed_at":"2025-02-04T16:44:13.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T19:55:07.745Z","etag":null,"topics":["mininet-topology","python3","ryu-controller","sdn-network"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ArgirisAitos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-03T16:54:50.000Z","updated_at":"2025-02-04T16:44:17.000Z","dependencies_parsed_at":"2025-02-03T18:34:09.731Z","dependency_job_id":null,"html_url":"https://github.com/ArgirisAitos/SDN-ARP-Firewall","commit_stats":null,"previous_names":["argirisaitos/sdn-arp-firewall"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ArgirisAitos/SDN-ARP-Firewall","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArgirisAitos%2FSDN-ARP-Firewall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArgirisAitos%2FSDN-ARP-Firewall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArgirisAitos%2FSDN-ARP-Firewall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArgirisAitos%2FSDN-ARP-Firewall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArgirisAitos","download_url":"https://codeload.github.com/ArgirisAitos/SDN-ARP-Firewall/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArgirisAitos%2FSDN-ARP-Firewall/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278510916,"owners_count":25998997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mininet-topology","python3","ryu-controller","sdn-network"],"created_at":"2025-03-06T19:33:01.011Z","updated_at":"2025-10-05T19:55:08.546Z","avatar_url":"https://github.com/ArgirisAitos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SDN-ARP-Firewall\n\n\n# Description \nThis project implements a Software-Defined Networking (SDN) solution to detect and prevent ARP Spoofing attacks. Using the Ryu controller and Mininet, it monitors ARP traffic and maintains a predefined ARP table to validate MAC-IP mappings. If an inconsistency is detected, the controller logs a warning and blocks the malicious packets.\n\n\n# Features:\n\n- ARP request/reply monitoring in an SDN enviroment.\n- Static ARP table to prevent spoofing attacks.\n- Dynamic detection of unauthorized MAC-IP changes.\n- OpenFlow-based packet forwarding.\n\n\n # Requirements \n\n - Mininet\n - Ryu controller\n\n\n\n# Network Topology\n The network consists of:\n\n - 4 hosts (h1,h2,h3,h4)\n - 1 OpenFlow switch (s1)\n - Ryu controller managing the firewall rules.\n\n![miniedit](https://github.com/user-attachments/assets/45d6f274-2c6c-4b2c-92a1-abeed99c72dc)\n\n\n# Setup Instructions \n\n1. **Clone this repository**\n```bash \n\ngit clone https://github.com/ArgirisAitos/SDN-ARP-Firewall\n\n```\n\n2. **Install Dependecies**\n\n ```bash\n\n  pip install ryu \n\n  ```\n  ```bash\n\n  sudo pip3 install mininet \n  \n  ```\n\n  3. **Start Mininet with the Custom Topology**\n\n  ```bash\n\n  sudo python topology.py \n  \n  ```\n4. **Run the Ryu Controller**\n\n  ```bash \n\n  ryu-manager FirewallARP.py\n\n  ```\n\n  5. **Test ARP Spoofing Prevention**\n      \n      **ARP Spoofing Attempt**\n\n   Try to send a fake ARP reply from h1 pretending to have the IP of h3 using the following command:\n      \n```bash\nmininet\u003e h1 arpspoof -i h1-eth0 -t 10.0.0.2 10.0.0.3\n```\nThe controller **logs a warning and blocks the attack**.\n\n\n![Στιγμιότυπο οθόνης 2025-02-04 181045](https://github.com/user-attachments/assets/6cb024ba-4ba7-4368-9139-00c405eb57e5)\n\n\n\n\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fargirisaitos%2Fsdn-arp-firewall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fargirisaitos%2Fsdn-arp-firewall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fargirisaitos%2Fsdn-arp-firewall/lists"}