• exec/websocketservice.js

    From echicken@VERT to Git commit to main/sbbs/master on Sat Nov 27 19:55:31 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/c1bebfc1dd74a83e527b4acd
    Modified Files:
    exec/websocketservice.js
    Log Message:
    Case-insensitive search for headers in ShakeHands. Some proxies
    like to mangle these unless you tell them not to.

    Capture the value of the X-Forwarded-For header, if present, and
    stash it in FWebSocketHeader['X-Forwarded-For'].

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Sat Nov 27 19:55:31 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/820b805eeefd3b59621e8aff
    Modified Files:
    exec/websocketservice.js
    Log Message:
    If BBS is using HAProxy ([BBS] Options line has HAPROXY_PROTO)
    then throw an error if X-Forwarded-For header was not received,
    or otherwise do the HAProxy thing upon connecting.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Sat Nov 27 19:55:31 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/fa3e7132c14916aede750ba9
    Modified Files:
    exec/websocketservice.js
    Log Message:
    Avoid spurious connections to the terminal server - and some
    other unnecessary work - if the BBS is using HAProxy but we can't
    do the thing with the stuff because we don't have the things.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Sat Nov 27 19:55:31 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/a6cb6cc4907fd4116cee1921
    Modified Files:
    exec/websocketservice.js
    Log Message:
    Added inet_pton function borrowed from the internet.
    Added incomplete send of haproxy protocol header. Need to sort
    out lookup of target (BBS) IP address.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Sat Nov 27 19:55:31 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/2225ced74c74259ba11937b8
    Modified Files:
    exec/websocketservice.js
    Log Message:
    Hurr.

    But also, this needs some revision since I'm supposed to send
    the header all at once and probably shouldn't be doing a bunch
    of individual sendBin calls.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Sat Nov 27 19:55:32 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/282d9bfc5cce8ead3fd456ec
    Modified Files:
    exec/websocketservice.js
    Log Message:
    Build protocol header as string and send all in one big barforama.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Sat Nov 27 19:55:32 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/32238a33cd8b5fd8e951abb0
    Modified Files:
    exec/websocketservice.js
    Log Message:
    Use client address from header

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Sat Nov 27 19:55:32 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/6bfa4b0b14e08557b2bcd4c9
    Modified Files:
    exec/websocketservice.js
    Log Message:
    Address family must occupy bytes 15 & 16

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Sat Nov 27 20:06:52 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/1f52abed6eaf9767813c7e4e
    Modified Files:
    exec/websocketservice.js
    Log Message:
    FWebSocketHeader should just be a bare object.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rick Parrish@VERT to Git commit to main/sbbs/master on Thu Sep 12 13:58:23 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/93434d072a7ea9696187a879
    Modified Files:
    exec/websocketservice.js
    Log Message:
    Fix #782 - websocketservice.js garbles input on Banana Pi running Armbian

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Sep 12 13:58:23 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/72f27c93963230f9cdedf82f
    Modified Files:
    exec/websocketservice.js
    Log Message:
    Merge branch 'ree/websocketservice-debug' into 'master'

    Fix #782 - websocketservice.js garbles input on Banana Pi running Armbian

    Closes #782

    See merge request main/sbbs!458

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