SysWarden is an ultra-lightweight Host-based Security Orchestrator for Linux. Acting as a powerful alternative to eBPF/XDP, it drops malicious packets directly at the hardware level (Layer 2) to prevent CPU overhead
By fusing Data-Shield IPv4 blocklists, CINS Army, Blocklist.de, GeoIP, ASN tracking, a dynamic L7 WAF (Fail2ban), and a strict Zero-Trust Catch-All policy, it neutralizes 97% of internet noise with a near-zero memory footprint.
Built for critical infrastructures, SysWarden enforces automated server hardening to accelerate your ISO 27001 and NIS2 compliance.
Core Network Defense (Hardware & Layer 2/3)
- Layer 2 Acceleration (eBPF/XDP Alternative): Injects threat intelligence directly into a dedicated
nftablesnetdevtable. Malicious packets are dropped at the NIC ingress hook, entirely bypassing kernel routing andconntrackfor zero CPU overhead during volumetric DDoS attacks. - Pre-Routing Shield (Legacy OS): For older environments, utilizes the
iptablesraw PREROUTINGchain to shatter massive automated scans before memory-heavy state tracking is allocated. - Global Threat Intelligence: Automatically blocks hostile countries (GeoIP), Cybercrime Hosters, and rogue Autonomous System Numbers (ASN) to drop 97% of internet background noise instantly.
Application Security & Active Response (Layer 7)
- Dynamic L7 WAF: Protects 51+ vital services (Docker, Nginx, Databases, CMS) using heavily optimized Fail2ban jails with a near-zero memory footprint.
- Automated Retaliation: Natively integrates with the global AbuseIPDB network to proactively report attackers and share telemetry.
Zero-Trust & Compliance Architecture
- Service Cloaking: Hides your SSH port and administrative panels behind a seamlessly deployed, invisible WireGuard VPN tunnel.
- Smart SIEM Log Forwarding: Natively integrates with
rsyslog(Universal/Alpine) andsyslogd(Slackware) to forward only high-value, behavioral Layer 7 bans to your SOC/SIEM (Wazuh). Intentionally filters out L3 noise to prevent index saturation, accelerating ISO 27001 and NIS2 compliance. - High Availability (HA) Cluster Sync: Securely replicates threat intelligence states, whitelists, and configurations to standby nodes via an automated, SSH-encrypted cron job.
Observability & Lifecycle Management
- Real-Time Telemetry: Monitor live threats, blocked IPs, and system health through a secure, self-hosted Web Dashboard and a dedicated CLI interface.
- "Scorched Earth" Rollback: The uninstallation routine performs a deep, surgical cleanup. It ensures the absolute eradication of custom
netdevandrawtables, instantly restoring the OS networking stack to its pristine original state without requiring a reboot.
SysWarden does not simply append rules to standard firewall chains; it fundamentally alters the Linux networking stack to neutralize threats before they consume system resources:
- Layer 2 Ingress Drop (Priority -500): Utilizing the
nftablesnetdevfamily (oriptables raw PREROUTING), global OSINT blocklists, hostile ASNs, and GeoIP blocks are enforced directly at the Network Interface Card (NIC) hook. Malicious packets are destroyed before reaching the kernel routing orconntrackmodules, preventing state-table exhaustion and CPU overhead. - Stateful Fast-Path (Priority 0): Legitimate established connections and dynamic container traffic (e.g., Docker's
DOCKER-USERchain) are prioritized. This stateful bypass guarantees zero latency for your production application traffic. - Behavioral L7 Defense (Dynamic WAF): The active defense layer analyzes application logs (Nginx, SSH, Databases) in real-time. Behavioral anomalies—such as brute-force attempts, SQLi, or LFI—trigger instant, surgical IP bans that dynamically synchronize with the underlying Layer 3/2 drop tables.
- Zero-Trust "Catch-All": The attack surface is entirely sealed. Any incoming traffic not explicitly whitelisted by the administrator or the automated service discovery engine is silently dropped and logged, enforcing a mathematically strict Zero-Trust policy.
SysWarden is built to run flawlessly across modern Linux infrastructures:
- Universal (systemd): Debian 13+, Ubuntu 24.04+, AlmaLinux, Rocky Linux, CentOS Stream, Fedora.
- Alpine Linux (OpenRC): Highly optimized for lightweight containers and edge nodes.
- Slackware (BSD-init): Full native support with pure UNIX flat-file tailing.
SysWarden provides dual-layer observability, ensuring you maintain complete situational awareness over your server's security posture without the overhead of heavy databases (like ELK or InfluxDB).
Secure Web Interface
- Live Threat Telemetry: Track dynamic Layer 7 (Fail2ban) behavioral bans in real-time.
- Attacker Profiling: Visualize top OSINT offenders, blocked ASNs, and GeoIP interception statistics.
- Resource Monitoring: Review active jail allocations and the near-zero memory footprint of the underlying Nftables/IPtables engines.
- (Self-hosted and securely accessible via
https://<YOUR_SERVER_IP>:9999post-installation).
Interactive CLI & Orchestration
- Terminal Dashboard: Manage your infrastructure directly from the shell using the
syswarden-manager(instant visibility into blocked IPs, whitelists, and rule idempotency). - Rich Installation Alerts: The core orchestration scripts (
install-syswarden.sh alerts) provide structured, color-coded logging for instant feedback on OS hardening, SIEM (Wazuh) integration, and Zero-Trust policy enforcement.
Deploying enterprise-grade security takes less than 10 minutes.
1. Clone the repository:
git clone https://github.com/duggytuxy/syswarden.git
cd syswarden
chmod +x *.sh2. Execute the installer matching your OS:
For Debian, Ubuntu, RHEL, AlmaLinux & Rocky Linux:
./install-syswarden.shAlpine Linux:
./install-syswarden-alpine.shFor Slackware (beta 4):
./install-syswarden-slackware.shUninstall Syswarden properly while keeping your original settings.
./install-syswarden*.sh uninstallTo learn everything about the SysWarden ecosystem, explore detailed configurations, and read advanced usage guides, please visit our dedicated documentation page
€3,000/year to fuel continuous DevSecOps improvements and integrations
Developing SysWarden and curating the zero-false-positive Data-Shield IPv4 Blocklists requires dedicated server infrastructure and non-stop threat monitoring.
Reaching this annual goal guarantees my 100% independence, funding a continuous development cycle without corporate constraints. Your support directly pays for the servers and keeps these enterprise-grade cybersecurity tools free, updated, and accessible to everyone.
Let's build a safer internet together!
SysWarden is free and open-source software licensed under the GNU General Public License v3.0 (GPLv3).
You are free to use, modify, and distribute this software in compliance with the license terms. See the LICENSE file for more details.
Powered by DuggyTuxy (Laurent M.) - Securing the Open Source community.