SmartNetShield is a Python-based firewall system designed for secure web environments and internal network protection. It features traffic monitoring, port blocking, packet inspection, and suspicious activity logging through multiple layers of control mechanisms.
- 🔐 IP Filtering: Whitelisting and blacklisting support
- 📦 Port Blocking: Blocks commonly targeted ports (e.g., 80, 443)
- 🎯 Honeypot Port Watch: Detects unauthorized access attempts
- 🛡️ Suspicious Activity Detection: Flags abnormal connection patterns
- 🔍 Payload Inspection: Scans for known malicious input signatures
- 🧰 Web Application Request Filtering: Checks for common attack patterns
- 🌍 Geolocation Lookup: Tracks incoming IP locations
- 🔐 Encrypted Logging: Secure incident reporting
- 📡 Flask API Interface: Lightweight monitoring and query interface
git clone https://github.com/burakcanbalta/smartnetshield.git
cd smartnetshield
pip install -r requirements.txtRun the firewall script:
sudo python firewall.pyAccess logs through the API:
http://localhost:5000/logs
smartnetshield/
├── firewall.py # Core firewall logic
├── requirements.txt # Python dependencies
├── README.md # Documentation
└── firewall_log.log # Auto-generated logs
MIT License © 2025 Burak BALTA