Wind River Support Network

HomeDefectsLINCD-9566
Fixed

LINCD-9566 : openvpn: build path is exposed to target binary

Created: Jun 12, 2022    Updated: Jul 20, 2022
Resolved Date: Jul 5, 2022
Found In Version: 10.22.24.0
Fix Version: 10.22.29.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

The build path is exposed in openvpn --version option:

root@aptivcvcsousa:~# openvpn --version
OpenVPN 2.5.6 aarch64-wrs-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Mar 16 2022
library versions: OpenSSL 3.0.3 3 May 2022, LZO 2.10
Originally developed by James Yonan
Copyright (C) 2002-2022 OpenVPN Inc <sales@openvpn.net>
Compile time defines: enable_async_push=no enable_comp_stub=no enable_crypto_ofb_cfb=yes enable_debug=yes enable_def_auth=yes enable_dependency_tracking=no enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown enable_fast_install=yes enable_fragment=yes enable_iproute2=yes enable_libtool_lock=yes enable_lz4=yes enable_lzo=yes enable_management=yes enable_multihome=yes enable_pam_dlopen=no enable_pedantic=no enable_pf=yes enable_pkcs11=no enable_plugin_auth_pam=yes enable_plugin_down_root=yes enable_plugins=yes enable_port_share=yes enable_selinux=no enable_shared=yes enable_shared_with_static_runtimes=no enable_silent_rules=no enable_small=no enable_static=yes enable_strict=no enable_strict_options=no enable_systemd=no enable_werror=no enable_win32_dll=yes enable_x509_alt_username=no with_aix_soname=aix with_broken_putenv=no with_crypto_library=openssl with_gnu_ld=yes with_libtool_sysroot=*/buildarea/build/tmp-glibc/work/cortexa53-wrs-linux/openvpn/2.5.6-r0/recipe-sysroot* with_mem_check=no

Steps to Reproduce

1) setup.sh
--machine aptiv_cvc_sousa --dl-layers 

2) . ./environment-setup-x86_64-wrlinuxsdk-linux &&  ./oe-init-build-env
3) vim conf/local.conf
IMAGE_INSTALL:append = " openvpn"
4) bitbake wrlinux-image-small
5) boot the target by the image
Live chat
Online