__                 _ _                _
  / _| ___   ___   __| | |__   __ _ _ __| | __
 | |_ / _ \ / _ \ / _` | '_ \ / _` | '__| |/ /
 |  _| (_) | (_) | (_| | |_) | (_| | |  |   <
 |_|  \___/ \___/ \__,_|_.__/ \__,_|_|  |_|\_\

A personal BBS  ·  Missoula, Montana  ·  formerly NaClCON BBS

Connect from your terminal: telnet naclconbbs.net 23  |  ssh naclconbbs.net -p 2222

  • 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