Closed #1473.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1473#event-1520803682___
Kamailio (SER) - Development Mailing List
Hi Dan,
It's working now with latest master.
`root@qa1-voip:/usr/src/kamailio-test/src/modules/auth_ephemeral# ldd
auth_ephemeral.so
linux-vdso.so.1 => (0x7ffd76dbd000)
libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
(0x7fd625854000)
libc.so.6
I added pkg-config use for libcrypto, if that exists. Can you try now with
latest master or 5.1 branches?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
Hi,
I've followed lead from @amessina and @miconda
```
root@qa1-voip:/usr/src/kamailio-test/src/modules/auth_ephemeral# make
TLS_HOOKS=1 TLS_EXTRA_LIBS="-lcrypto -lz -lssl " Q=0
config.mak included
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops
-falign-loops
It looks like `-lcrypto -lz -lkrb5` have to be added to the linking libs, based
on @amessina comment. Maybe the new debian has a pkg-config for libcrypto
itself, no longer just one option for libssl.
--
You are receiving this because you are subscribed to this thread.
Reply to this email
Hi Dan,
Just did clean checkout of latest master
```
root@qa1-voip:/usr/src/kamailio-test# cd src/modules/auth_ephemeral
root@qa1-voip:/usr/src/kamailio-test/src/modules/auth_ephemeral# make clean
root@qa1-voip:/usr/src/kamailio-test/src/modules/auth_ephemeral#
Not sure if this helps, but this is the output of debian official build on i386
[0]
```
/usr/bin/make every-module group_include="kautheph" quiet=verbose
make[1]: Entering directory '/<>'
/usr/bin/make -C src/ every-module
make[2]: Entering directory '/<>/src'
config.mak loaded
Makefile.defs
Then based on @amessina comment, it seems that the list of libs to link against
is not completed for auth_ephemeral.
@marcinkowalczyk - can you do following commands and then past the output here:
```
cd src/modules/auth_ephemeral
make clean
make Q=0
```
Do these commands with stock kamailio,
Just keeping an eye on this ticket... Using TLS and auth_ephemeral on Fedora
based systems (currently Fedora 27 with openssl-1.1.0g-1.fc27.x86_64) I haven't
run across this issue, though I compile with `TLS_EXTRA_LIBS="-lcrypto -lz
-lkrb5"` and don't need static linking.
--
You are receiving
I do not know the insights of the module and what are the limitations. But one
can use tls in an edge proxy, then switch to udp and use auth module in the
main proxy. So packaging still makes sense in any case.
--
You are receiving this because you are subscribed to this thread.
Reply to this
Hi,
If there is an conflict between tls and emperal than there no point to build
auth_empheral as deb.
Regards
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
Good that its works now - I suspected something like this (comment in the
Makefile: Static linking, if you'd like to use TLS and AUTH_EPHEMERAL at the
same time)
Maybe @ngvoice can comment on this issue, if there are some plans to remove
this limitation. Otherwise this should be noted in the
Seems I managed to get module running via static linking
`LIBS+= /usr/lib/x86_64-linux-gnu/libssl.so.1.1
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
`
question is why it does not want to work with dynamic linking, while ie tls.so
links ok to libssl and libcrypto
--
You are receiving this
I think it should use dynamic linking same as tls module.
```
root@qa1-voip:/usr/src/kamailio# make clean & && cd
src/modules/auth_ephemeral/; make && ldd auth_ephemeral.so && cd ../tls/ &&
make && ldd tls.so
[cut]
make -C src/
make[1]: Entering directory '/usr/src/kamailio/src'
make[1]:
Do you linked the auth_ephemeral statically?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1473#issuecomment-371065722___
Kamailio
OS: Ubuntu Xenial 16.04
```
libssl-dev:amd64 1.0.2g-1ubuntu4.10
libssl-doc 1.0.2g-1ubuntu4.10
libssl1.0.0:amd641.0.2g-1ubuntu4.10
openssl 1.0.2g-1ubuntu4.10
```
tried with `TLS_HOOKS=1 `
on 5.1 branch (pulled this
Hello, I was not able to reproduce this with the git master, the module loaded
fine for me. Can you post the ldd output from your compilation? This is what I
got on my machine:
$ kamailio2/src/modules/auth_ephemeral> ldd auth_ephemeral.so
linux-vdso.so.1 (0x7ffce5dc)
Hi,
I'm trying to get auth_empheral working on kamailio 5.1.2, but it fails to load
`load_module(): could not open module
:
/usr/lib/x86_64-linux-gnu/kamailio/modules/auth_ephemeral.so: undefined symbol:
EVP_sha512`
Tried to compile from source and install from kamailio-autheph-modules
18 matches
Mail list logo