el1n / OpenWRT-package-softether

-
77 stars 33 forks source link

fails to build with trunk (openssl 1.0.2g changes) #17

Closed Andy2244 closed 8 years ago

Andy2244 commented 8 years ago

The openssl 1.0.2g changes break softether: Network.c:(.text+0xb3d7): undefined reference to 'SSLv3_method'

OPENSSL_NO_SSL3_METHOD Seems to-be defined by default now and i could not find a option to enable those exports. So instead i did this inside Network.c:

if (client_tls == false)
{
#ifndef OPENSSL_NO_SSL3_METHOD
    SSL_CTX_set_ssl_version(ssl_ctx, SSLv3_method());
#endif

bye Andy

alberts-s commented 8 years ago

Most likely this seems to also affect Chaos Calmer failing the network check when using vpncmd.

Checking 'Network system'... Connect Failed. (0) Fail

el1n commented 8 years ago

changes are probably like this. https://github.com/el1n/SoftEtherVPN/commits/issue17

but need to think because the softether still supporting SSLv3.

el1n commented 8 years ago

for now, sevpn4wrt is no longer supporting SSLv3 with OpenWrt 15.05 or later version.