• src/ssh/audit-design.md ssh-conn.c src/ssh/test/test_conn.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Mon Mar 30 10:39:13 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/e721b0a9796a5da67c412825
    Modified Files:
    src/ssh/audit-design.md ssh-conn.c src/ssh/test/test_conn.c
    Log Message:
    Fix audit item 13: server accept supports ZC mode

    dssh_chan_accept() now checks result.zc_cb after the setup loop:
    non-NULL selects DSSH_IO_ZC with the app's callback (no ring
    buffers); NULL keeps DSSH_IO_STREAM with the internal adapter.

    Added test_accept_zc: client opens stream subsystem, server accepts
    with ZC callback, bidirectional data roundtrip verified.

    Corrected all 24 stale line-number references in audit-design.md
    (off-by-ones, wrong ranges, and two major misrefs: mode dedup
    pointed at set_command, event_cb propagation cited the wrong site).

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Mon Mar 30 10:39:13 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/bd5952a04058c7ccdc85ffc7
    Modified Files:
    src/ssh/audit-design.md ssh-conn.c src/ssh/test/test_conn.c
    Log Message:
    Fix audit item 14: accept loops on terminal request reject

    dssh_chan_accept() now loops internally when a terminal request
    callback rejects Ä closes the rejected channel (with proper CLOSE
    handshake), then waits for the next CHANNEL_OPEN. Matches the
    design spec (lines 945-946) and eliminates the last deviation.

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net