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

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

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

    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/cab425435ace689ceda32b4e
    Modified Files:
    src/ssh/TODO.md ssh-conn.c src/ssh/test/test_conn.c
    Log Message:
    Close items 92, 94: fix channel_read peek, add chan_type checks

    Item 92: dssh_channel_read(sess, ch, NULL, 0) now reaches
    msgqueue_pop() for peek (returns next message size without
    consuming). Guard maybe_replenish_window on buf != NULL.

    Item 94: all 11 channel I/O functions (7 session, 4 raw) now
    check chan_type and return DSSH_ERROR_INVALID on mismatch.

    New item 98: re-evaluate peek semantics for session channels.

    5 new tests, 6 existing tests updated to set chan_type.

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

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