• Cryptlib Ubuntu 22.04 LTS 64Bit MysticBBS A47 or A48

    From Alisha Stutz@2:301/1 to g00r00 on Tuesday, July 12, 2022 22:57:16
    Hello g00r00!

    Cryptlib again :-(

    With Ubuntu 22.04 LTS "Linux apu4 5.15.0-40-generic #43-Ubuntu SMP Wed Jun 15 12:54:21 UTC 2022 x86_64 x86_64 GNU/Linux" it is no longer possible to take Cryptolib 345, as it can no longer be compiled. I am therefore forced to use Cryptolib 346, which can be compiled. However, Mystic BBS 1.12A47 and 1.12A48 do not run with it, the following error message always appears when connecting.

    20:51:35 SSH > Connect on slot 1/5 (172.16.178.141)
    20:51:35 SSH 1-HostName Alishas-MacBook-Pro.fritz.box
    20:51:35 SSH 1-Negotiating SSH session
    20:51:35 SSH Unable to set key (-2 )
    20:51:35 SSH 1-Session failed

    The ssl.cert file exists and has also been regenerated by Mystic
    -rw------- 1 mystic mystic 2111 Jul 12 20:50 /mystic/data/ssl.cert

    Could you please look at this and possibly fix it in the next version of MysticBBS 1.12A48?

    Greetings and thanks

    Alisha

    --- GoldED+/LNX 1.1.5--b20170303
    * Origin: ----> Alisha Stutz -> bufferzone.abad1dea.to (2:301/1)
  • From g00r00@1:129/215 to Alisha Stutz on Tuesday, July 12, 2022 18:49:17
    With Ubuntu 22.04 LTS "Linux apu4 5.15.0-40-generic #43-Ubuntu SMP Wed
    Jun 15 12:54:21 UTC 2022 x86_64 x86_64 GNU/Linux" it is no longer
    possible to take Cryptolib 345, as it can no longer be compiled. I am

    I believe it can you just have to change an old removed command line they have in the Makefile.

    But you can also download a precompiled one and try that here:

    www.mysticbbs.com/downloads/cryptlib/

    From the intel_linux64 directory copy libcl.so into your /usr/lib directory and delete ssl.cert if you have one in data folder.

    ... Redundant book title: DOS For Dummies

    --- Mystic BBS v1.12 A48 2022/07/11 (Windows/64)
    * Origin: Sector 7 * Mystic WHQ (1:129/215)
  • From Alisha Stutz@2:301/1 to g00r00 on Wednesday, July 13, 2022 22:03:00
    Hello g00r00!

    Replying to a msg dated 12 Jul 22 18:49, from you to me.

    The precompiled binary does not work, but I found the solution how to use the Cryptolib 3.4.5 under Ubuntu 22.04 and that SSL runs. Attached is the solution how I did it and it worked.

    sudo apt-get update
    sudo apt-get install build-essential
    sudo apt-get install gcc-9 g++-9
    sudo apt-get install zip unzip
    sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 9
    sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 9
    wget http://www.mysticbbs.com/downloads/cl345.zip
    mkdir cl345
    cd cl345
    unzip -ax ../cl345.zip
    sudo make shared
    sudo mv libcl.so.3.4.5 /usr/lib/libcl.so
    sudo rm /mystic/data/ssl.cert
    sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 11
    sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 11
    reboot the system

    21:39:56 SSH > Connect on slot 1/5 (172.16.178.146)
    21:39:56 SSH 1-HostName Alishas-MacBook-Pro.fritz.box
    21:39:56 SSH 1-Negotiating SSH session
    21:40:03 SSH 1-Creating terminal process
    21:40:17 SSH 1-Closing terminal process (5)

    best regards

    Alisha


    --- GoldED+/LNX 1.1.5--b20170303
    * Origin: ----> Alisha Stutz -> bufferzone.abad1dea.to (2:301/1)
  • From g00r00@1:129/215 to Alisha Stutz on Wednesday, July 13, 2022 17:26:05
    The precompiled binary does not work, but I found the solution how to
    use the Cryptolib 3.4.5 under Ubuntu 22.04 and that SSL runs. Attached
    is the solution how I did it and it worked.

    Thanks for letting me know. Its odd because I downloaded a fresh 22.04 Ubuntu and tried the precompiled binary which worked for me. I'll have to try it again later and see if I can figure out whats going on there..

    sudo apt-get install gcc-9 g++-9

    Yep this is what will do it. The change from gcc 9 to 11 is what broke the Makefile for 3.4.5. For some reason Cryptlib Makefile uses some compiler options that I believe were "depreciated" about a decade ago and were finally removed entirely in 11.

    I'll try to update the Wiki with a note about this!

    ... Old musicians never die. They just decompose!

    --- Mystic BBS v1.12 A48 2022/07/13 (Windows/64)
    * Origin: Sector 7 * Mystic WHQ (1:129/215)
  • From Nicola Mettimano@2:335/601 to g00r00 on Monday, July 25, 2022 00:35:50
    Hello, i tried with your precompiled libcl.so but mis server don't start with tis log:
    --------------------- Mystic v1.12 A47 2021/12/24 Mon, Jul 25 2022 (loglevel 1)
    + 25.07.2022 00:26:20 MANAGER Starting event system
    + 25.07.2022 00:26:20 MANAGER Starting 3 server(s)
    + 25.07.2022 00:26:20 MANAGER Starting servers in DAEMON mode
    + 25.07.2022 00:26:20 HTTP Using Webroot: /home/nikoh/mystic/webroot/
    + 25.07.2022 00:26:20 HTTP Listening on IPV4 port 80 using interface "0.0.0.0" + 25.07.2022 00:26:20 HTTP Listening on IPV6 port 80 using interface "::"
    + 25.07.2022 00:26:20 BINKP Listening on IPV4 port 24554 using interface "0.0.0.0"
    + 25.07.2022 00:26:20 BINKP Listening on IPV6 port 24554 using interface "::" + 25.07.2022 00:26:20 TELNET Listening on IPV4 port 2323 using interface "0.0.0.0"
    + 25.07.2022 00:26:20 TELNET Listening on IPV6 port 2323 using interface "::" + 25.07.2022 00:26:21 MANAGER Cryptlib not detected; SSL/SSH capabilities disabled
    + 25.07.2022 00:26:21 EVENT Starting 3 event(s)
    + 25.07.2022 00:26:48 MANAGER Received shutdown event
    + 25.07.2022 00:26:48 MANAGER Shutdown: EVENT
    + 25.07.2022 00:26:48 MANAGER Shutdown: TELNET
    + 25.07.2022 00:26:48 MANAGER Shutdown: BINKP
    + 25.07.2022 00:26:48 MANAGER Shutdown: HTTP
    + 25.07.2022 00:26:48 MANAGER Waiting for servers to stop (up to 30 seconds)
    + 25.07.2022 00:26:48 EVENT Event system stopped
    + 25.07.2022 00:26:48 MANAGER Shutdown complete

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: REACT_BBS (2:335/601)
  • From Björn Wiberg@2:201/137 to Nicola Mettimano on Monday, July 25, 2022 14:28:00
    Hello Nicola!

    On 25 Jul 2022, Nicola Mettimano said the following...
    interface "::" + 25.07.2022 00:26:21 MANAGER Cryptlib not detected; SSL/SSH capabilities disabled

    If it fails to locate the library, it might be worth trying to move libc.so (it must be named exactly like that, or you will need to create a libcl.so symlink to point to the version-numbered file, i.e. libcl.so --> libcl.so.3.4.5) to a directory of its own, and set the LD_LIBRARY_PATH environment variable to point to that directory when starting Mystic, e.g.:

    export LD_LIBRARY_PATH=/home/bbs/cryptlib

    How and where you set this depends on how you start Mystic; I start Mystic through systemd, so I use:

    [Service]
    Environment=LD_LIBRARY_PATH=/home/bbs/cryptlib

    ...in my Mystic systemd unit/service file.

    Hope this helps!

    Best regards
    Björn

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)
  • From Edmund Wong@1:153/7083 to Alisha Stutz on Friday, September 16, 2022 13:13:59
    wget http://www.mysticbbs.com/downloads/cl345.zip
    mkdir cl345
    cd cl345
    unzip -ax ../cl345.zip
    sudo make shared
    sudo mv libcl.so.3.4.5 /usr/lib/libcl.so

    Hi Alisha,

    Thanks for the help there. While my system's CentOS, what I
    did was a bit different.

    Instead of moving to /usr/lib/libcl.so, I did the following:

    1) in /mystic, mkdir libs
    2) in cl345: mv libcl.so.3.4.5 /mystic/libs

    Then it ran with CryptLib detected.

    Ed

    ... A program is used to turn data into error messages.

    --- Mystic BBS v1.12 A47 2021/12/01 (Linux/32)
    * Origin: Eagle's BBS (1:153/7083)
  • From Al DeRosa@1:267/157 to Alisha Stutz on Tuesday, September 27, 2022 21:44:24
    On 13 Jul 2022, Alisha Stutz said the following...


    sudo apt-get update
    sudo apt-get install build-essential
    sudo apt-get install gcc-9 g++-9
    sudo apt-get install zip unzip

    Hi Alisha!! FANTASTIC catch, this setup solved 2 of my problems with my system.. GMail password resets stopped working, SSH was spotty using 3.4.4, it worked most of the time. BUT I followed your instructions and built 3.4.5 and Gmail Password resets work properly now, and SSH has been solid! Thanks I snapped a pic of your instructions and will use that in the future..

    Thanks again...
    Al

    ... Don't diet, download a virus to remove the FAT.

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (1:267/157)