Repository navigation
Releases
v1.6.1
Highlights
- Expanded common WAF rules for credential and configuration probes observed in access logs, including Git credentials, Rclone configuration, service-account keys and Compose files.
- Added protection for additional diagnostic and webshell paths, including
/php_info.phpand/webshell.php. - New matches target root-level disclosure paths and specific root configuration directories, keeping repository source pages and downloads usable.
Operator-facing changes
- Native and Docker deployments ship the same updated common rules. Existing rule IDs and per-domain exclusions remain unchanged.
- The added matches use
action: block: requests are denied immediately, with automatic IP blocking whenwaf.ip_behaviour.enabledis enabled. - Review the release's
deploy/rules-common.yamlagainst your installed rules. The installer preserves locally modified files, so upgrading the binaries may leave your existing rules unchanged. - No Guardian configuration migration is required. Installation, container and signature-verification examples now target 1.6.1.
Testing
- Added regression coverage for the observed probes, filename boundaries, backup variants and legitimate GitLab source routes.
- The full race-enabled Go test suite, installer checks, native and WASM builds, documentation build and allocation regression checks passed locally.
Install
Install or upgrade on a supported Debian or Ubuntu systemd host:
curl -fsSL https://raw.githubusercontent.com/AngieGuardian/angie-guardian/main/scripts/install.sh | sudo bashThe installer preserves local configuration and does not edit virtual hosts or reload Angie. Follow Getting Started to finish the integration.
Verify
guardiand -version
guardianctl --version
guardian-train -version
sudo angie -tAll three binaries should report 1.6.1. See the release verification guide for archive checksums, GPG signatures and container signature verification.
Changes since 1.6.0: Compare 1.6.0…1.6.1
v1.6.0
Highlights
- Updated Go to 1.27.3 across CI, release builds and Docker images, incorporating Go standard-library security fixes.
- Refreshed Go dependencies, including cryptography, networking, Redis, Prometheus and GeoIP libraries.
- Updated the dashboard's bundled Chart.js from 4.5.1 to 4.6.1 and refreshed documentation build dependencies.
Operator-facing changes
- Source builds now require Go 1.27.3 or newer. Prebuilt binaries and container images use the updated toolchain.
- No Guardian configuration migration is required.
- Installation, container and signature-verification examples now target 1.6.0.
Testing
- Fixed a crawler overload test that could count asynchronous setup writes as store access during overload handling. The store and DNS isolation assertions remain intact.
- Go unit tests, repeated race-detector checks for the affected test, the documentation build and the vulnerability scan pass. The scan reports zero reachable vulnerabilities.
Install
Install or upgrade on a supported Debian or Ubuntu systemd host:
curl -fsSL https://raw.githubusercontent.com/AngieGuardian/angie-guardian/main/scripts/install.sh | sudo bashThe installer preserves local configuration and does not edit virtual hosts or reload Angie. Follow Getting Started to finish the integration.
Verify
guardiand -version
guardianctl --version
guardian-train -version
sudo angie -tAll three binaries should report 1.6.0. See the release verification guide for archive checksums, GPG signatures and container signature verification.
Changes since 1.5.6: Compare 1.5.6…1.6.0
v1.5.6
Highlights
- Shorter Getting Started guide, focused on installing Guardian and protecting an existing Angie site.
- Separate Manual Installation guide for pinned releases, download verification and source builds.
- Clearer annotated configuration examples and improved
guardianctl --helpformatting.
Operator-facing changes
- Clarified when a location with its own
error_pageneeds the Guardian protection include repeated. - Corrected example comments for attack-mode defaults, block mirrors, suspicion mode, geographic policies and API credential exemptions. Added an optional Ed25519 JWT verification example.
- Guardian's runtime behavior and active example defaults are unchanged. No configuration migration is required.
Install
Install or upgrade on a supported Debian or Ubuntu systemd host:
curl -fsSL https://raw.githubusercontent.com/AngieGuardian/angie-guardian/main/scripts/install.sh | sudo bashThe installer preserves local configuration and does not edit virtual hosts or reload Angie. Follow Getting Started to finish the integration.
Verify
guardiand -version
guardianctl --version
guardian-train -version
sudo angie -tAll three binaries should report 1.5.6. See the release verification guide for archive checksums, GPG signatures and container signature verification.
Changes since 1.5.5: Compare 1.5.5…1.5.6
v1.5.5
Highlights
- The host installer now installs
guardian-trainalongsideguardiandfrom the same release. - The installer now copies
angie-json-log.confinto/etc/angie, making the JSON log format available without a manual file copy. - Updated installation, logging, and anomaly-training documentation.
Operator-facing changes
- Getting Started now includes the JSON format declaration inside Angie's
http {}block. Enable JSON logging by selectingguardian_jsonin each protected server'saccess_logdirective. - Existing Angie snippets remain preserved on upgrades; differing files are reported for manual review.
- Scheduled anomaly training still requires separate installation and configuration of its helper, environment file, and systemd timer.
- Fixed a timing-dependent overload test failure caused by background counter cleanup during test setup.
- Made the fail-open E2E test independent of connections expiring during sidecar shutdown, while preserving connection-reuse and access-log isolation checks.
Install
Install or upgrade on a supported Debian or Ubuntu systemd host:
curl -fsSL https://raw.githubusercontent.com/AngieGuardian/angie-guardian/main/scripts/install.sh | sudo bashThe installer does not edit virtual hosts or reload Angie. Follow the Getting Started guide to configure the includes and logging.
Verify
guardiand -version
guardian-train -version
sudo angie -tBoth binaries should report 1.5.5. See the release verification guide for archive checksum and signature verification.
Changes since 1.5.4: Compare 1.5.4…1.5.5
v1.5.4
Highlights
- Reduced authorization allocation pressure by reusing request-local working objects and clearing their fields before reuse. The allow-handler allocation benchmark drops from 7 to 4 allocations per operation; core allow, deny, cached-token and challenge-decision evaluation each use one fewer allocation. Native-host HTTP comparisons showed broadly unchanged throughput, including the Pebble allow and challenge paths.
- Extended the existing
guardian_jsonaccess-log format with the final Guardian reason, separate PoW exemption classification and authorization-hop statuses. Logs can distinguish Guardian denials, challenge refusals, local admission shedding, sidecar saturation and application errors. - Preserve the original client method in JSON access logs when an internal error redirect changes the processing method to GET.
Operator-facing changes
- Merge the updated
deploy/angie-guardian.conf,deploy/angie-guardian-location.confanddeploy/angie-json-log.conftogether into your Angie integration, validate withangie -t, then reload Angie. The installer preserves locally modified files, so customized deployments require an explicit merge to receive the new logging fields. - The new string fields are
guardian_reason,guardian_pow_exemption,guardian_auth_statusandguardian_auth_upstream_status. They describe the trusted authorization decision and hop; the existingstatusstill describes the final client response. Existing JSON field names and types remain compatible with the anomaly trainer. - Added guidance for retaining the existing combined-log filename and Fail2Ban parser while excluding Guardian
deny,refuseandsheddecisions from that input. Keep the existing JSON access/audit destination unconditional so it also records allowed and challenged traffic. See the Angie logging guide. - Fixed BuntDB remaining-expiry reconstruction so waiting for a transaction lock does not prematurely shorten a cached entry's reconstructed deadline.
- Improved
guardian-loadtestwarmup/error accounting and addedallow-angieanddeny-angiescenarios for measuring the real proxy routes. The load-testing guide explains how to compare runs and verify their attribution. - Updated optional GC tuning guidance with measured throughput and memory trade-offs. GC defaults are unchanged;
GOMEMLIMITremains a soft Go-runtime limit rather than an RSS cap. See the production guide. - No durable-store or token-format migration is required. WAF policy, admission behaviour, store defaults and fail-open behaviour are unchanged.
Install
Install or upgrade on a supported Debian or Ubuntu systemd host:
curl -fsSL https://raw.githubusercontent.com/AngieGuardian/angie-guardian/main/scripts/install.sh | sudo bashThe installer preserves locally modified configuration and integration files, validates the resulting Guardian configuration, and verifies the downloaded archive against the published SHA-256 checksum. For a pinned install or container deployment, see the production guide.
Verify
The release pipeline publishes Linux amd64 and arm64 archives, signed SHA-256 checksums and public verification keys, plus versioned container images in the GitLab registry and GHCR.
See the release verification guide for checksum, GPG and Cosign verification.
Changes since 1.5.3: https://gitlab.melroy.org/melroy/angie-guardian/-/compare/1.5.3...1.5.4
v1.5.3
Highlights
- Allowlists and verified crawlers now grant a PoW exemption while retaining WAF enforcement and bans. Matching clients can skip puzzles, but a matching deny or block still applies.
- Added a bounded local crawler identity cache shared by normal evaluation and load shedding. Normal traffic can reuse verified identities without repeated store reads; overload checks use only local cached identities.
- Added separate
pow_exemptiondetails to decision logs, the admin API and dashboard, so the exemption remains visible alongside the final security verdict.
Upgrade notice
Review your allowlists before upgrading. IP/CIDR, User-Agent and path allowlists no longer bypass the remaining security checks. Permanent denies, existing behavioural/admin bans, honeypots, WAF deny/block rules and other applicable denial policies remain enforceable. Allowlisted IPs are also no longer implicitly excluded from scoring or nftables offload; explicit infrastructure safeguards remain.
Verified crawler identity is likewise a PoW exemption rather than unconditional trust. Exempt requests skip matching WAF challenge rules and continue to later rules. Existing explicit WAF allow ordering is preserved.
No database or cache-format migration is required, and there is no legacy full-trust compatibility switch. Existing allowlist configuration remains valid with the enforcement semantics above. Store backend defaults are unchanged.
Crawler verification and load shedding
- The local identity cache is bounded to 8,192 entries per instance. Store-to-local promotion preserves remaining expiry; cache reads do not extend it. Current crawler domain policy is reapplied after configuration reload.
- Fixed an enforcement inconsistency where, under saturation, a verified crawler with a valid token and
spoof_action: continuecould be admitted by an early WAF challenge before a later matching deny/block. - This saturation bug requires load shedding to be enabled and its concurrency limit exceeded. The default
attack_mode.effects.max_inflight: 0keeps load shedding disabled. Normal evaluation also benefits from the local cache. - Overload verification performs no DNS or store calls and does not wait for cache locks. Unknown, expired, transient-error or unavailable identities are shed. Fresh confirmed identity alone does not grant overload admission; security checks and token admission still apply.
- Added
guardian_bot_cache_lookups_total{path,outcome}andguardian_bot_cache_entriesmetrics. Each instance warms its own local cache through normal traffic.
Install
Install or upgrade on a supported Debian or Ubuntu systemd host:
curl -fsSL https://raw.githubusercontent.com/AngieGuardian/angie-guardian/main/scripts/install.sh | sudo bashThe installer preserves locally modified configuration and integration files, validates the resulting Guardian configuration, and verifies the downloaded archive against the published SHA-256 checksum. For a pinned install or container deployment, see the production guide.
Verify
The release pipeline publishes Linux amd64 and arm64 archives, signed SHA-256 checksums and public verification keys, plus versioned container images in the GitLab registry and GHCR.
See the release verification guide for checksum, GPG and Cosign verification, and the crawler guide for identity caching and overload behaviour.
Changes since 1.5.2: https://gitlab.melroy.org/melroy/angie-guardian/-/compare/1.5.2...1.5.3
v1.5.2
Highlights
- Added guardianctl for operator recovery and administration: health checks, IP block management, recent decisions, statistics, configuration inspection/reloads, and diagnostics downloads, with JSON output for scripting.
- Added on-demand Runtime diagnostics to the dashboard, downloading Go 1.27 goroutine leak and ordinary goroutine profiles together, with capture progress and cooldown feedback.
- Shutdown profiling now also writes the ordinary goroutine profile alongside the leak profile, providing more context when investigating blocked workers.
Operator-facing changes
- Linux packages, the installer and container images now include
guardianctl. See the CLI reference for commands and authentication. guardianctluses the authenticated running-daemon API. Unblocking clears repeat-offender backoff by default; use--keep-backoffto retain it. Static denylist entries and WAF deny rules remain effective.- Live profiling is disabled by default. Set
admin.diagnostics_enabled: trueand restart Guardian to enable it. Use the dashboard orguardianctl diagnostics capture --out guardian-goroutines.tarto download an archive. - Capture triggers a GC cycle and can affect latency. Guardian allows one capture or download at a time, with a 60-second cooldown and a 32 MiB archive limit. A zero-leak result does not rule out every stuck goroutine. See the diagnostics guide.
- No durable-store or protocol migration is required. Existing installations retain their configuration; diagnostics remains off unless explicitly enabled.
Install
Install or upgrade on a supported Debian or Ubuntu systemd host:
curl -fsSL https://raw.githubusercontent.com/AngieGuardian/angie-guardian/main/scripts/install.sh | sudo bashThe installer preserves locally modified configuration and integration files, validates the resulting Guardian configuration, and verifies the downloaded archive against the published SHA-256 checksum. For a pinned install or a container deployment, see the production guide.
Verify
The release pipeline publishes Linux amd64 and arm64 archives, signed SHA-256 checksums and public verification keys, plus versioned container images in the GitLab registry and GHCR.
See the release verification guide for checksum, GPG and Cosign verification.
Changes since 1.5.1: https://gitlab.melroy.org/melroy/angie-guardian/-/compare/1.5.1...1.5.2
v1.5.1
Highlights
- Expanded the bundled common WAF rules to block additional secret, configuration, diagnostic, and PHP execution probes, including cloud service-account credentials, Kubernetes service-account tokens, Rails and application secrets, PHP information pages, debug endpoints, application logs, Spring Actuator disclosures, and exposed PHPUnit execution harnesses.
- Consolidated redundant disclosure matchers while retaining coverage for environment-file variants, Docker configuration, Terraform state backups, and other existing probes.
- GitHub releases now automatically receive the GitLab release notes alongside the same release assets. GitLab remains the source of truth for release descriptions.
Operator-facing changes
- Both host-install and Docker common-rule bundles include the updated protection. Targeted filename and route matching preserves ordinary routes such as
/config.js,/info, and/test.php; Linux proc-file protection now also coverscgroup. - Review and merge the updated
deploy/rules-common.yamlinto your installed rule set, then reload Guardian. The installer preserves locally modified files, so custom rule sets require an explicit merge to receive these additions. - No daemon configuration, durable-store, or protocol migration is required.
Install
On a supported Debian or Ubuntu systemd host, install or upgrade with:
curl -fsSL https://raw.githubusercontent.com/AngieGuardian/angie-guardian/main/scripts/install.sh | sudo bashThe installer preserves locally modified configuration and integration files, validates the resulting Guardian configuration, and verifies the downloaded archive against the published SHA-256 checksum. For a pinned install or a container deployment, see the production guide.
Verify
Linux amd64 and arm64 archives, signed SHA-256 checksums, and public verification keys are attached to this release. Versioned container images are published to the GitLab registry and GHCR by the release pipeline.
See the production guide for installation and upgrades, and the release verification guide for checksum, GPG, and Cosign verification.
Changes since 1.5.0: https://gitlab.melroy.org/melroy/angie-guardian/-/compare/1.5.0...1.5.1
v1.5.0
Highlights
- Hardened proof-of-work redemption against browser-induced reputation poisoning: failed no-JS GET attempts remain visible but no longer add
pow_failortamperscores, and the JSON solve endpoint rejects browser-sendable form content types before redemption or scoring. - Scoped challenge issuance limits by host and client IP, so activity on one protected host does not exhaust another host's issuance allowance.
- Added a DDoS incident runbook and staging drill covering layer ownership, attack-mode controls, origin isolation, fail-open checks, recovery, and rollback.
Operator-facing changes
- Clients that post solutions directly to
/__guardian/passmust sendContent-Type: application/json; other media types now receive HTTP415. Failed no-JS GET redemptions still appear in recent decisions and metrics, but do not contribute to behavioural IP blocks. Failed JSON POST solutions continue to score. - Feed reloads retain a newer in-memory list instead of replacing it with an older disk cache. Unsupported optional store capabilities no longer count as store-operation failures in telemetry; genuine backend errors still do.
- Prometheus alert runbook links now lead to the incident procedure, and production docs include the
GuardianRedeemInternalErrorsalert. The drill is for isolated staging only; it deliberately generates attack traffic and faults. - Updated direct Go dependencies, including Goja, the Moby client, MaxMind DB, Prometheus client model, and
golang.org/x/crypto,x/net,x/sync, andx/sys. No daemon configuration, durable-store, or protocol migration is required.
Install
On a supported Debian or Ubuntu systemd host:
curl -fsSL https://raw.githubusercontent.com/AngieGuardian/angie-guardian/main/scripts/install.sh | sudo bashThe installer preserves locally modified configuration and integration files, validates the resulting Guardian configuration, and verifies the downloaded archive against the published SHA-256 checksum. For a pinned install or a container deployment, see the production guide.
Verify
Release archives and container images are signed. See the release verification guide for checksum, GPG, and Cosign verification commands.
v1.4.4
Highlights
- Added graceful recovery when a legitimate visitor's client IP changes while a proof-of-work challenge is being solved, including IPv4/IPv6 racing, mobile-network handovers, VPN reassignment, and CGNAT rebalancing.
- Guardian now verifies and atomically consumes the valid proof without minting a pass, then automatically sends the browser through a fresh challenge bound to the newly observed exact address.
- Added dedicated visibility for recovered handovers in structured logs, Prometheus, recent decisions, the admin API, and the dashboard, without treating them as tampering or failed proofs.
Operator-facing changes
- No daemon configuration, durable-store, or protocol migration is required. Exact-IP binding remains unchanged, and a handover never grants access by itself.
- The proof-of-work interstitial now handles an HTTP
409response withreason: network_handoverand a saferetry_url. Custom clients that post directly to/__guardian/passshould follow that URL through normal authorization and must not treat the response as a successful redemption. - Recovered handovers are counted as
guardian_challenges_total{outcome="network_handover"}and appear in recent activity as actionredeem_retrywith reasonpow:network_handover. They are excluded from offender rankings and verdict charts like other proof-of-work outcome rows. - Stateful and stateless challenges remain single-spend. Stateless handover recovery requires the shared spent-marker write; a store outage cannot create a cross-replica retry shortcut.
- The work-free no-JS fallback cannot authenticate a handover and therefore keeps its existing binding-mismatch behavior. Already-issued pass tokens also retain their existing exact fingerprint binding.
Install
On a supported Debian or Ubuntu systemd host:
curl -fsSL https://raw.githubusercontent.com/AngieGuardian/angie-guardian/main/scripts/install.sh | sudo bashThe installer preserves locally modified configuration and integration files, validates the resulting Guardian configuration, and verifies the downloaded archive against the published SHA-256 checksum.
Verify
Release archives and container images are signed. See the release verification guide for the checksum, GPG, and Cosign verification commands.