Hello everyone,
I would like to set up a different physical channel for the key exchange of my VPN and i would like to know if it's possible to do it with a plugin or if the key exchange system depends directly to openssl.
thanks in advance
igorlor
plugin for different symmetric key exchange
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 6
- Joined: Thu Jun 14, 2012 3:27 pm
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: plugin for different symmetric key exchange
which key exchange are we talking about? the initial control channel connection is negotiated using TLS ; this depends on the SSL lib used (openssl or polarssl in openvpn 2.3)
the data channel key exchange is done via the control channel and is a custom openvpn thing.
the data channel key exchange is done via the control channel and is a custom openvpn thing.
-
- OpenVpn Newbie
- Posts: 6
- Joined: Thu Jun 14, 2012 3:27 pm
Re: plugin for different symmetric key exchange
I would like to code a homemade key exchange system. Let's say i want to do what openssl does but using another physical channel. For example: Do the key exchange using a radio communication channel and data tranfer using a DSL line.
The goal is to separate physically the control channel and the data channel. Should I change directly openssl?
The goal is to separate physically the control channel and the data channel. Should I change directly openssl?
-
- OpenVpn Newbie
- Posts: 6
- Joined: Thu Jun 14, 2012 3:27 pm
Re: plugin for different symmetric key exchange
What i would like to do is to use different physical channels for key negotiation (and maybe not using TLS). I guess OpenVPN takes keys from a OpenSSL interface, so is it possible to configure this call to use another system which involves another physical connection?
If i am not wrong both key negotiation(initial and data channel key exchange) are done by TLS/SSL.
If i am not wrong both key negotiation(initial and data channel key exchange) are done by TLS/SSL.
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: plugin for different symmetric key exchange
this is an interesting idea but it would mean a protocol of openvpn itself; you would not have to change the openssl code but you will end up with a non-compatible version of openvpnI would like to code a homemade key exchange system. Let's say i want to do what openssl does but using another physical channel. For example: Do the key exchange using a radio communication channel and data tranfer using a DSL line.
the data channel key exchange is done by OpenVPN itself , not using any standard TLS/SSL techniques.If i am not wrong both key negotiation(initial and data channel key exchange) are done by TLS/SSL.
-
- OpenVpn Newbie
- Posts: 6
- Joined: Thu Jun 14, 2012 3:27 pm
Re: plugin for different symmetric key exchange
Looking the code, if i create another keygen method (key_method_NEW_read() and key_method_NEW_write() in ssl.c file) which creates keys and share them over other physical channel it will be done right?janjust wrote:the data channel key exchange is done by OpenVPN itself , not using any standard TLS/SSL techniques.
PD: Maybe i should send the question to the dev maillist?
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: plugin for different symmetric key exchange
yup, please doPS: Maybe i should send the question to the dev maillist?
