Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: f8ed4c6174fbfca994b71251c152e4a04f7ee7b4
https://github.com/fabbione/kronosnet/commit/f8ed4c6174fbfca994b71251c152e4…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-09-14 (Thu, 14 Sep 2017)
Changed paths:
M libknet/compress.c
M libknet/crypto.c
Log Message:
-----------
[dlopen] fix crypto/compress internal name space for similar functions
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 8d16563a3bc1cb14de01f8efc8b819e4519384c5
https://github.com/fabbione/kronosnet/commit/8d16563a3bc1cb14de01f8efc8b819…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-09-14 (Thu, 14 Sep 2017)
Changed paths:
M libknet/common.c
Log Message:
-----------
[dlopen] use RTLD_NOW instead of RTLD_LAZY to avoid perf hit on fast path
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: fbc5c5d9aa8c608940b84a742abd134f20dda254
https://github.com/fabbione/kronosnet/commit/fbc5c5d9aa8c608940b84a742abd13…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-09-14 (Thu, 14 Sep 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/master
Home: https://github.com/fabbione/kronosnet
Commit: 8b727a2c14a42549d2a5476211ff00a6a50c42a0
https://github.com/fabbione/kronosnet/commit/8b727a2c14a42549d2a5476211ff00…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-09-14 (Thu, 14 Sep 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/master
Home: https://github.com/fabbione/kronosnet
Commit: 728e105b4e54fabd2fa31479264130d3ceb0d9a0
https://github.com/fabbione/kronosnet/commit/728e105b4e54fabd2fa31479264130…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-09-14 (Thu, 14 Sep 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>