[openssl-users] 2 openssl installed?
FooCrypt
openssl at foocrypt.net
Tue Jun 5 07:37:43 UTC 2018
Yeah, typo, forgot -name
looks like its using all the usr & lib libraries and nothing from /usr/local/….. where you 97e files are.
I don’t know what you are using that system for, but is there a reason why you are not running 1.0.2g or g+ ?
Are there other apps on the host which are using the e configs ?
> On 5 Jun 2018, at 4:53 PM, Sampei <sampei02 at tiscali.it> wrote:
>
> Perhaps it's missing -'name openssl' in the 3 commands.
> However I run:
> 1) find / -type f -name openssl -exec ldd {} \;
> libssl.so.4 => /lib/libssl.so.4 (0x0098f000)
> libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00718000)
> libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00830000)
> libcom_err.so.2 => /lib/libcom_err.so.2 (0x006ee000)
> libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x0080c000)
> libresolv.so.2 => /lib/libresolv.so.2 (0x006d9000)
> libcrypto.so.4 => /lib/libcrypto.so.4 (0x0089b000)
> libdl.so.2 => /lib/libdl.so.2 (0x0067c000)
> libz.so.1 => /usr/lib/libz.so.1 (0x00682000)
> libc.so.6 => /lib/libc.so.6 (0x0052a000)
> /lib/ld-linux.so.2 (0x0050c000)
> 2) find / -type f -name openssl -exec objdump -x {} \;
>
> /usr/bin/openssl: file format elf32-i386
> /usr/bin/openssl
> architecture: i386, flags 0x00000112:
> EXEC_P, HAS_SYMS, D_PAGED
> start address 0x08054490
>
> Program Header:
> PHDR off 0x00000034 vaddr 0x08048034 paddr 0x08048034 align 2**2
> filesz 0x000000e0 memsz 0x000000e0 flags r-x
> INTERP off 0x00000114 vaddr 0x08048114 paddr 0x08048114 align 2**0
> filesz 0x00000013 memsz 0x00000013 flags r--
> LOAD off 0x00000000 vaddr 0x08048000 paddr 0x08048000 align 2**12
> filesz 0x0004f678 memsz 0x0004f678 flags r-x
> LOAD off 0x00050000 vaddr 0x08098000 paddr 0x08098000 align 2**12
> filesz 0x00007174 memsz 0x00007174 flags rw-
> DYNAMIC off 0x00052420 vaddr 0x0809a420 paddr 0x0809a420 align 2**2
> filesz 0x00000110 memsz 0x00000110 flags rw-
> NOTE off 0x00000128 vaddr 0x08048128 paddr 0x08048128 align 2**2
> filesz 0x00000020 memsz 0x00000020 flags r--
> STACK off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2
> filesz 0x00000000 memsz 0x00000000 flags rw-
>
> Dynamic Section:
> NEEDED libssl.so.4
> NEEDED libgssapi_krb5.so.2
> NEEDED libkrb5.so.3
> NEEDED libcom_err.so.2
> NEEDED libk5crypto.so.3
> NEEDED libresolv.so.2
> NEEDED libcrypto.so.4
> NEEDED libdl.so.2
> NEEDED libz.so.1
> NEEDED libc.so.6
> INIT 0x80516f8
> FINI 0x8086ca8
> HASH 0x8048148
> STRTAB 0x809becc
> SYMTAB 0x804958c
> STRSZ 0x3295
> SYMENT 0x10
> DEBUG 0x0
> PLTGOT 0x809a544
> PLTRELSZ 0x16b8
> PLTREL 0x11
> JMPREL 0x8050040
> REL 0x804fed0
> RELSZ 0x170
> RELENT 0x8
> VERNEED 0x804fe90
> VERNEEDNUM 0x1
> VERSYM 0x804f882
> 0x6ffffef9 0x804c5ec
> 0x6ffffdf7 0xdc
> 0x6ffffef8 0x804c6c8
> 0x6ffffdf6 0x108
>
> Version References:
> required from libc.so.6:
> 0x0d696913 0x00 04 GLIBC_2.3
> 0x0d696911 0x00 03 GLIBC_2.1
> 0x0d696910 0x00 02 GLIBC_2.0
>
> Sections:
> Idx Name Size VMA LMA File off Algn
> 0 .interp 00000013 08048114 08048114 00000114 2**0
> CONTENTS, ALLOC, LOAD, READONLY, DATA
> 1 .note.ABI-tag 00000020 08048128 08048128 00000128 2**2
> CONTENTS, ALLOC, LOAD, READONLY, DATA
> 2 .hash 00001444 08048148 08048148 00000148 2**2
> CONTENTS, ALLOC, LOAD, READONLY, DATA
> 3 .dynsym 00003060 0804958c 0804958c 0000158c 2**2
> CONTENTS, ALLOC, LOAD, READONLY, DATA
> 4 .gnu.liblist 000000dc 0804c5ec 0804c5ec 000045ec 2**2
> CONTENTS, ALLOC, LOAD, READONLY, DATA
> 5 .gnu.conflict 00000108 0804c6c8 0804c6c8 000046c8 2**2
> CONTENTS, ALLOC, LOAD, READONLY, DATA
> 6 .gnu.version 0000060c 0804f882 0804f882 00007882 2**1
> CONTENTS, ALLOC, LOAD, READONLY, DATA
> 7 .gnu.version_r 00000040 0804fe90 0804fe90 00007e90 2**2
> CONTENTS, ALLOC, LOAD, READONLY, DATA
> 8 .rel.dyn 00000170 0804fed0 0804fed0 00007ed0 2**2
> CONTENTS, ALLOC, LOAD, READONLY, DATA
> 9 .rel.plt 000016b8 08050040 08050040 00008040 2**2
> CONTENTS, ALLOC, LOAD, READONLY, DATA
> 10 .init 00000017 080516f8 080516f8 000096f8 2**2
> CONTENTS, ALLOC, LOAD, READONLY, CODE
> 11 .plt 00002d80 08051710 08051710 00009710 2**2
> CONTENTS, ALLOC, LOAD, READONLY, CODE
> 12 .text 00032818 08054490 08054490 0000c490 2**4
> CONTENTS, ALLOC, LOAD, READONLY, CODE
> 13 .fini 0000001b 08086ca8 08086ca8 0003eca8 2**2
> CONTENTS, ALLOC, LOAD, READONLY, CODE
> 14 .rodata 00010991 08086ce0 08086ce0 0003ece0 2**5
> CONTENTS, ALLOC, LOAD, READONLY, DATA
> 15 .eh_frame 00000004 08097674 08097674 0004f674 2**2
> CONTENTS, ALLOC, LOAD, READONLY, DATA
> 16 .data 00002420 08098000 08098000 00050000 2**5
> CONTENTS, ALLOC, LOAD, DATA
> 17 .dynamic 00000110 0809a420 0809a420 00052420 2**2
> CONTENTS, ALLOC, LOAD, DATA
> 18 .ctors 00000008 0809a530 0809a530 00052530 2**2
> CONTENTS, ALLOC, LOAD, DATA
> 19 .dtors 00000008 0809a538 0809a538 00052538 2**2
> CONTENTS, ALLOC, LOAD, DATA
> 20 .jcr 00000004 0809a540 0809a540 00052540 2**2
> CONTENTS, ALLOC, LOAD, DATA
> 21 .got 00000c20 0809a544 0809a544 00052544 2**2
> CONTENTS, ALLOC, LOAD, DATA
> 22 .bss 00000d4c 0809b180 0809b180 00053180 2**5
> CONTENTS, ALLOC, LOAD, DATA
> 23 .dynstr 000032a8 0809becc 0809becc 00053ecc 2**0
> CONTENTS, ALLOC, LOAD, READONLY, DATA
> 24 .gnu_debuglink 00000014 00000000 00000000 00057174 2**2
> CONTENTS, READONLY
> 25 .gnu.prelink_undo 000004d4 00000000 00000000 00057188 2**2
> CONTENTS, READONLY
> SYMBOL TABLE:
> no symbols
> 3) find / -type f -name openssl -
> exec {} version \;
> OpenSSL 0.9.7a Feb 19 2003
>
> Il 04.06.2018 14:35 FooCrypt ha scritto:
>
>> find / -type f -exec {} version \;
>>
>> find / -type f -exec objdump -x {} \;
>>
>> find / -type f -exec ldd {} \;
>>
>>
>> looks like you only have 1 openssl binary, 0.9.7.a on your host.
>>
>> objdump -x & ldd will show you which libraries the openssl binary is compiled to use on your host.
>>
>> so….
>>
>> objdump -x [ full path to your openssl binary ]
>>
>> ldd [ full path to your openssl binary ]
>>
>>> On 4 Jun 2018, at 10:18 PM, Sampei <sampei02 at tiscali.it> wrote: Here is result for first command: find / -type f -name openssl -exec {} version \; OpenSSL 0.9.7a Feb 19 2003 What means repeat with? What I have to type for next comand exactly please? objdump -x & ldd..... Il 04.06.2018 08:30 FooCrypt ha scritto:
>>>> find / -type f -name openssl -exec {} version \; repeat with objdump -x & ldd to determine which libraries, etc are being used.
>>>>> On 4 Jun 2018, at 3:47 PM, Sampei <sampei02 at tiscali.it> wrote: Can you help to understand if I have 2 OPenSSL installed into my "old old" server please? rpm -qa | grep openssl gives: openssl-0.9.7a-33.10 Furthermore I found out following files into /usr/local/openssl-0.9.7e (perhaps a uncompressed tar file) : apps CHANGES.SSLeay Configure diffs.6e diffs.sec6 doc FAQ install.com INSTALL.VMS MacOS makevms.com openssl.doxy PROBLEMS shlib tools bugs comms.txt crypto diffs.6x diffs.sec6e do_patch.sh fips INSTALL.DJGPP INSTALL.W32 Makefile ms openssl.spec README ssl util certs comm.txt demos diffs.7 diffs.sec7 e_os2.h include INSTALL.MacOS INSTALL.WCE Makefile.bak NEWS os2 README.ASN1 test VMS CHANGES config diffs.6 diffs.sec diffs.secfix e_os.h INSTALL INSTALL.OS2 LICENSE Makefile.org op perl README.ENGINE times If I find .cnf files: /usr/local/openssl-0.9.7e/apps/oid.cnf /usr/local/openssl-0.9.7e/apps/openssl.cnf /usr/local/openssl-0.9.7e/apps/openssl-vms.cnf /usr/local/openssl-0.9.7e/crypto/conf/ssleay.cnf /usr/local/openssl-0.9.7e/test/CAss.cnf /usr/local/openssl-0.9.7e/test/CAssdh.cnf /usr/local/openssl-0.9.7e/test/CAssdsa.cnf /usr/local/openssl-0.9.7e/test/CAssrsa.cnf /usr/local/openssl-0.9.7e/test/Sssdsa.cnf /usr/local/openssl-0.9.7e/test/Sssrsa.cnf /usr/local/openssl-0.9.7e/test/test.cnf /usr/local/openssl-0.9.7e/test/Uss.cnf /usr/share/ssl/openssl.cnf What do you think? Con Mobile Open 6 GB hai 6 Giga, 600 minuti e 300 SMS per il tuo smartphone a 9€ al mese per sempre. Passa ora a Tiscali Mobile, il nostro mese è vero! http://tisca.li/Open6GB0318 -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
>>>> -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
>>> Con Mobile Open 6 GB hai 6 Giga, 600 minuti e 300 SMS per il tuo smartphone a 9€ al mese per sempre. Passa ora a Tiscali Mobile, il nostro mese è vero! http://tisca.li/Open6GB0318 -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
>> -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
>
>
>
> Con Mobile Open 6 GB hai 6 Giga, 600 minuti e 300 SMS per il tuo smartphone a 9€ al mese per sempre. Passa ora a Tiscali Mobile, il nostro mese è vero! http://tisca.li/Open6GB0318
>
> --
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
More information about the openssl-users
mailing list