Files
apex-twin/src
lotherk dbf1b65129 apex-twin 1.96.0: PAM restriction and firewalld audits, Cassandra probe
Four new tools (414 total), 9 new end-to-end checks (1521 total):

- pam_restrict_audit (blue): /etc/security/group.conf and time.conf under
  the root prefix - a rule with an empty service field that can never fire,
  a time list that is not day+HHMM-HHMM, a group.conf rule for a group
  /etc/group does not list, a "*" group field, and a time rule with "*" in
  every field. Field counts are checked because both files drop a malformed
  line with only a syslog warning.
- pwhistory_audit (blue): pwhistory.conf and sepermit.conf - remember
  missing/0/below 5, enforce_for_root off, use_authtok missing, and a
  sepermit separator naming no group.
- firewalld_audit (blue): firewalld.conf plus zones/*.xml - PanicMode on,
  CleanupOnExit=no, trusted or blocking default zone, an ACCEPT target or a
  rich accept rule, and a zone bound to no source and no interface.
- cassandra_probe (red): CQL native protocol on 9042. OPTIONS/SUPPORTED
  identifies the port without auth, STARTUP answered READY means the cluster
  takes queries from anyone, ERROR 0x2200 "Required auth" means an
  authenticator is set. No query is sent.

Test evidence:
- tests/run.py: 1521 passed, 0 failed.
- Red proof: neutralising the dead-rule branch in pam_restrict_audit with
  `if (0 && ...)` gave 1520 passed, 1 failed (spamassassin_audit dead rule);
  restored, back to 1521/1521.
- make release-check exit 0: version-check (5 places, 1.96.0), gate-audit
  (414 tools, 6 record-filter exceptions), test, test-asan, analyze, fuzz,
  fuzz-proxy, fuzz-http, distcheck (apex-twin-1.96.0.tar.gz builds and
  passes from the tarball).
- make coverage: 33194/39039 lines = 85.0%.

Docs: README status line and tool tables, man page .TH, SECURITY supported
line, CHANGELOG entry, APEX_VERSION.
2026-11-23 18:26:42 +00:00
..
2026-11-21 09:36:32 +00:00