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

A personal BBS  ·  Missoula, Montana  ·  formerly NaClCON BBS

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

  • src/syncterm/CHANGES conn.c ssh.c

    From Deucе@VERT to Git commit to main/sbbs/master on Wed May 20 16:41:25 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/05048761b284b8a78a93decd
    Modified Files:
    src/syncterm/CHANGES conn.c ssh.c
    Log Message:
    syncterm: pin SO_SNDBUF/SO_RCVBUF to 1 MiB on all TCP connections

    ssh.c set SO_SNDBUF=1 MiB after connect but left SO_RCVBUF at the
    kernel default, and the other TCP transports (telnet, telnets, rlogin,
    raw) inherited Windows' ~8 KiB defaults for both directions. A telnet
    download on Windows therefore capped at roughly RCVBUF/RTT — about
    400 KiB/s on a 20 ms link — regardless of how fast the server streamed.

    Lift the buffer setup into conn_socket_connect() so every TCP transport
    gets a 1 MiB baseline in both directions. ssh_set_sftp_buffer_mode()
    still dynamically drops SO_SNDBUF to 64 KiB during SFTP activity so
    keystrokes don't queue behind bulk data; the connect-time 1 MiB is the
    value it restores to.

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