• webv4 mail bug

    From Fireball@1:103/705 to echicken on Thu Jan 17 12:05:45 2019
    Hi echicken,

    I recently did a fresh reinstall and I'm having an issue with mail when using https/TLS.

    When using unencrypted http, I can view mail just fine without issues, but when using https, I can't view any mail.

    I know, more work... lmao! I just thought I'd report this. :)

    Fireball

    ---
    ■ Synchronet ■ My Brand-New BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Fireball on Thu Jan 17 13:42:39 2019
    Re: webv4 mail bug
    By: Fireball to echicken on Thu Jan 17 2019 12:05:45

    I recently did a fresh reinstall and I'm having an issue with mail when using https/TLS.

    When using unencrypted http, I can view mail just fine without issues, but when using https, I can't view any mail.

    This is likely to be a problem with the web server or Synchronet's SSL/TLS support. The web interface itself doesn't do anything differently when served over HTTP vs. HTTPS (with just one exception, which isn't related to mail).

    I'm not using native HTTPS in Synchronet at the moment, but I may try to set it up somewhere soon to see if I can reproduce this. You're not the only one having this sort of trouble.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
    ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fireball@1:103/705 to echicken on Thu Jan 17 19:58:55 2019
    This is likely to be a problem with the web server or Synchronet's SSL/TLS support. The web interface itself doesn't do
    anything differently when served over HTTP vs. HTTPS (with just one exception, which isn't related to mail).

    I'm not using native HTTPS in Synchronet at the moment, but I may try to set it up somewhere soon to see if I can
    reproduce this. You're not the only one having this sort of trouble.


    You're right, I'm running the Synchronet web server with SSL/TLS support on. If the exception you're speaking of is the ftelnet code, I know about it. lol

    The message bases work just fine though. :)

    Fireball

    ---
    ■ Synchronet ■ My Brand-New BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Fireball on Fri Jan 18 08:49:21 2019
    Re: webv4 mail bug
    By: Fireball to echicken on Thu Jan 17 2019 19:58:55

    on. If the exception you're speaking of is the ftelnet code, I know about

    That's the one, to place a ws or wss URL in the page as needed.

    You're right, I'm running the Synchronet web server with SSL/TLS support The message bases work just fine though. :)

    I did some testing yesterday, and the problem seems to be with TLS and "large" transfers, and not limited to the webserver. Could be a bug in cryptlib or with how it's being used. I'll probably have to bug Deuce about it.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
    ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fireball@1:103/705 to echicken on Mon Jan 28 23:28:39 2019
    I did some testing yesterday, and the problem seems to be with TLS and "large" transfers, and not limited to the webserver. Could be a bug in cryptlib or with how it's being used. I'll probably have to bug Deuce about it.


    Interesting... Well, I also figured out I can't login while using https either. Worse yet, now the install script isn't working. I get the following error when I run it...

    Downloading https://codeload.github.com/echicken/synchronet-web-v4/zip/master TLS ERROR 'No reliable random data available' (-14) setting attribute 6001
    0004 TLS ERROR 'No reliable random data available' (-14) setting session active Unable to read status
    Download of https://codeload.github.com/echicken/synchronet-web-v4/zip/master failed. Exiting.
    /sbbs/mods/webv4-installer.js executed in 9.00 seconds
    !Module (webv4-installer.js) set exit_code: 1

    Fireball

    ---
    ■ Synchronet ■ My Brand-New BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Fireball on Tue Jan 29 11:38:32 2019
    Re: webv4 mail bug
    By: Fireball to echicken on Mon Jan 28 2019 23:28:39

    ERROR 'No reliable random data available' (-14) setting attribute 6001

    Are you doing this on a VM/VPS? This reminds me of a problem I ran into a couple of years ago, where such machines often don't generate enough random data or generate it too slowly. Resolved by installing 'haveged'.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
    ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fireball@1:103/705 to echicken on Tue Jan 29 23:42:02 2019
    Are you doing this on a VM/VPS? This reminds me of a problem I ran into a couple of years ago, where such machines often don't generate enough random data or generate it too slowly. Resolved by installing 'haveged'.


    I am running it from a VPS, and it ran fine a while ago. I read up on haveged and rng-tools. Neither work in an OpenVZ container, and from what I've read, won't. I'm not really trying to do key generation or anything like that, I just want to be able to update the software. lol

    Fireball

    ---
    ■ Synchronet ■ My Brand-New BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Fireball on Wed Jan 30 08:14:50 2019
    Re: webv4 mail bug
    By: Fireball to echicken on Tue Jan 29 2019 23:42:02

    haveged and rng-tools. Neither work in an OpenVZ container, and from what I've read, won't. I'm not really trying to do key generation or anything like that, I just want to be able to update the software. lol

    In my case I wasn't knowingly trying to do anything that required random data, but the program I was running wanted it. It would just pause for a while waiting for the rng to spit out enough crap before it would move on. (I had to run strace on it to figure this out; haveged cured it immediately.) Anyway, your problem may be different, it just reminds me of this.

    You can try editing webv4-installer.js, and on line 132 change 'https' to 'http' and see if that works.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
    ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Lord Time@1:103/705 to Fireball on Mon Feb 4 13:08:51 2019
    ---
    ■ Synchronet ■ My Brand-New BBS

    Please goto your scfg-networking-qwk networking-default tagline, and put in
    the name of your bbs & telnet address


    ---

    Rob Starr
    Lord Time SysOp of
    Time Warp of the Future BBS
    Telnet://Time.Synchro.Net:24
    ICQ # 11868133 or # 70398519 Jabber : lordtime2000@gmail.com
    Astra : lord_time
    X-Box : Lord Time 2000 Skype : lordtime@tds.net
    ---
    ■ Synchronet ■ Time Warp of the Future BBS - Home of League 10 IBBS Games
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fireball@1:103/705 to Lord Time on Sun Feb 10 09:25:50 2019
    Please goto your scfg-networking-qwk networking-default tagline, and put in the name of your bbs & telnet address


    I just checked, it's changed. I changed it a couple of weeks back, and I can't see it on my end. I'd forgotten I did a fresh install, then updated the config, and I guess I missed it before. Not sure what the issue is or how to fix it.

    Fireball

    ---
    ■ Synchronet ■ Fireball Express!!! BBS - fireballex.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Fireball on Mon Feb 11 21:49:57 2019
    Re: Re: webv4 mail bug
    By: Fireball to Lord Time on Sun Feb 10 2019 09:25 am

    Please goto your scfg-networking-qwk networking-default tagline, and put in the name of your bbs & telnet address


    I just checked, it's changed. I changed it a couple of weeks back, and I can't see it on my end. I'd forgotten I did a fresh install, then updated the config, and I guess I missed it before. Not sure what the issue is or how to fix it.

    It looks fine now:
    ■ Synchronet ■ Fireball Express!!! BBS - fireballex.com

    Sysop can view their taglines with the 'I' command.

    digital man

    Synchronet/BBS Terminology Definition #60:
    SpiderMonkey = Mozilla's C/C++ JavaScript Engine (libmozjs)
    Norco, CA WX: 48.2°F, 44.0% humidity, 1 mph SW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fireball@1:103/705 to Digital Man on Thu Feb 14 02:28:33 2019
    Re: Re: webv4 mail bug
    By: Fireball to Lord Time on Sun Feb 10 2019 09:25 am

    It looks fine now:
    Γûá Synchronet Γûá Fireball Express!!! BBS - fireballex.com

    Sysop can view their taglines with the 'I' command.


    Thanks DM! I'll have to remember that when I telnet in. I normally access the BBS through the web interface. I kind of wish it added the tagline locally as well.

    Fireball

    ---
    ■ Synchronet ■ Fireball Express!!! BBS - fireballex.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)