Urgent.News

What's breaking now, across thousands of outlets.

Tech

Hardening Container Images

Hardening container images is crucial for maintaining security. In this case, a new server was set up using Flatcar Container Linux, with the decision to harden any container from the start. PowerDNS Recursor, the official image of which had unnecessary exposure, was chosen as the first container to harden. The image was built by statically compiling pdns-recursor down to two executables using Musl, and excluding SNMP support and the url option for the zoneToCache config item.

A custom launcher was added, implementing Landlock feature to sandbox filesystem and network access. System calls were also restricted to only those needed by the application, using a seccomp.json file with an allowlist. The image is built daily from the latest two stable trains of PowerDNS, and updated with new dependencies automatically if CVEs are discovered.

An SBOM is generated at build time, helping scanners find vulnerabilities. This approach ensures that the container is secure, with minimal unnecessary features and a reduced attack surface.

Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at grepular.com →

More in Tech

Networking Foundations for Modern Edge & IoT Systems

Even though networking fundamentals are often taught at the early stages of a tech career, their relevance becomes far more important when you begin working with distributed IoT and edge-driven…

  • Subnetting essential for IoT and edge architectures to ensure security and predictability
  • Routing crucial for large, distributed, resource-constrained IoT systems
  • NAT enables safe communication for IoT devices without direct public internet exposure

Faker Doesn't Know Your Entities Are Related, So I Built Something That Does

Faker Doesn't Know Your Entities Are Related, So I Built Something That Does You've added a second entity to the schema, wired up a @ManyToOne , and gone back to your seed script to generate fifty…

  • Faker libraries struggle with complex entity relationships.
  • SynthForge uses JPA-managed attributes to seed databases.
  • It automatically prevents unique constraint violations.

More from Monday 7 September →