Skip to content

Security Hardening & Supply-Chain Governance (ACL, Zero-OpenSSL Core, Air-Gap Verification & SBOM)

This guide equips production SREs, AppSec / CISO reviewers, and enterprise procurement teams with actionable security controls for Engula 2.3.0: network and least-privilege ACL hardening (including external aclfile management), binary attack-surface separation (engula-server vs. engula-server-tls), 4-step sandbox verification of Zero Phone-Home air-gap behavior, SHA-256 and Zero-Copyleft SBOM ledgers, and transparent compliance, Source Escrow, and 60-day continuity guarantees.


1. Network Isolation, Least-Privilege ACLs & External aclfile

1.1 Network Binding & Default Safeguards

1bind 10.0.0.10 127.0.0.1
2protected-mode yes
3port 6379
4enable-debug-command no
  • Explicitly bind private VPC/intranet interfaces (never expose 0.0.0.0 to public networks) and restrict security groups / host firewalls to authorized application subnets, control planes, and Cluster bus ports (data port + 10000).

1.2 Role-Scoped ACLs & External aclfile Support

Engula 2.3.0 implements the full Redis 7.2 / Valkey ACL engine, including external aclfile rule management (ACL LOAD hot reload and ACL SAVE persistence for centralized secret rotation):

1# Manage ACL users via an external file (mutually exclusive with inline user rules in engula.conf)
2aclfile /etc/engula/users.acl

When creating a read-only monitoring account for Prometheus / engula-redis-exporter, explicitly grant +ENGULA alongside +INFO so all six ENGULA INFO sections can be scraped:

1# 1. Disable unauthenticated default access
2ACL SETUSER default off
3
4# 2. Read-only monitoring account with explicit +ENGULA permission
5ACL SETUSER monitor on >strong-monitor-password ~* +PING +INFO +ENGULA +CLIENT|LIST +SLOWLOG|GET +LATENCY -@dangerous
6
7# 3. Scoped application account restricted to key prefix and data-plane commands
8ACL SETUSER app-orders on >strong-app-password ~orders:* +@read +@write -@admin -@dangerous
9
10# 4. Inspect and persist rules to aclfile
11ACL GETUSER monitor
12ACL SAVE

2. Minimal Binary Attack Surface: Zero-OpenSSL Default vs. Dedicated -tls Binary

In private VPCs, service-mesh mTLS environments (Istio / Linkerd), or leased-line datacenters, linking libssl.so into every cache binary triggers noisy container-scanner CVE alerts (Wiz / Trivy / Grype) on unused code paths and causes cross-distro library conflicts. Engula 2.3.0 ships two physically separated binaries on both x86_64 and ARM64:

Binary OpenSSL Shared-Library Coupling Target Deployment
engula-server (Default) Zero OpenSSL dependency (links only libc, libm, libpthread, libdl) Private VPCs, air-gapped networks, sidecar mTLS; a single EL7-baseline build runs unmodified across RHEL/CentOS 7–9, Rocky, openEuler, Kylin V10, Debian 12, and Ubuntu 20.04–24.04
engula-server-tls (In-Process TLS) Dynamically links the host's patched system OpenSSL libraries Regulated deployments requiring direct in-process TLS 1.2 / 1.3 termination and mutual client certificate authentication (mTLS)

In-process TLS configuration (engula.conf launched via engula-server-tls):

1tls-port 6379
2port 0
3tls-cert-file /etc/engula/tls/engula.crt
4tls-key-file /etc/engula/tls/engula.key
5tls-ca-cert-file /etc/engula/tls/ca.crt
6tls-protocols "TLSv1.2 TLSv1.3"
7tls-auth-clients yes
8tls-replication yes
9tls-cluster yes

Enforce Encryption at Rest at the storage layer using encrypted block volumes (Linux LUKS, KMS-backed cloud disks) and server-side encryption (SSE) on backup object buckets.


3. Zero Phone-Home Air-Gap Guarantee & 4-Step Sandbox Self-Verification

Engula 2.3.0 operates with strict air-gap autonomy: zero undocumented listening ports, zero outbound internet connections, zero external DNS lookups, zero telemetry or crash-report uploads, and zero license-server polling (fully air-gapped vaults run unrestricted shard counts without external network reachability).

Customer security teams can verify every binary claim independently inside an isolated sandbox in four commands:

