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/yourname/smartnetshield.git
cd smartnetshield
pip install -r requirements.txt
Run the firewall script:
sudo python firewall.py
Access 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