Hey JJ,

Thanks for a quick reply.
I would like to understand it better. How does OpenVPN manage SSL
handshakes? There might be some point where it initiates and terminates an
SSL session. What kind of methods are incorporated in OpenVPN.
A simple example being- if I want to store the negotiated session in a
session variable, I would ideally do it just before the SSL_shutdown() call
and will be using that stored session just before the SSL_connect() call
(by setting the session to the context) in a "true" SSL aplication.
Where do I do this kind of stuff in OpenVPN?

Thanks

On Fri, Apr 22, 2016 at 5:20 PM, Jan Just Keijser <janj...@nikhef.nl> wrote:

> Hi,
>
> On 22/04/16 10:16, Shubham Chauhan wrote:
>
>> Hello,
>>
>> I was going through the codebase, and found myself a bit confused. I
>> wanted to customize some functionalities and run some tests
>>
>> I was specifically looking for the methods where we start (performing the
>> handshake) and end an OpenSSL session.
>>
>> How and where are the OpenSSL calls like the SSL_connect(),
>> SSL_SESSION_free(), SSL_shutdown(),  SSL_free(), implemented?
>>
>> I am following openvpn's release/2.3 branch on github:
>> https://github.com/openvpn/openvpn/tree/release/2.3
>>
>> all openssl code is concentrated in ssl_openssl.c and
> ssl_verify_openssl.c.
> However, OpenVPN is not a "true" SSL application so you won't find
> SSL_connect or SSL_shutdown - connections are established in a different
> manner, as OpenVPN normally runs over UDP and SSL_connect() and friends
> don't like that.
>
> HTH,
>
> JJK
>
>


-- 
Regards
Shubham Chauhan
2013099
B.Tech CSE

Reply via email to