Trying to build openconnect 8.20 on ubuntu 20
Eveno, Manuel
meveno at timwi.com
Fri Mar 4 06:24:40 PST 2022
Hi,
I need to test the fortinet protocol.
I'm trying to build openconnect for the downloaded package.
But when running the "make" command it fails on tests.
Here is my install script :
------------- Install script : --------------------
#/bin/bash
set -euo pipefail
OPENCONNECT_VERSION=8.20
# Cleanup
rm -rf openconnect-$OPENCONNECT_VERSION.tar.gz
rm -rf openconnect-$OPENCONNECT_VERSION
sudo rm -f /etc/vpnc/vpnc-script
# Get vpn-script
sudo mkdir -p /etc/vpnc/
sudo wget https://gitlab.com/openconnect/vpnc-scripts/raw/master/vpnc-script
-O /etc/vpnc/vpnc-script
sudo chmod a+x /etc/vpnc/vpnc-script
# Get openconnect
wget https://www.infradead.org/openconnect/download/openconnect-$OPENCONNECT_VERSION.tar.gz
tar xzvf openconnect-$OPENCONNECT_VERSION.tar.gz
cd openconnect-$OPENCONNECT_VERSION
sudo apt install -y libxml2-dev libssl-dev gettext zlib1g-dev
pkg-config libp11-dev p11-kit
export LD_RUN_PATH=/usr/local/lib
export LD_LIBRARY_PATH=/usr/local/lib
./configure
make check
make
$ cat openconnect-8.20/tests/test-suite.log
------------- Output : --------------------
FAIL: bad_dtls_test
===================
139960338883904:error:141E70BF:SSL
routines:tls_construct_client_hello:no protocols
available:../ssl/statem/statem_clnt.c:1112:
Unexpected handshake result at initial call!
Cisco BadDTLS test: FAILED
FAIL bad_dtls_test (exit status: 1)
Regards
Manuel EVENO
More information about the openconnect-devel
mailing list