• HTTPS support with vanilla web/ecweb

    From poindexter FORTRAN@VERT/REALITY to All on Wednesday, January 16, 2019 09:44:44
    All,

    I've got a Windows installation of SBBS 3.17c, and used the support for letsencrypt to add an SSL cert to my web server. When I hit the BBS web
    pages via HTTPS, I get the content securely, but it looks like the CSS, served by relative links doesn't get served.

    Is there an easy way to serve relative links via https when calling the page via HTTPS within Synchronet?

    Thanks!

    ---
    þ Synchronet þ realitycheckBBS -- http://realitycheckBBS.org
  • From echicken@VERT/ECBBS to poindexter FORTRAN on Wednesday, January 16, 2019 14:10:49
    Re: HTTPS support with vanilla web/ecweb
    By: poindexter FORTRAN to All on Wed Jan 16 2019 09:44:44

    Is there an easy way to serve relative links via https when calling the page via HTTPS within Synchronet?

    There should be no special trick to this. The relative links aren't a problem; they point to the right places via the right protocol.

    I can't get your server to send me either of these files in their entirety over HTTPS:

    https://realitycheckbbs.org/bootstrap/css/bootstrap.min.css https://realitycheckbbs.org/js/jquery.min.js

    Seems to just crap out partway through, though not always at the same place. Other, smaller files come through just fine, but these ones happen to be larger which may be part of the problem.

    It'd be interesting to know if your server adds anything relevant to the log when these transfers fail.

    Seems like a bug or configuration problem. I could only suggest workarounds at this point.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From mark lewis@VERT to echicken on Thursday, January 17, 2019 03:59:00
    On 2019 Jan 16 14:10:48, you wrote to poindexter FORTRAN:

    Seems to just crap out partway through, though not always at the same place. Other, smaller files come through just fine, but these ones
    happen to be larger which may be part of the problem.

    could TCP_NODELAY be contributing to this? not sure how close to the bleeding edge PF is but it is possible that this is mixed in? i need to update over here
    with all the latest changes and updates that have taken place... just been waiting for the churn to fall off a little bit ;)

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Hurry, dial 911!" "OK, what's the number?
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From poindexter FORTRAN@VERT/REALITY to mark lewis on Thursday, January 17, 2019 08:12:12
    Re: HTTPS support with vanilla web/ecweb
    By: mark lewis to echicken on Thu Jan 17 2019 03:59 am

    could TCP_NODELAY be contributing to this? not sure how close to the bleeding edge PF is but it is possible that this is mixed in? i need to update over here with all the latest changes and updates that have taken place... just been waiting for the churn to fall off a little bit ;)

    I updated to 3.17c a week or so after the announcement.

    ---
    þ Synchronet þ realitycheckBBS -- http://realitycheckBBS.org
  • From Kurt Weiske@VERT to echicken on Thursday, January 17, 2019 13:34:42
    Re: HTTPS support with vanilla web/ecweb
    By: echicken to poindexter FORTRAN on Wed Jan 16 2019 02:10 pm

    I can't get your server to send me either of these files in their entirety over HTTPS:

    https://realitycheckbbs.org/bootstrap/css/bootstrap.min.css https://realitycheckbbs.org/js/jquery.min.js

    Seems to just crap out partway through, though not always at the same place. Other, smaller files come through just fine, but these ones happen to be larger which may be part of the problem.

    Weird, I noticed the same thing at a coffee shop yesterday as well as on my LAN. Not sure where to go from here, and I can get to everything just fine via https. If it's not loading the css files consistently, that would explain things.
    --- SBBSecho 3.06-Win32
    * Origin: http://realitycheckbbs.org | tomorrow's retro tech (1:218/700)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Kurt Weiske@VERT to mark lewis on Thursday, January 17, 2019 13:43:48
    Re: HTTPS support with vanilla web/ecweb
    By: mark lewis to echicken on Thu Jan 17 2019 03:59 am

    Seems to just crap out partway through, though not always at the same
    place. Other, smaller files come through just fine, but these ones
    happen to be larger which may be part of the problem.

    could TCP_NODELAY be contributing to this? not sure how close to the bleeding edge PF is but it is possible that this is mixed in? i need to update over here with all the latest changes and updates that have taken place... just been waiting for the churn to fall off a little bit ;)

    I had TCP_NODELAY set to TRUE, tried flipping it to FALSE and see the same behavior where larger files transfer inconsistently. I made the changes to sockopts.ini suggested a few weeks back.
    --- SBBSecho 3.06-Win32
    * Origin: http://realitycheckbbs.org | tomorrow's retro tech (1:218/700)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net