Discussion:
[Openvpn-users] How to be sure lzo2 library is used?
Nico Prenzel
20 years ago
Permalink
Hi all,

i've upgraded my openvpn server and client to 2.0.2. Now I want to be sure
openvpn uses the newer lzo 2.01 library.

During ./configure I got the following checks states:

configure: checking for LZO Library and Header files...
checking lzo/lzo1x.h usability... yes
checking lzo/lzo1x.h presence... yes
checking for lzo/lzo1x.h... yes
checking for lzo1x_1_15_compress in -llzo2... yes


Does the last entry mean that the lzo2 headers and libraries are found and
used to compile openvpn?
It's a bit tricky, to find out which lzo version openvpn server/client
uses!

I only get the following header on openvpn start:
OpenVPN 2.0.2 Win32-MinGW [SSL] [LZO] built on Aug 25 2005

Does [LZO] mean lzo version 1.x or only a general use of lzo?

Thanks.

NicoP.
Terry L. Inzauro
20 years ago
Permalink
...
go ahead and compile and then look at the output of ldd `which openvpn`
and see if lzo2 lib is present...............i think that'll tell you.
--
/* Terry Inzauro
* http://storsolgroup.com
* http://ha-solutions.net
*/
Nico Prenzel
20 years ago
Permalink
an ldd produces me this output:

/home/openvpn-2.0.2# ldd /usr/local/sbin/openvpn
libdl.so.2 => /lib/tls/libdl.so.2 (0x4001d000)
libc.so.6 => /lib/tls/libc.so.6 (0x40020000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

There is no lzo2 lib present.

/usr/local/sbin/openvpn --version gives me the following output:

OpenVPN 2.0.2 i686-pc-linux [SSL] [LZO] [EPOLL] built on Sep 22 2005
Developed by James Yonan
Copyright (C) 2002-2005 OpenVPN Solutions LLC <***@openvpn.net>

Any other ideas?







"Terry L.
Inzauro"
<***@ha-solu An
tions.net> Nico Prenzel
<***@pn-systeme.de>
23.09.2005 15:11 Kopie
openvpn-***@lists.sourceforge.ne
t
Thema
Re: [Openvpn-users] How to be sure
lzo2 library is used?
Post by Nico Prenzel
Hi all,
i've upgraded my openvpn server and client to 2.0.2. Now I want to be
sure
Post by Nico Prenzel
openvpn uses the newer lzo 2.01 library.
configure: checking for LZO Library and Header files...
checking lzo/lzo1x.h usability... yes
checking lzo/lzo1x.h presence... yes
checking for lzo/lzo1x.h... yes
checking for lzo1x_1_15_compress in -llzo2... yes
Does the last entry mean that the lzo2 headers and libraries are found
and
Post by Nico Prenzel
used to compile openvpn?
It's a bit tricky, to find out which lzo version openvpn server/client
uses!
OpenVPN 2.0.2 Win32-MinGW [SSL] [LZO] built on Aug 25 2005
Does [LZO] mean lzo version 1.x or only a general use of lzo?
Thanks.
NicoP.
-------------------------------------------------------
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your
very
Post by Nico Prenzel
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Openvpn-users mailing list
https://lists.sourceforge.net/lists/listinfo/openvpn-users
go ahead and compile and then look at the output of ldd `which openvpn`
and see if lzo2 lib is present...............i think that'll tell you.


--
/* Terry Inzauro
* http://storsolgroup.com
* http://ha-solutions.net
*/
Terry L. Inzauro
20 years ago
Permalink
...
***@ovpn04 ~ $ ldd /opt/openvpn2.0.2/sbin/openvpn
libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x2742e000)
libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x2745f000)
liblzo.so.1 => /usr/lib/liblzo.so.1 (0x27560000)
libdl.so.2 => /lib/libdl.so.2 (0x2757d000)
libc.so.6 => /lib/libc.so.6 (0x27581000)
/lib/ld-linux.so.2 (0x27416000)

OpenVPN 2.0.2 i686-pc-linux [SSL] [LZO] [EPOLL] built on Sep 10 2005

i am using lzo1. i'm not certain that the LZO identifier in the above
line will be LZO2 or something like that. do you have lzo1 installed?
if so, is there any reason that lzo1 can't be removed(temoprarily for
testing) thus eliminating the doubt?

also, plese refrain from top posting:
http://en.wikipedia.org/wiki/Top-posting

best regards,


_Terry
Nico Prenzel
20 years ago
Permalink
i've seen the new beta version: 2005.09.23 -- Version 2.0.2-TO4

there the changelog says:

* openvpn --version will show [LZO1] or [LZO2], depending on
version that was linked.

so, I'll try that version and look at the output!

Thanks.

NicoP.




"Terry L.
Inzauro"
<***@ha-solu An
tions.net> Nico Prenzel
<***@pn-systeme.de>
23.09.2005 16:22 Kopie
openvpn-***@lists.sourceforge.ne
t
Thema
Re: Antwort: Re: [Openvpn-users]
How to be sure lzo2 library is
used?
Post by Nico Prenzel
/home/openvpn-2.0.2# ldd /usr/local/sbin/openvpn
libdl.so.2 => /lib/tls/libdl.so.2 (0x4001d000)
libc.so.6 => /lib/tls/libc.so.6 (0x40020000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
There is no lzo2 lib present.
OpenVPN 2.0.2 i686-pc-linux [SSL] [LZO] [EPOLL] built on Sep 22 2005
Developed by James Yonan
Any other ideas?
"Terry L.
Inzauro"
An
Post by Nico Prenzel
tions.net> Nico Prenzel
23.09.2005 15:11
Kopie
Post by Nico Prenzel
t
Thema
Post by Nico Prenzel
Re: [Openvpn-users] How to be
sure
...
***@ovpn04 ~ $ ldd /opt/openvpn2.0.2/sbin/openvpn
libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x2742e000)
libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x2745f000)
liblzo.so.1 => /usr/lib/liblzo.so.1 (0x27560000)
libdl.so.2 => /lib/libdl.so.2 (0x2757d000)
libc.so.6 => /lib/libc.so.6 (0x27581000)
/lib/ld-linux.so.2 (0x27416000)

OpenVPN 2.0.2 i686-pc-linux [SSL] [LZO] [EPOLL] built on Sep 10 2005

i am using lzo1. i'm not certain that the LZO identifier in the above
line will be LZO2 or something like that. do you have lzo1 installed?
if so, is there any reason that lzo1 can't be removed(temoprarily for
testing) thus eliminating the doubt?

also, plese refrain from top posting:
http://en.wikipedia.org/wiki/Top-posting

best regards,


_Terry

Loading...