Files
apex-twin/docs
lotherk 539b552c3d apex-twin 1.6.0: TLS, Redis, SNMP and DNS zone-transfer checks
Red, deep service checks (tools_proto.c):
- tls_audit: four openssl s_client probes (TLS 1.0/1.1/1.2/1.3) plus a
  -showcerts run, then openssl x509 for subject, issuer, validity and DNS SANs.
  Flags TLS 1.0/1.1 and RC4/3DES/NULL/EXPORT/MD5 ciphers. A failed handshake
  also prints a session block, so success is keyed on 'New, ..., Cipher is ...'
  and (NONE) counts as failure.
- redis_probe: PING on one connection; when it answers without AUTH, INFO and
  DBSIZE follow. Reports open access (audited), version, role, connected
  clients, OS and database size. No password guessing.
- snmp_probe: hand-built SNMPv1/v2c GET sysDescr.0 over UDP, two attempts per
  community (default public/private, max 4), raw answer saved as evidence. No
  net-snmp dependency.
- dns_zone_transfer: dig AXFR against one in-scope server for one in-scope
  zone; record counts per type, up to 200 raw records, full output as evidence,
  and explicit refused/unreachable reasons.

Shared gated_run(): gate, audit and run with the output returned to the caller,
so multi-command tools keep the gate invariant.

Tests: TLS server with a generated certificate, open and AUTH-required Redis
servers, a UDP SNMP agent answering only 'public', an AXFR server with
SOA/NS/A records plus a refusing variant, and the out-of-scope paths. 522
checks, ASan suite green, analyze clean (an analyzer uninitialised-field report
was removed by initialising the token array), release-check green including
distcheck 1.6.0.
2026-11-21 12:23:56 +00:00
..