Files
apex-twin/tests
lotherk d966fa9600 apex-twin 1.18.0: RPC and NTP probes, sshd_config and PAM audits
Red:
- rpc_probe: one ONC RPC CALL to the portmapper (program 100000, version 2,
  procedure DUMP) with a hand-built XDR message; decodes program/version/
  protocol/port mappings and names common services. No export is mounted.
- ntp_probe: one NTPv4 client packet (mode 3); parses version, mode, leap,
  stratum, reference id (trailing NUL trimmed), root delay/dispersion in ms and
  the transmit time. No monlist.

Blue:
- ssh_config_audit: scores sshd_config for root login, password auth, empty
  passwords, X11, GatewayPorts, PermitTunnel, MaxAuthTries and legacy
  Ciphers/MACs/KexAlgorithms; optional root prefix.
- pam_audit: scans /etc/pam.d for pam_permit, pam_unix nullok, pam_exec and
  reports when neither pam_faillock nor pam_tally2 provides lockout.

Tests: UDP portmapper agent, UDP NTP agent, sshd_config tree and pam.d tree.
674 checks, ASan suite green, analyze clean, release-check green including
distcheck 1.18.0.
2026-11-21 15:57:13 +00:00
..