_  _    __    ___  __    ___  _____  _  _
 ( \( )  /__\  / __)(  )  / __)(  _  )( \( )
  )  (  /(__)\( (__  )(__( (__  )(_)(  )  (
 (_)\_)(__)(__)\___)(____)\___)(_____)(_)\_)

The History of Hacking  ·  May 31 – June 2, 2026  ·  Carolina Beach, NC

  • src/ssh/TODO.md ssh-conn.c src/ssh/test/dssh_test_internal.h test_conn

    From Deucе@VERT to Git commit to main/sbbs/master on Sat Mar 28 12:55:04 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/4d27ca8b6489c631c6fc2070
    Modified Files:
    src/ssh/TODO.md ssh-conn.c src/ssh/test/dssh_test_internal.h test_conn.c
    Log Message:
    Close items 26, 30: decompose demux_dispatch/accept_channel, eliminate SER macros

    demux_dispatch() (~240 lines) split into 4 helpers:
    handle_channel_data, handle_channel_extended_data,
    handle_channel_request, and dssh_test_parse_channel_request
    (DSSH_TESTABLE shared parser). Switch body reduced to ~15 lines.

    dssh_session_accept_channel() (~230 lines) split into
    accept_channel_init and accept_setup_loop, both using
    the shared CHANNEL_REQUEST parser. Main function reduced
    to ~50 lines.

    PTY_SER/SIG_SER local macros replaced with direct DSSH_PUT_U32
    calls (11 sites). 6 new parser unit tests.

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net