Skip to content

Guardian (Gateway)

Guardian - Travel Companion

1.5GB RAM · $75 · Take Control of Your Security, Anywhere You Go

Guardian transforms a Raspberry Pi into your personal security gateway. Connect to any network - hotel WiFi, coffee shops, airports - with complete visibility into what’s being blocked and why.

No black boxes. No hidden decisions. No data leaving your device.

What Guardian Enables

CapabilityDescription
Secure WiFi HotspotCreate protected network bubble
L2-L7 DetectionMonitor threats at every layer
dnsXai ProtectionAI-powered DNS filtering with explanations
Mesh NetworkingJoin collective defense
Full DashboardSee everything happening

Best For

  • Travelers and remote workers
  • Home network protection
  • Personal privacy gateway
  • Learning cybersecurity
  • Small team deployments

Hardware Requirements

ResourceMinimumRecommended
PlatformRaspberry Pi 4 (2GB)Raspberry Pi 5 (4GB)
RAM1.5GB2-4GB
Storage16GB microSD32GB+ A2-rated
Network1x WiFi + USB WiFi2x WiFi interfaces

Approximate cost: ~$75-100

Installation

Terminal window
# Clone and install
git clone https://github.com/hookprobe/hookprobe.git
cd hookprobe
sudo ./install.sh --tier guardian

The installer handles everything:

  • System packages (hostapd, dnsmasq, napse)
  • Python dependencies
  • WiFi configuration
  • Service setup

After installation:

  1. Connect to HookProbe-Guardian WiFi
  2. Open http://192.168.4.1:8080

The Guardian Promise

Traditional Security: Guardian (Transparent):
"Something was blocked" → "ads.tracker.com blocked:
ML confidence 94%,
Category: ADVERTISING,
Reason: High entropy (4.2),
CNAME resolves to demdex.net"

Every decision is explainable. Every action is auditable.

Architecture

┌─────────────────────────────────────────────────────────────────┐
│ YOUR SECURE BUBBLE │
├─────────────────────────────────────────────────────────────────┤
│ │
│ Untrusted WiFi ──► Guardian ──► Your Devices │
│ (Hotel/Airport) │ (Laptop, Phone, Tablet) │
│ │ │
│ ┌────┴────┐ │
│ │ You see │ │
│ │ everything │ │
│ └─────────┘ │
│ │
│ What Guardian shows you: │
│ - Every blocked threat and why │
│ - Every DNS query classification │
│ - Every suspicious activity │
│ - Real-time security score │
│ │
└─────────────────────────────────────────────────────────────────┘

Web Dashboard

Access at http://192.168.4.1:8080

Dashboard Tab

  • QSecBit Score with full breakdown
  • Network status - connected devices
  • Threat summary - recent detections

Security Tab

  • L2-L7 threat breakdown - every layer visible
  • Mobile network trust - understand your risk
  • IDS alerts - NAPSE explanations
  • XDP stats - kernel-level metrics

DNS Protection Tab

  • Every blocked domain with reason
  • ML classification scores
  • CNAME chain visibility
  • Whitelist controls

Devices Tab

  • Connected devices
  • MAC addresses
  • Connection history
  • Export capability

Security Stack

ComponentPurposeTransparency
dnsXaiDNS protectionEvery block explained
NAPSEIDS/NSM/IPSAlert details visible
XDP/eBPFDDoS protectionStats and rules shown
Layer DetectorL2-L7 analysisReasoning exposed
Mesh AgentCollective intelContribution visible

L2-L7 Detection

Guardian monitors every network layer:

LayerDetectsExample Alert
L2ARP Spoofing, Evil Twin”MAC changed for gateway”
L3IP Spoofing, ICMP Flood”Unusual ICMP traffic”
L4Port Scans, SYN Flood”50 connections to ports”
L5SSL Stripping”TLS downgrade attempt”
L7SQL Injection, XSS”Suspicious query blocked”

dnsXai - Explainable DNS

Every DNS decision is transparent:

{
"domain": "suspicious-tracker.com",
"decision": "BLOCKED",
"confidence": 0.92,
"category": "TRACKING",
"features": {
"shannon_entropy": 4.2,
"ad_pattern_score": 0.15,
"cname_uncloaked": "adobe.demdex.net"
},
"explanation": "High entropy domain resolving to known tracker"
}

Mesh Participation

Guardian connects to the global mesh:

What Guardian shares:

  • Anonymized threat signatures
  • ML weight updates
  • Attack patterns (source removed)

What Guardian NEVER shares:

  • Your IP address
  • Your DNS queries
  • Your browsing history

You benefit from global intelligence while keeping privacy.

QSecBit Scoring

Real-time security score:

Qsecbit = 0.30×threats + 0.20×mobile + 0.25×ids + 0.15×xdp + 0.02×network + 0.08×dnsxai
Current Score: 0.32 (GREEN)
├── Threats: 0.10 (low activity)
├── Mobile: 0.15 (trusted network)
├── IDS: 0.08 (no alerts)
├── XDP: 0.12 (normal traffic)
├── Network: 0.05 (stable)
└── dnsXai: 0.18 (ads blocked)

Management

Terminal window
# Check status
hookprobe-ctl status
# View logs
hookprobe-ctl logs -f
# Check health
hookprobe-ctl health
# View metrics
hookprobe-ctl metrics

Troubleshooting

Can’t connect to hotspot?

Terminal window
systemctl status hostapd
journalctl -u hostapd -n 50

Understand a block?

Dashboard → DNS Protection → Click domain for details

Whitelist a domain?

Dashboard → DNS Protection → Whitelist

Guardian vs Fortress

FeatureGuardianFortress
Use CaseTravel, personalBusiness, permanent
NetworkSingleMulti-VLAN
ComplexitySimpleAdvanced
Setup Time5 minutes30+ minutes
TransparencyFullFull

Upgrade Path

Ready for VLAN segmentation?

Terminal window
sudo ./install.sh --tier fortress --migrate

Fortress adds:

  • VLAN segmentation
  • OpenFlow SDN
  • NAPSE IDS/NSM/IPS engine
  • AEGIS AI orchestrator
  • Local ML inference

Next Steps

AI Intelligence (HIP)

Guardian integrates the HookProbe Intelligence Platform (HIP):

  • Hardware Detection: Auto-detects NPU accelerators (RPi AI HAT, Coral TPU) via core/brain/hw_detect.py
  • Inference Bridge: Unified classification API with tier-aware backend selection
  • Local LLM: Optional SmolLM-135M (80MB) for edge alert triage
  • HYDRA Lite: Lightweight threat feed sync + event consumer (100-200MB overhead)
Terminal window
hookprobe-ctl hw-info # Check detected hardware
hookprobe-ctl brain-info # Check inference bridge status

See Brain & NPU Detection for details.