1# Step 1: Inspect ELF dynamic headers — confirm zero libssl / libcrypto / libcurl dependencies on engula-server
2readelf -d ./engula-server | grep NEEDED
3ldd ./engula-server
4
5# Step 2: Capture traffic across startup, load testing, and BGSAVE — confirm zero DNS (port 53) and zero external SYN packets
6sudo tcpdump -nn -i any 'port 53 or (tcp[tcpflags] & tcp-syn != 0 and not dst net 10.0.0.0/8)'
7
8# Step 3: Inspect kernel socket tables — confirm only configured listening ports and peer cluster nodes exist
9ss -tunap | grep engula-server
10
11# Step 4: Run CodeProof offline to produce self-contained, zero-CDN report.html audit evidence
12./proof test compat
13./proof test ha

4. SHA-256 Artifact Digests & Zero-Copyleft SBOM Ledger

4.1 Cryptographic Checksum & Immutable Digest Pinning

Verify official SHA-256 manifests before ingesting tarballs or images into internal registries (Harbor / Artifactory / private ECR), and pin Kubernetes manifests by immutable @sha256 digest:

1sha256sum -c engula-2.3.0-linux-amd64-el7.tar.gz.sha256
2sha256sum -c engula-2.3.0-linux-arm64-el7.tar.gz.sha256

4.2 Embedded Third-Party Component & License Ledger (Zero AGPLv3 / GPL / SSPLv1)

Built atop the Linux Foundation's BSD-3 Valkey 8.1.8 mainline, Engula 2.3.0 contains zero AGPLv3, GPL, or SSPLv1 copyleft or source-available restricted code:

Embedded Component Role Inside Server License
Valkey 8.1.8 Mainline Core Event loop, RESP2/3, ACL, replication, Cluster bus, community sorted-set B+ tree (valkey-io/valkey PR 4359) BSD-3-Clause
jemalloc Multi-arena memory allocator (including dedicated block page-decay arenas) BSD-2-Clause
LZ4 & Zstandard (zstd) In-memory block compression and shared-dictionary codecs BSD-2-Clause / BSD-3-Clause
Lua 5.1 Runtime Sandboxed server-side EVAL / EVALSHA script interpreter MIT
hdr_histogram & fpconv Latency percentile histograms and fast floating-point formatting BSD / CC0 / Boost-1.0
OpenSSL (only in -tls build) Transport encryption in engula-server-tls (absent from default engula-server) Apache-2.0 / Host system library

AppSec pipelines can generate container-level CycloneDX or SPDX SBOMs directly via syft or trivy image --format cyclonedx and cross-check against the ledger above.


5. Compliance Scope Transparency, Source Escrow & Continuity Guarantees

  1. Self-Hosted Delivery Model & Candid Compliance Scope: Engula delivers self-hosted database binaries running 100% inside the customer's own VPC or on-premises datacenter. Engula operates no multi-tenant SaaS data plane, uses zero data sub-processors, and never accesses, stores, or processes customer keys, PII, or transaction payloads. Accordingly, Engula does not claim SaaS/organizational badges it has not been audited for (SOC 2 Type II, ISO/IEC 27001, PCI-DSS, HIPAA, or FedRAMP); regulated buyers inherit their own datacenter/cloud infrastructure certifications and combine them with the sandbox-verifiable binary controls in Section 3.
  2. Parallel Maintenance Lines & Installable-Release CVE Tracking: Engula maintains 2.3.x, 2.2.x, and 2.1.x release lines in parallel, tracking security advisories transparently from upstream disclosure date through exploitability assessment, online ACL/config workarounds, and installable release delivery per enterprise Order Form SLAs.
  3. White-Box Source Subscription, Third-Party Source Escrow & 60-Day Grace Period:
    • Regulated institutions requiring white-box source review or exit-resilience guarantees (e.g., EU DORA Article 28, MAS TRM, banking TPRM) can add an Enterprise Source Subscription or third-party Source Escrow addendum on their Order Form.
    • Upon subscription expiration, the standard EULA provides a 60-day operational grace period that never kills data-plane reads/writes or failover, paired with zero-lock-in CONFIG SET engula-rdb 0 standard RDB export and 5-minute live failback to vanilla Redis 7.2 / Valkey (see Zero Lock-In & 5-Min Live Failback).