Red:
- smtp_open_relay: EHLO, MAIL FROM an .invalid sender, RCPT TO an external
recipient; 250/251/252 means open relay. DATA is never sent, so no mail
leaves the server; 530 is reported as an auth requirement.
- dns_open_resolver: one gated recursive dig against an in-scope server; an
answer means the resolver is open (amplification risk).
Blue:
- apparmor_audit: profile list (root prefix), enforce/complain counts and
complain profile names; flags an AppArmor with no active profile.
- selinux_audit: enforce file, SELINUX=/SELINUXTYPE= and boolean count; flags
disabled, permissive and a host without SELinux.
Tests: SMTP relay/refusing fixtures, DNS recursive/refusing agents, AppArmor
profile and SELinux trees. 717 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.22.0.
Fixture note: the smtp_open_relay table entry was first appended after the
wrong table entry and the function was unused; it now sits at the end of
TOOLS_PROTO.