Branch: refs/heads/dlopen
Home: https://github.com/fabbione/kronosnet
Commit: 868eb7816288259f66724f2a9938cb91fdaf5953
https://github.com/fabbione/kronosnet/commit/868eb7816288259f66724f2a9938cb…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-08-30 (Wed, 30 Aug 2017)
Changed paths:
M libknet/handle.c
M libknet/internals.h
Log Message:
-----------
[handle] remove knet handle tracker
reload of shlib should be done on a per handle base to avoid complex
global functions.
For example, if you application is using 2 knet_h and you need to reload
libbz2, then switch both knet_h to use another compression method (or none)
and switch back to libbz2.
Similar can be done with nss/openssl once openssl support is added.
A global function to reload all library would a very complex error reporting
mechanism and could leave some handles improperly configured.
The application would have a better understanding of the needs at any given
time.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/dlopen
Home: https://github.com/fabbione/kronosnet
Commit: 31b653109148882f57b872b8482c44e0ffb74fee
https://github.com/fabbione/kronosnet/commit/31b653109148882f57b872b8482c44…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-08-29 (Tue, 29 Aug 2017)
Changed paths:
M libknet/common.c
Log Message:
-----------
[dlopen] if the library is a symlink, display the symlink info to the final binary
it cannot prevent symlink attacks but definetely helps to identify them
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/dlopen
Home: https://github.com/fabbione/kronosnet
Commit: 60ac6f6780b9da6f06bda984485d264b9c405a77
https://github.com/fabbione/kronosnet/commit/60ac6f6780b9da6f06bda984485d26…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-08-28 (Mon, 28 Aug 2017)
Changed paths:
M libknet/common.c
M libknet/common.h
M libknet/compress_bzip2.c
M libknet/compress_lz4.c
M libknet/compress_lzma.c
M libknet/compress_lzo2.c
M libknet/compress_zlib.c
M libknet/crypto_nss.c
M libknet/tests/Makefile.am
M libknet/tests/crypto_bench.c
M libknet/tests/int_crypto.c
Log Message:
-----------
[common] use a standard fn to dlopen libraries and print load path info
might be useful to detect LD_PRELOAD attack
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/dlopen
Home: https://github.com/fabbione/kronosnet
Commit: 65507705b1d758b05bf2f7a629c26ec753432bb4
https://github.com/fabbione/kronosnet/commit/65507705b1d758b05bf2f7a629c26e…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-08-28 (Mon, 28 Aug 2017)
Changed paths:
M libknet/crypto_nss.c
Log Message:
-----------
[crypto] nss: be more clear about shut down/unload situation
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/dlopen
Home: https://github.com/fabbione/kronosnet
Commit: b74f5954793e11f8996c31d287c2777188b7f5d7
https://github.com/fabbione/kronosnet/commit/b74f5954793e11f8996c31d287c277…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-08-26 (Sat, 26 Aug 2017)
Changed paths:
M libknet/tests/Makefile.am
M libknet/tests/crypto_bench.c
M libknet/tests/int_crypto.c
Log Message:
-----------
[tests] fix crypto test to deal with new nss dlopen space
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>