• 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 echicken@VERT to Git commit to main/sbbs/master on Thu Feb 23 19:57:49 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/e6021f4ec5f722b67156e3d8
    Modified Files:
    exec/websocketservice.js
    Log Message:
    Write websocket client IP address to temp file.

    Scripts running on upstream (terminal) server can find actual
    client IP in:

    system.temp_path + 'sbbs-ws-' + client.socket.remote_port + '.ip'

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Thu Feb 23 20:43:37 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/26df9c31e4397cf536c2192e
    Modified Files:
    exec/websocketservice.js
    Log Message:
    Better cleanup of ipFile

    Changed scope of ipFile variable so we can access it in the
    finally{} block. Should prevent stale files hanging around if
    the service encounters an error.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Fri Feb 24 10:31:47 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/f7cd4ef3e7a6524a300b772c
    Modified Files:
    exec/websocketservice.js
    Log Message:
    Create ip temp file immediately on connect.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rick Parrish@VERT to Git commit to main/sbbs/master on Mon Sep 4 14:56:38 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/bc915feefb6032f1ab18b9b4
    Modified Files:
    exec/websocketservice.js
    Log Message:
    Speed up file transfers.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Sep 4 14:56:38 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/540f76d9615bb287ac428ed5
    Modified Files:
    exec/websocketservice.js
    Log Message:
    Merge branch 'Ree/websocketservice-speedup' into 'master'

    Speed up file transfers.

    See merge request main/sbbs!327

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rick Parrish@VERT to Git commit to main/sbbs/master on Sat Sep 9 10:27:11 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/639fad65bad024219a54c84e
    Modified Files:
    exec/websocketservice.js
    Log Message:
    Add support for binary frames to websocket service

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Sep 9 10:27:11 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/c9e643727d8b91b3f18cc8a5
    Modified Files:
    exec/websocketservice.js
    Log Message:
    Merge branch 'Ree/websocketservice-support-binary' into 'master'

    Add support for binary frames to websocket service

    See merge request main/sbbs!330

    ---
    þ 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 Sep 25 00:09:04 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/e77d0fe73f3d4ec01e8bc1ba
    Modified Files:
    exec/websocketservice.js
    Log Message:
    Use system.temp_dir (configurable by sysop) instead of system.temp_path

    Fixes issue #648

    ---
    þ 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