Skip to content

To monitor live network connections in an easy and understandable format, To classify network traffic based on simple rule-based logic, To present real-time updates using a modern terminal UI, To help users visually detect suspicious or unknown connections.

Notifications You must be signed in to change notification settings

vidhya-shalini/py-network-firewall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Python-Network-Firewall

The Python Network Firewall is a lightweight, real-time network monitoring tool designed to help users analyze active internet connections on their system. It works by capturing live TCP and UDP connections using Windows’ built-in netstat command and intelligently classifying them as SAFE, SUSPICIOUS, or UNSAFE based on their behavior. The project focuses on clear visualization, easy understanding, and real-time analysis. Using the Rich library, it presents a clean and colorful terminal dashboard that updates every second, showing details like time, protocol, source address, destination address, and threat status. Unlike traditional firewalls, this tool does not modify system security settings or block traffic. Instead, it is designed as an analysis and monitoring tool that helps users understand what is happening on their network in real time — ideal for students, beginners, and cybersecurity learners.

Key Objectives

To monitor live network connections in an easy and understandable format, To classify network traffic based on simple rule-based logic, To present real-time updates using a modern terminal UI, To help users visually detect suspicious or unknown connections.

Why This Project is Useful

Helps users understand incoming and outgoing network traffic, Shows how firewalls classify traffic based on ports and addresses, Demonstrates practical use of Python in cybersecurity, Useful for college projects, learning OS networking, and real-time monitoring.

Core Features

Real-time monitoring of TCP/UDP connections, Works without administrator permissions, Automatically detects and highlights suspicious connections, Clean, professional dashboard with Rich library, Easy to run, simple to understand.

About

To monitor live network connections in an easy and understandable format, To classify network traffic based on simple rule-based logic, To present real-time updates using a modern terminal UI, To help users visually detect suspicious or unknown connections.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages