Hello Julian,

thanks for your quick response. I know about --cipher none options in
P2P mode, but for testing with multiple clients I need --mode server.

As for the --tls-cipher option, NONE is not working for me. --show-tls
also lists no other "non encrypted" cipher I could use.
Besides it still seems to do the TLS handshake right?

Is there any way I can have the unencrypted P2P communication with
multiple connected clients (without having OpenVPN running in
parallel)?

Best Regards,
Valentin

On Mon, Aug 31, 2015 at 12:56 PM, Jan Just Keijser <[email protected]> wrote:
> Hi Valentin,
>
> Valentin Sawadski wrote:
>>
>> Hello,
>>
>> I'm looking for a way to remove any encryption or MAC from OpenVPN in
>> "--mode server".
>>
>> Since I'm new to the OpenVPN code base my starting point right now
>> will be patching "options.c" to allow "--mode server" without TLS.
>> Will this already be enough to make it work or is TLS tightly
>> integrated into the workings of the mode?
>>
>> Thanks for any pointers!
>>
>
>
> you don't need to run openvpn using '--mode server' at all. If you run a
> poin-to-point connection like this
>
>  openvpn --ifconfig 10.200.0.1 10.200.0.2 --dev tun --proto udp --cipher
> none --auth none
>
>  openvpn --ifconfig 10.200.0.2 10.200.0.1 --dev tun --proto udp --cipher
> none --auth none --remote <remote host>
>
> then you'll end up with a fully plaintext tunnel.
> If you insist on using (useless) certificates and some form of "--mode
> server" then I'd suggest using
>
>  --mode server   --tls-cipher NONE --cipher none --auth none
>
>
> this should also disable the TLS cipher as well.
> IOW, no code changes should be needed at all :)
>
> HTH,
>
> JJK
>



-- 
Valentin Sawadski
Founder & Embedded Software

Tel.: +49 - (0) 89 - 716 77 86 - 15
Fax: +49 - (0) 89 - 716 77 86 - 99
Mobil: +49 - (0) 162 - 460 163 4


facebook.com/tado | twitter.com/tado | youtube.com/tado

www.tado.com | tado° GmbH | Lindwurmstr. 76 | 80337 Munich | Germany

Managing Directors: Christian Deilmann | Johannes Schwarz | Leopold v. Bismarck

Registered with the Commercial Register Munich as HRB 194769 B |
VAT-No: DE 280012558

Reply via email to