How ganesh030106/nxt_firewall works
Sentinel-X is a network-defense and endpoint-protection command center. Its principal workflow is packet capture, firewall analysis and policy enforcement, followed by persistent event logging and live dashboard updates; administrators can review telemetry and submit feedback or change rules. Separate protections cover phishing, DNS, host files, USB, integrity, and proactive scanning, with forensic capture and reports as supporting capabilities. The README documents the decoupled Next.js/Flask interface. Some capabilities are represented from README descriptions and indexed module names; their internal wiring is not inferred where source excerpts do not show it.
Main entry points: app.py Flask API · firewall.py Firewall Engine · page.tsx Next.js Dashboard · PhishingScan.tsx Phishing Scan UI
Components 28
Traffic Defense
- Firewall Engine
backend/src/firewall.py - Traffic Forecasting
backend/src/dl_traffic.py - DNS Security
backend/src/dns_security.py - Payload Inspection
backend/src/dpi.py - Geo Filtering
backend/src/geo.py - Zero-Trust Scoring
backend/src/zero_trust.py - Threat Feeds
backend/src/threat_intel.py - Phishing Analysis
backend/src/phising.py - Sequence Classifier
backend/src/cnn_gru_inference.py
Host Protection
- Ransomware Guardian
backend/src/ransomware.py - Malware Scanner
backend/src/malware_scanner.py - USB Sentinel
backend/src/usb_defense.py - Integrity Watchdog
backend/src/integrity.py - Vulnerability Scanner
backend/src/scanner.py - Decoy Honeypot
backend/src/honeypot.py
Response and Records
- Flask API
backend/app.py - Event Database
backend/src/database.py - Feedback Learning
backend/src/feedback.py - Packet Forensics
backend/src/forensics.py - PDF Reports
backend/src/reports.py - Live Event Transport
backend/src/socket_handler.py - Voice Alerts
backend/src/voice.py
Command Center
- Next.js Dashboard
frontend/src/app/page.tsx - Log Console
frontend/src/components/LogTable.tsx - Phishing Scan UI
frontend/src/components/PhishingScan.tsx - Threat Topology
frontend/src/app/page.tsx
Other components
- Administrator
- Network Packets
Connections 30
- Network Packets → Firewall Engine: captures
- Firewall Engine → Traffic Forecasting: checks anomalies
backend/src/firewall.py - Firewall Engine → Payload Inspection: inspects payloads
backend/src/firewall.py - Firewall Engine → Geo Filtering: checks geography
backend/src/firewall.py - Firewall Engine → DNS Security: checks DNS
backend/src/firewall.py - Firewall Engine → Zero-Trust Scoring: scores context
backend/src/firewall.py - Firewall Engine → Threat Feeds: checks feeds
backend/src/firewall.py - Firewall Engine → Event Database: logs events
backend/src/firewall.py - Firewall Engine → Live Event Transport: emits updates
backend/src/firewall.py - Firewall Engine → Voice Alerts: requests alerts
backend/src/firewall.py - Flask API → Firewall Engine: starts sniffer
backend/app.py - Flask API → Ransomware Guardian: starts monitor
backend/app.py - Flask API → Decoy Honeypot: starts decoy
backend/app.py - Flask API → Phishing Analysis: checks URLs
backend/app.py - Flask API → Sequence Classifier: runs prediction
backend/app.py - Flask API → Feedback Learning: records feedback
backend/app.py - Flask API → Integrity Watchdog: initializes watchdog
backend/app.py - Flask API → Vulnerability Scanner: integrates scanning
backend/app.py - Flask API → USB Sentinel: integrates sentinel
backend/app.py - Flask API → Event Database: queries dashboard data
backend/app.py - Flask API → PDF Reports: generates report
backend/app.py - Flask API → Packet Forensics: integrates capture
- Administrator → Next.js Dashboard: reviews telemetry
- Next.js Dashboard → Flask API: requests data
- Next.js Dashboard → Live Event Transport: receives live alerts
- Next.js Dashboard → Log Console: renders logs
frontend/src/app/page.tsx - Next.js Dashboard → Threat Topology: renders topology
frontend/src/app/page.tsx - Next.js Dashboard → Phishing Scan UI: offers URL scan
frontend/src/app/page.tsx - Phishing Scan UI → Flask API: submits URL
- Administrator → Flask API: changes rules
backend/app.py