Skip to content

Quick Start Guide

Get HookProbe protecting your network in under 5 minutes.

Before you begin, ensure you have:

  • Operating System: Ubuntu 22.04+, Debian 11+, or Raspberry Pi OS (Bookworm)
  • Architecture: x86_64 or ARM64 (ARMv8)
  • Minimum RAM: 1.5GB (Guardian), 4GB (Fortress), 16GB (Nexus)
  • Kernel: Linux 5.4+ recommended for full XDP features
  1. Clone the Repository

    Terminal window
    git clone https://github.com/hookprobe/hookprobe.git
    cd hookprobe
  2. Run the Bootstrap Installer

    Terminal window
    sudo ./install.sh --tier guardian

    For Raspberry Pi 4/5 with 1.5GB+ RAM. Creates a secure WiFi hotspot.

    The installer will:

    • Detect your environment (OS, architecture, kernel, NICs)
    • Install dependencies (Podman, OVS, Python packages)
    • Deploy systemd services
    • Run initial provisioning
    • Start the monitoring agent
  3. Verify Installation

    Terminal window
    # Check status
    hookprobe-ctl status
    # View logs
    hookprobe-ctl logs -f
    # Check health
    hookprobe-ctl health
  4. Access the Dashboard

    For Guardian deployments:

    For Fortress/Nexus:

    • Access the web dashboard at your configured IP

The installer performs a complete environment setup:

Step Description
Detection Identifies OS, CPU architecture, kernel version, and network interfaces
Dependencies Installs Podman, OpenVSwitch, Python packages, security tools
Directories Creates /opt/hookprobe/, /etc/hookprobe/, /var/log/hookprobe/
Services Deploys systemd units for provision, agent, and update services
Provisioning Configures network interfaces, XDP programs, firewall rules
Agent Start Launches the monitoring daemon with QSecBit scoring
Terminal window
sudo hookprobe-ctl enable-autoupdate

Updates run weekly on Sundays at 3:00 AM with automatic rollback on failure.

Terminal window
# Edit systemd environment
sudo systemctl edit hookprobe-agent.service
# Add:
[Service]
Environment="XDP_ENABLED=true"
# Restart
sudo systemctl daemon-reload
sudo systemctl restart hookprobe-agent.service
Terminal window
# Check XDP program attachment
ip link show | grep xdp
# View statistics
hookprobe-ctl metrics | grep xdp
Command Description
hookprobe-ctl status Show service status
hookprobe-ctl start Start all services
hookprobe-ctl stop Stop all services
hookprobe-ctl restart Restart all services
hookprobe-ctl logs -f Follow agent logs
hookprobe-ctl health Check health endpoints
hookprobe-ctl metrics View current metrics
Terminal window
# Local health check
curl http://localhost:8888/health
# Metrics in JSON
curl http://localhost:8888/metrics | jq .
Terminal window
# Check detailed status
systemctl status hookprobe-agent.service
# View error logs
journalctl -u hookprobe-agent.service --no-pager -n 50
# Re-run provisioning
sudo systemctl start hookprobe-provision.service
Terminal window
# Check if port 8888 is in use
sudo ss -tlnp | grep 8888
Terminal window
sudo chown -R root:root /opt/hookprobe
sudo chmod 755 /opt/hookprobe