Server code modification to allow the cipher to be optional
Posted: Mon Dec 19, 2011 5:16 pm
The goal is to have an Open VPN Server that allows clients to connect with or without a cipher.
Currently if a server is configured to use a cipher and a client with cipher set to "none" is trying to connect we get this warning in the log and the client is not able to connect:
"WARNING: 'cipher' is used inconsistently, local='cipher AES-128-CBC', remote='cipher [null-cipher]'".
So we want to modify the code of the server to allow clients with "none" cipher to connect as if the server was also configured not to use cipher and if a client with a matching cipher is connecting, it would also be able to connect.
We've considered using different ports for both types of clients, but we already have 8 instances of Open VPN servers running on different ports, and because of redundancy we have identical setup on 6 hosts. So doubling number of ports is no small task. Also if you consider fallback procedures, it makes changing the code seem more attractive.
Before we spend too much time trying to do this, is there anyone who can imagine the amount of work it would mean? Is it a relatively easy thing to do or a tremendous task? Is it more like tweaking the code here and there or more like changing the whole ideology of the product?
Is there anyone who'd be willing to do this for us?
All suggestions are welcome.
Thank you.
Currently if a server is configured to use a cipher and a client with cipher set to "none" is trying to connect we get this warning in the log and the client is not able to connect:
"WARNING: 'cipher' is used inconsistently, local='cipher AES-128-CBC', remote='cipher [null-cipher]'".
So we want to modify the code of the server to allow clients with "none" cipher to connect as if the server was also configured not to use cipher and if a client with a matching cipher is connecting, it would also be able to connect.
We've considered using different ports for both types of clients, but we already have 8 instances of Open VPN servers running on different ports, and because of redundancy we have identical setup on 6 hosts. So doubling number of ports is no small task. Also if you consider fallback procedures, it makes changing the code seem more attractive.
Before we spend too much time trying to do this, is there anyone who can imagine the amount of work it would mean? Is it a relatively easy thing to do or a tremendous task? Is it more like tweaking the code here and there or more like changing the whole ideology of the product?
Is there anyone who'd be willing to do this for us?
All suggestions are welcome.
Thank you.