/SyntraAgent

Unified monitoring and hardening Agent for your Linux servers

Primary LanguageGoOtherNOASSERTION

πŸ›‘οΈ Syntra Agent β€” Linux VPS Security Monitoring & Hardening

  • A unified monitoring and hardening security manager for Linux servers.
  • Light footprint, developer-friendly, open-source.

Goals:

  • Built-in system monitoring β€” continuous security oversight with intelligent alerting
  • 5-minute hardening for bare VPS β€” one command, safe defaults, idempotent, and reversible

πŸ” What is Syntra Agent?

Syntra Agent helps VPS and Linux server owners monitor and secure their systems out-of-the-box:

  • Unified management of baseline hardening tools (UFW, Fail2Ban, SSH configs, sysctl, etc.)
  • Centralized visibility of security events & alerts
  • Export metrics and security data in formats compatible with major DevOps tools (Prometheus, Grafana, Datadog, ELK Stack, Ansible, Terraform)

Think of it as β€œmonitoring and security made simple” for developers, hobbyists, and small businesses.

Instead of reinventing the wheel, Syntra Agent glues together proven Linux tools (UFW, Fail2Ban, unattended-upgrades, sysctl) and adds:

  • Baseline hardening profiles
  • Status checks and scoring
  • Telegram/Email alerts
  • Weekly HTML reports
  • Local-only Web UI (via SSH tunnel)

✨ Core Principles

  • Unified β†’ One place to manage multiple security layers
  • Light footprint β†’ Minimal resource usage, no bloat
  • Transparent β†’ Open-source by default, visible configs
  • Practical β†’ Focus on usability for non-experts

πŸš€ Quick Start

Installation

curl -fsSL https://get.syntra.sh/agent | sudo bash

Basic Usage

# Init, it will generate file: `/etc/syntra/syntra.yml`
syntra init

# Hardening
syntra harden

# Show current security status
syntra status

# Generate weekly report immediately
syntra report

# Start local Web UI (bound to 127.0.0.1:8080, token required)
syntra web --idle-exit 30m

Configuration

Syntra Agent config template syntra.template.yml

Config file in production --> /etc/syntra/syntra.yml

Access Web UI (via SSH tunnel)

ssh -L 8888:127.0.0.1:8080 user@your-vps
# then open in browser:
http://localhost:8888
# enter token printed by `syntra web`

πŸ–₯ CLI Commands

  • syntra install β†’ Apply baseline hardening (SSH, UFW, Fail2Ban, sysctl, updates)
  • syntra status β†’ Show summary (score, open ports, bans, updates)
  • syntra watch [--once] β†’ Run alert checks (SSH failures, ports, updates)
  • syntra report β†’ Generate & email weekly HTML report
  • syntra web β†’ Start local-only Web UI (requires token, use SSH tunnel to access)

πŸ”’ Security Considerations

  • Web UI listens only on 127.0.0.1. Access via SSH tunnel.
  • One-time token required (--ui-token to override, --token-ttl to limit lifetime).
  • Idle exit timer (--idle-exit 30m) auto-shuts Web UI after inactivity.
  • Config files under /etc/syntra/, state under /var/lib/syntra/.
  • Always test in staging before applying on production VPS.

πŸ“¦ Uninstall

sudo ./scripts/install.sh --uninstall

This removes Syntra Agent binary, systemd units, configs under /etc/syntra/, and optionally purges ufw/fail2ban/unattended-upgrades.


✨ Features

  • πŸ”’ Security Hardening

    • SSH configuration hardening (disable root login, password auth, etc.)
    • Firewall baseline via UFW (default deny, allow 22/80/443, ssh rate-limit)
    • Sysctl kernel network protection
    • Unattended security updates
  • πŸ“Š Monitoring

    • SSH authentication failure surge detection
    • New open ports since last check
    • Available kernel/OpenSSL updates
    • System status summary
  • 🚨 Alerting

    • Telegram notifications
    • Email alerts
    • Configurable thresholds (SSH failures, port changes, pending updates)
    • Weekly HTML security report (UFW, Fail2Ban, Ports, CVEs, Top IPs/UA)
  • 🌐 Web Dashboard

    • Runs only on 127.0.0.1:8080 (not exposed)
    • Access via SSH tunnel: ssh -L 8888:127.0.0.1:8080 user@server
    • Requires one-time token (printed on startup)
    • Single-file index.html UI (inline CSS/JS, no build system)

πŸ“š Support

  • πŸ› Issues: GitHub Issues

  • πŸ“§ Email: support@FinchSecurity.io

  • πŸ’¬ Discord: Join community

  • Docs: docs.syntra.security

License

Apache 2.0 License · Made with ❀️ for the VPS community


πŸ“¬ Get Involved

  • Website Β· Twitter/X
  • Star this repo ⭐ β€” show your support & follow the journey
  • Join discussions (Discord/Telegram coming soon)
  • Share feedback & feature ideas via Issues