Files
apex-twin/docs
lotherk e5f634bfe1 apex-twin 1.43.0: pg_hba, polkit and LDAP client audits, FCrDNS check
Blue:
- pg_hba_audit: every /etc/postgresql/<version>/main pg_hba.conf plus the
  flat paths: a trust method, a rule matching 0.0.0.0/0 or ::/0 and a
  world-writable file.
- polkit_audit: rules.d/*.rules and localauthority/50-local.d/*.pkla:
  polkit.Result.YES, ResultAny=yes/ResultInactive=yes and world-writable
  files.
- ldap_client_audit: ldap.conf from Debian and OpenLDAP: a plaintext ldap://
  URI, TLS_REQCERT never/allow and a world-writable file.

Red:
- dns_fcrdns_check: PTR via dig -x, then A/AAAA of the PTR name; a missing
  PTR or a forward answer that never returns the address fails FCrDNS.
  Addresses are compared binary, so compressed IPv6 forms match.

Tests with pg_hba/polkit/ldap.conf trees and a DNS agent answering matching,
mismatching and absent PTR records. 970 checks, ASan suite green, analyze
clean, release-check green including distcheck 1.43.0.
2026-11-22 09:07:32 +00:00
..