Netfuture/tlsinterposer

Does not work with ejabberd on CentOS

Closed this issue · 1 comments

When used with ejabberd on CentOS, encrypted connections to ejabberd all fail.

ejabberd's manual library loading somehow is not fully recognized by the dynamic loader. Therefore, dlsym(RTLD_NEXT, …) does not work. The fallback option was to load libssl.so.1.0.0; however, on CentOS, it is called libssl.so.1.0.1.

Other distributions with OpenSSL 1.0.1 versions still name the .so 1.0.0 (e.g. Ubuntu 14.04). If the version naming were consistent across the distributions, automatic naming would be easy. Right now, we're instead falling back to the generic libssl.so name, which might cause the library to be mapped twice.

Fixed in 67dda5f