// Blog
Articles
Updates, new packages, and technical notes from deb.myguard.nl
ast-grep security rules: a curated pack and its honest limits
A curated pack of ast-grep security rules for 18 languages. Why most rules ship as warnings, what a match does not prove, and the fixtures that keep each rule honest.
AI coding without amnesia: inside the MyGuard workflow
How our AI coding workflow connects shared memory, SQLite, Claude and Codex skills, grind, CodeRabbit, PR-Agent and tested ast-grep rules. Rechecked November 2026.
nginx module template: move an existing module onto nginx-skeleton-module
This nginx module template comes with an adoption procedure. We walk it phase by phase: the refactor that must come first, runner labels that do not travel, and gates that pass while testing nothing.
nginx module testing: catch fd and pool leaks with nginx-module-testkit
nginx module testing that stops at the response misses leaked file descriptors and cycle-pool growth. nginx-module-testkit compares worker state before and after each request and fails the run on a difference.
nginx request filter: nginx-http-shield-module from detect to block
nginx-http-shield-module is an nginx request filter for known exploit shapes. Install the package, start in detect mode, read the hit log and learn which bytes the filter never inspects before you block.
Debian Forky (Debian 14): what it is and what to expect
Debian Forky is Debian 14 and today’s testing branch, with no freeze or release date yet. What it inherits from Trixie, what it removes and how to try it safely.
nginx minification with nginx-strip-filter-module: setup and limits
nginx-strip-filter-module adds nginx minification for generated CSS, JSON, HTML, SVG and XML. Install the package, switch it on for one location and learn what the default mode removes and when the filter does nothing.
nginx ACME module: set up nginx-autocert-module without certbot
nginx-autocert-module is an nginx ACME module: nginx gets, serves and renews its own TLS certificates. Install it from our repository, create the certificate store, test against staging and choose a challenge type.
Olefy and rspamd: scan Office macro malware in your mail
Office macro scanning in rspamd runs through olefy, a daemon that hands Office files to olevba. Here is how the protocol works, where stock olefy stalls under load, and how the olefied wrapper runs a pool of unmodified olefy workers with scan deadlines, upload caps and an optional result cache.
Mailstrix: YARA malware scanning for your whole mail path
YARA malware scanning for mail only works when the rules can see the payload. Mailstrix unpacks macros, XLM sheets, RTF objects, PDFs and archives, runs signed YARA rules, fails open on scan errors, and plugs into Rspamd, SpamAssassin, Postfix, Sendmail, Dovecot, ICAP or clamd.
Rspamd DCC, Razor and Pyzor in one Go backend
Rspamd DCC, Razor and Pyzor checks from one Go backend called gozer: one asynchronous request per message, three networks queried in parallel in-process, no fork and no mail on disk. Tested install for the backend, the rspamd plugin and Dovecot feedback.
Coraza WAF on NGINX: the Go-powered ModSecurity replacement
Coraza is the memory-safe Go engine that runs the OWASP CRS unchanged. How the nginx module loads it after fork, a working setup that shares one CRS install with ModSecurity, and a step-by-step migration.
TLS fingerprinting on nginx: JA3, JA4 and when not to block
TLS fingerprinting reads the ClientHello to recognise the software behind a connection, even when the User-Agent lies. This guide explains JA3 and JA4, shows how to log them on nginx and Angie with the module from our packages, and why you should not block on a fingerprint alone.
nginx page cache with cache-turbo: setup, cache keys and outages
cache-turbo is an nginx page cache in shared memory. Install it from our repository, choose the cache key, plan for backend failures, purge by tag and find out why a page is never a hit.
Nginx error abuse module: ban clients that cause too many errors
The nginx error abuse module counts the error responses each client causes and answers 429 once a client crosses the threshold, decided inside nginx. Tested config for our packages, a CIDR allowlist with geo, bans that survive a restart, one ban list for a fleet through Redis, and a safe way to size the threshold.
KAM.cf Rspamd rules beyond the built-in SpamAssassin module
KAM.cf Rspamd rules can run through Rspamd’s own SpamAssassin module, which maps some symbol names itself. Where KAM rules still go quiet there, what the converter adds, how to install it with checksum checks and how its twice-daily build keeps it current.
Block AI scanner bots with nginx and Angie: six tested layers
Just over half of web traffic is automated, and many of those bots are scanners vibe-coded from one chatbot prompt. Six tested nginx and Angie layers block AI scanner bots: rate limits and a WAF, TLS and headers, request validation, locked admin paths, PHP hardening and logs that feed bans back to the top.
WordPress hardening plugin for ModSecurity CRS: install and tune
The WordPress hardening plugin is a CRS 4 plugin with over 40 WordPress rules that run in ModSecurity on NGINX, Angie and Apache, before PHP runs. This guide covers what it blocks, how to enable it on our packaged CRS, which features are opt-in, and where it stops.
Dovecot post-quantum TLS with hybrid ML-KEM, hardening and Sieve
Dovecot post-quantum TLS needs OpenSSL with ML-KEM, which few Debian and Ubuntu releases ship. Which ones do, the Dovecot TLS settings that load, how to check the negotiated group from a client, the container image and server-side Sieve filtering.
HTTP/2 Bomb (CVE-2026-49975): fixed versions and mitigations
The HTTP/2 Bomb exhausts server memory with cheap HPACK headers and stalled responses. Fixed versions for Apache httpd, Envoy and NGINX, and how to check yours.
Hardened Roundcube Docker image: unprivileged webmail behind Angie
How our hardened Roundcube Docker image is built: every process under the same unprivileged user, every Linux capability dropped, a read-only root filesystem, Snuffleupagus and PHP-FPM limits, and an Angie front with a scanner gate, login rate limits and security headers. Plus how to run it.
ViMbAdmin: a Postfix and Dovecot mailbox admin panel
ViMbAdmin is a web panel for the Postfix and Dovecot virtual mailbox tables. This guide runs the myguard-labs fork on PHP 8.2 to 8.5 in Docker or from source, and covers TOTP, the brute-force limiter behind a proxy, Dovecot-native archives and quotas, the MCP API and schema upgrades.
Speed up Debian package builds with eatmydata, mold, ccache, distcc and tmpfs
Five tools that speed up Debian package builds, and most C or C++ builds, without changing the compiler: what each one fixes, how to enable it and what it can break.
deb.myguard.nl repository layout: choosing an APT tree
Choose a full release or package tree on deb.myguard.nl, understand the nested APT paths and check which builds your enabled sources make available.
njs QuickJS engine on nginx: enable it and use modern JavaScript
Our nginx and Angie packages include the njs QuickJS engine, but installing them does not switch it on. Add js_engine qjs, check which engine runs, and copy BigInt, Proxy, regex and JWT examples.
Postfix 3.11: post-quantum TLS, TLSRPT and milters
What changes in Postfix 3.11, why its post-quantum default is safer than listing X25519MLKEM768 first, and how our Debian and Ubuntu package and Docker image are built.
Google Indexing API for WordPress: eligibility and setup
Google’s Indexing API is restricted to eligible job and livestream pages. Learn the setup, credential and quota rules, plus the supported discovery route for ordinary WordPress posts.
Self-hosting aptly: signed APT repositories with nginx
Build a signed APT repository with aptly, publish snapshots through nginx and configure Debian or Ubuntu clients with a repository-specific signing key.
nginx QUIC tuning: UDP buffers, reuseport and HTTP/3 gotchas
Tune HTTP/3 on nginx: UDP buffers that the kernel caps at rmem_max, reuseport and rcvbuf once per address, quic_bpf, quic_retry and GSO, and the gotchas that keep browsers on HTTP/2.
Hardened OpenSSH for Debian and Ubuntu: the defaults we ship
Our hardened OpenSSH package for Debian trixie and forky and Ubuntu resolute ships its defaults inside the main sshd_config: post-quantum key exchange, AEAD-only ciphers, forwarding off and tighter login limits. Password logins stay on, so this post also shows how to move to keys, turn passwords off and override one setting without editing the packaged file.
Docker hardening for self-hosters: rootless, read-only, cap-drop, distroless
Ten layers of Docker hardening for a self-hosted server: a rootless daemon, a read-only root filesystem, a capability set that still lets nginx and PHP-FPM start, no-new-privileges, base images, secrets, networks, scanning and logs. With the settings our own Angie and PHP-FPM compose files ship and the reason for each.
Rspamd explained: how a modern spam filter scores your mail
How rspamd turns Bayes, DNS blocklists, SPF, DKIM, DMARC and greylisting into one score, the default thresholds, how to install it from our packages, and the public resolver trap that silently switches blocklists off.
Valkey explained: the Redis fork and what our Debian package adds
Valkey is the BSD-licensed fork of Redis 7.2.4, run under the Linux Foundation. What it is, why it exists and what our deb.myguard.nl package really adds over the Debian and Ubuntu builds, with a tested install, the conf.d precedence rules and which Redis data files load.
Self-hosted Vaultwarden: Docker setup, clients and backups
Run Vaultwarden in Docker behind a TLS proxy. Set up Bitwarden clients, protect the admin panel and back up the database, attachments and configuration.
What is the BREACH attack? How it works and how to stop it
The BREACH attack recovers a secret from a compressed HTTPS page by watching response lengths. This post lists what the attack needs, shows why an nginx location with gzip off often does nothing, and gives the fixes in order of effect.
What is zstd? History, browser support and nginx or Angie setup
Zstd (Zstandard) is a fast, lossless compression format that current Chrome, Edge, Firefox and iOS Safari ask for. Where it came from, which browsers and servers support it, and a working nginx and Angie setup.
Database Boost: WordPress database cleanup, indexes and repair
What the Database Boost project does for WordPress databases, the risks of each job, and how to test a change before it reaches live data. The project was not publicly available when checked on 22 November 2026.
How to install ModSecurity and OWASP CRS on NGINX (Debian and Ubuntu)
Install ModSecurity and the OWASP Core Rule Set on NGINX with three packages, run in detection mode first, and put your exclusions where upgrades and plugin rules cannot undo them.
zstd vs Brotli vs zlib-ng: choosing compression for nginx
Brotli and zstd are encodings the browser asks for; zlib-ng is a faster engine under gzip. What each one changes, a working nginx setup, and which file nginx sends when a browser accepts both.
Angie 1.11.5 security release: the five CVEs explained
Angie 1.11.5 fixed five CVEs in May 2026. Which directive exposes you to each one, the rewrite fix that followed in 1.11.6, and how to upgrade from deb.myguard.nl.
WordPress NGINX configuration: PHP-FPM, FastCGI cache and Redis
A WordPress NGINX configuration for one site on a server you control: the server block, a PHP-FPM pool sized to your RAM, a FastCGI page cache for anonymous readers, a Redis object cache, Brotli and gzip, and a short hardening list, with the NGINX modules from the myguard APT repository.
nginx load balancing: upstream config, health checks and failover
Set up nginx load balancing with upstream groups: five methods, weights, health checks, keepalive, failover and sticky sessions. Also: why backup and ip_hash do not mix, and what nginx 1.29.7 changed.
nginx reverse proxy configuration: a practical setup guide
Put nginx or Angie in front of your app: TLS, forwarded headers, keepalive, timeouts, WebSockets, caching and security headers. Also which X-Forwarded-For value is safe, and what nginx 1.29.7 changed.
NGINX rate limiting: bursts, 429 responses and WordPress
Configure NGINX request limits for WordPress and APIs, choose how bursts are handled, and log genuine limiter rejections. Covers trusted client addresses and the limits of per-IP protection.
nginx Brotli compression: install, configure and pre-compress static assets
Install and configure nginx Brotli compression on nginx or Angie, check that responses come back as br, and pre-compress static files that brotli_static then serves as is.
PHP Snuffleupagus tutorial: harden PHP-FPM on Debian and Ubuntu
A PHP Snuffleupagus tutorial for Debian and Ubuntu: install the package, write a small rules file from the documented syntax, point a PHP-FPM pool at it, run it in simulation mode, read the log, then enforce. With the parser and size-limit traps the docs do not mention.
Postfix Dovecot Debian mail server setup with Rspamd and DKIM
A Postfix Dovecot Debian mail server, step by step: receive on port 25, send with a login on 587 or 465, read over IMAPS, filter spam and sign with DKIM in Rspamd. With a Dovecot config current Debian loads, and fixes for two quiet mistakes that leave mail unsigned or refused.
nginx ModSecurity setup on Debian and Ubuntu with OWASP CRS
How to set up nginx ModSecurity from the myguard Debian and Ubuntu packages: which file nginx points at, how the OWASP CRS gets loaded exactly once, and how to move from log-only mode to blocking. Also covers paranoia levels, the WordPress exclusion plugin, reading the audit log and fixing a false positive.
NGINX vs Apache in 2026: worker models, PHP-FPM and fair benchmarks
Neither server wins every workload. How NGINX and Apache’s event MPM hold connections, work with PHP-FPM and read configuration, and what a fair benchmark must report.
How to enable HTTP/3 and QUIC on nginx for Debian and Ubuntu
Turn on HTTP/3 for nginx or Angie on Debian and Ubuntu in four changes, prove it works with curl –http3-only, and avoid the reuseport, Alt-Svc and 0-RTT traps.