Softether VPN Install Problem (SSL3Method, Compil, ...)

If none of the more specific forums is the right place to ask

Softether VPN Install Problem (SSL3Method, Compil, ...)

Postby Fullnegi » 2017-12-30 15:32

Hello !
I'm new and a don't know if I post this on the right place :s
I installed a Debian 9.2.1 (64bit) on my computer that will be used as a server.
I tried to install Softether VPN with different method but it always failed.

With this method :
:arrow:
Code: Select all
sudo apt-get install zliblg-dev libncurses5-dev libssl1.0-dev build-essential libreadline-dev git
sudo ldconfig
mkdir ~/source
cd ~/source
git clone https://github.com/SoftEtherVPN/SoftEtherVPN.git
cd SoftEtherVPN/src/Mayaqua
mv Network.c Network.c.orig
cat Network.c.orig | sed ‘s!SSLv3_method!SSLv23_client_method!g’ > Network.c
cd ../..
./configure
make
sudo mv bin/vpnserver /usr/local
[create /etc/init.d/vpnserver script]
sudo chmod a+x /etc/init.d/vpnserver
sudo update-rc.d vpnserver defaults


I have a error message when i try :
Code: Select all
cat Network.c.orig | sed ‘s!SSLv3_method!SSLv23_client_method!g’ > Network.c
bash: !SSLv3_method!SSLv23_client_method!g’: event not found


I supposed this is dued to OpenSSL (I heard that there is a compatibilty problem on the net : ? )
I tried to remove openSSL1.1.x but I failed to compil openSSL1.0.1 so I reinstall 1.1.x
I also tried to install zlib1g-dev instead of zliblg-dev

:arrow: Second method is from : https://www.digitalocean.com/community/ ... -softether
So I download the FreeBSD sources, and when I try à "make" , it answer :
Code: Select all
a lot of other mistakes lines like :
/usr/bin/ld: lib/libz.a(inffast.o): relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompilez avec -fPIC
/usr/bin/ld: lib/libz.a(crc32.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompilez avec -fPIC
/usr/bin/ld : échec de l'édition de liens finale : Section non-représentable sur la sortie
collect2: error: ld returned 1 exit status
Makefile:18 : la recette pour la cible « i_read_and_agree_the_license_agreement » a échouée
make[1]: *** [i_read_and_agree_the_license_agreement] Erreur 1
make[1] : on quitte le répertoire « /root/vpnserver »



Should I downgrade to Debian 8 ?
How can I dowgrade to OpenSSL1.0.1 and have no compatibilty problem with other instance ?
Can someone please help me ?
Fullnegi
 
Posts: 2
Joined: 2017-12-30 15:18

Re: Softether VPN Install Problem (SSL3Method, Compil, ...)

Postby GarryRicketson » 2017-12-30 16:24

I installed a Debian 9.2.1 (64bit) on my computer that will be used as a server.


The BSD's are not even close to Linux,

So I download the FreeBSD sources, and when I try à "make" , it answer :


No where in the instructions does it tell you to use the "FreeBSD" sources,
for Linux, or Debian.
Now choose Linux and in the next page choose SoftEther VPN Server. Depending on your server hardware architecture, choose a


I don't think it is a very good idea to be trying to install this to Debian, any way:
https://wiki.debian.org/DontBreakDebian
User avatar
GarryRicketson
 
Posts: 4790
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Softether VPN Install Problem (SSL3Method, Compil, ...)

Postby Fullnegi » 2017-12-30 16:45

As this post says, it is absolute possible to install Softether on a Linux architecture ( see here on Softether forum : http://www.vpnusers.com/viewtopic.php?f=7&t=8476 )
And multiple tutorial said how to : ( https://linuxconfig.org/setting-up-soft ... erus-linux, https://www.digitalocean.com/community/ ... -softether )

For Linux, you may install the Linux sources, but for debian, I tried both (and reinstall debian before try the other one) and I have the same error.

I also found this post : https://github.com/SoftEtherVPN/SoftEtherVPN/issues/301 (where I found the "compatibilty problem" : Debian 9 comes with openssl-1.1.0, which is not compatible with openssl-1.0.X )


Someone "debianized" the sources and made a Build resultats, but I don't know how to use it.

hello, i have already debianized and packaged it for parrotsec.org which is based on debian testing
here you can find the debianized source code
https://dev.parrotsec.org/parrot/softether-vpn
and here you can download the build results
https://archive.parrotsec.org/parrot/po ... tether-vpn
Fullnegi
 
Posts: 2
Joined: 2017-12-30 15:18

Re: Softether VPN Install Problem (SSL3Method, Compil, ...)

Postby Bulkley » 2017-12-30 17:24

[quote="Fullnegi"]Someone "debianized" the sources and made a Build resultats, but I don't know how to use it.[quote]

You may find that no one here knows.
Bulkley
 
Posts: 5509
Joined: 2006-02-11 18:35


Return to General Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable