• src/sbbs3/telgate.cpp

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Mon May 27 23:14:45 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/4fd92c4eda5760f91fb26599
    Modified Files:
    src/sbbs3/telgate.cpp
    Log Message:
    telnet_gateway() is now, by default, a telnet proxy

    Meaning, it'll negotiate all Telnet options with the remote server (assuming not an RLogin server), so long as the TG_PASSTHRU option is *not* set.

    This allows more Telnet servers to work as expected, especially when the
    client (BBS user) is not using a Telnet client!

    Fix issue #432

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Mon May 27 23:25:08 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/559a7ad26d44f531aae80035
    Modified Files:
    src/sbbs3/telgate.cpp
    Log Message:
    Fix GCC compile error (can't use __FUNCTION__ macro like that)

    And warning about signed/unsigned compare

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Mon May 27 23:30:23 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/0667337e1f450c6922bad8d5
    Modified Files:
    src/sbbs3/telgate.cpp
    Log Message:
    Address unused return value warnings from GCC

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sat Aug 10 19:44:50 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/6faadeebda655f68fe2eeb7f
    Modified Files:
    src/sbbs3/telgate.cpp
    Log Message:
    Fix CID 508288 (STRING_NULL)

    I'm not clear why Coverity suddenly thinks that getstr() doesn't
    nul-terminate strings, but whatever: NUL-terminate the buf before passing it
    to getstr(). <shrug>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Aug 16 17:32:55 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/4679ceaabf0bec0f0e80d7b7
    Modified Files:
    src/sbbs3/telgate.cpp
    Log Message:
    Log warning if sendsocket() fails to send string passed to telgate()

    Eliminates GCC warning about not checking return value of write/sendsocket()

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Aug 16 17:32:55 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/53f9573cf87a5d9735b2b110
    Modified Files:
    src/sbbs3/telgate.cpp
    Log Message:
    Fix small memory leak when telgate() was used to proxy for a telnet server

    At least 512 bytes per call.

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