Skip to contentSkip to conversation

OpenVPN per client cipher

Openvpn-devel Gert Doering 3 participants 3 messages Sep 15, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]...

#1 lore raw

Hi,

(taking this over to openvpn-devel, as this is not so much a "user" question if it concerns ongoing development patches :) )

Quoted 3 lines · Alex K

I built openvpn 2.4.3-1 on server using patch also to allow for per client cipher through ccd file.
I took the patch from https://community.openvpn.net/openvpn/ticket/845.

[..]

Quoted 3 lines

When connecting with clients having the same openvpn version as the server (2.4.3-1) and using the same configs, it seems that the server ignores the "cipher none" at ccd file and logs the following:

Seems NCP ("per-client cipher negotiation") trumps ccd/ here.

If you configure "--disable-ncp" on the client side, it should work.

[..]

Quoted 1 line

Is there something that is causing this behavior?

Cipher negotiation :-)

Thanks for testing the per-client ccd cipher patch - this is definitely useful. Interaction with NCP needs a bit more thought, it seems.

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#2 lore raw
Quoted 2 lines · Gert Doering

Thanks for testing the per-client ccd cipher patch - this is definitely useful. Interaction with NCP needs a bit more thought, it seems.

Yeah. Until now, we've always said "NCP trumps --cipher". I guess the question is whether 'cipher' in a CCD file should trump (ie, disable) NCP. It might be what users expect, but it's also somewhat inconsistent. I think it's better to have people explicitly add 'ncp-disable' to the ccd too if they want it to trump NCP. (I'd need to check whether that's allowed right now.)

-Steffan

#3 lore raw
In reply to Gert Doering

Thanx Gert.
Just put --ncp-disable on client side and server seems to respect the cipher defined on ccd.

I will be following up on devel for such type of issues.

Thanx,
Alex

Quoted 40 lines · Gert Doering

Hi,

(taking this over to openvpn-devel, as this is not so much a "user" question if it concerns ongoing development patches :) )

Quoted 1 line · Alex K

I built openvpn 2.4.3-1 on server using patch also to allow for per

client

Quoted 2 lines

cipher through ccd file.
I took the patch from https://community.openvpn.net/openvpn/ticket/845.

[..]

Quoted 1 line

When connecting with clients having the same openvpn version as the

server

Quoted 1 line

(2.4.3-1) and using the same configs, it seems that the server ignores

the

Quoted 1 line

"cipher none" at ccd file and logs the following:

Seems NCP ("per-client cipher negotiation") trumps ccd/ here.

If you configure "--disable-ncp" on the client side, it should work.

[..]

Quoted 1 line

Is there something that is causing this behavior?

Cipher negotiation :-)

Thanks for testing the per-client ccd cipher patch - this is definitely useful. Interaction with NCP needs a bit more thought, it seems.

gert

--
USENET is *not* the non-clickable part of WWW!

                                                           //

www.muc.de/~gert/
Gert Doering - Munich, Germany
[email protected]...
fax: +49-89-35655025 [email protected]...
muenchen.de