Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cryptlib Ubuntu 22.04 LTS 64Bit MysticBBS A47 or A48

398 views
Skip to first unread message

Alisha Stutz

unread,
Jul 12, 2022, 5:20:19 PM7/12/22
to

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

g00r00

unread,
Jul 12, 2022, 7:20:19 PM7/12/22
to
AS> With Ubuntu 22.04 LTS "Linux apu4 5.15.0-40-generic #43-Ubuntu SMP Wed
AS> Jun 15 12:54:21 UTC 2022 x86_64 x86_64 GNU/Linux" it is no longer
AS> 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

Alisha Stutz

unread,
Jul 13, 2022, 4:20:23 PM7/13/22
to

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


g00r00

unread,
Jul 14, 2022, 11:20:26 AM7/14/22
to
AS> The precompiled binary does not work, but I found the solution how to
AS> use the Cryptolib 3.4.5 under Ubuntu 22.04 and that SSL runs. Attached
AS> 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..

AS> 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!

Nicola Mettimano

unread,
Jul 24, 2022, 7:20:13 PM7/24/22
to
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

Edmund Wong

unread,
Sep 16, 2022, 1:20:15 AM9/16/22
to
AS> wget http://www.mysticbbs.com/downloads/cl345.zip
AS> mkdir cl345
AS> cd cl345
AS> unzip -ax ../cl345.zip
AS> sudo make shared
AS> 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.

Al DeRosa

unread,
Sep 27, 2022, 11:20:11 PM9/27/22
to
On 13 Jul 2022, Alisha Stutz said the following...

AS>
AS> sudo apt-get update
AS> sudo apt-get install build-essential
AS> sudo apt-get install gcc-9 g++-9
AS> 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.

0 new messages