• Cryptlib Ubuntu 22.04 LTS 64Bit MysticBBS A47 or A48

    From Alisha Stutz@1:396/4 to All on Wednesday, July 13, 2022 04:57:16
    From: nospam.Alisha.Stutz@f1.n301.z2.fidonet.org (Alisha Stutz)


    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

    --- NewsGate v1.0 gamma 2
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)
  • From g00r00@1:396/4 to All on Wednesday, July 13, 2022 00:49:17
    From: nospam.g00r00@f215.n129.z1.fidonet.org (g00r00)

    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

    --- NewsGate v1.0 gamma 2
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)
  • From Alisha Stutz@1:396/4 to All on Thursday, July 14, 2022 04:03:00
    From: nospam.Alisha.Stutz@f1.n301.z2.fidonet.org (Alisha Stutz)


    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


    --- NewsGate v1.0 gamma 2
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)
  • From g00r00@1:396/4 to All on Wednesday, July 13, 2022 23:26:05
    From: nospam.g00r00@f215.n129.z1.fidonet.org (g00r00)

    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!

    --- NewsGate v1.0 gamma 2
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)
  • From Nicola Mettimano@1:396/4 to All on Monday, July 25, 2022 06:35:50
    From: nospam.Nicola.Mettimano@f601.n335.z2.fidonet.org (Nicola Mettimano)

    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

    --- NewsGate v1.0 gamma 2
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)