Date: Wed, 18 Jan 2023 18:18:26 +0100 From: Gert Doering Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="deeZapbLN/bLk9j1" Content-Disposition: inline In-Reply-To: Subject: Re: [Openvpn-devel] [Openvpn-users] 2.6rc2 server with DCO and 2.6rc2 client with DCO: not working List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ralf Hildebrandt Cc: openvpn-users@lists.sourceforge.net, openvpn-devel@lists.sourceforge.net --deeZapbLN/bLk9j1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, (copying openvpn-devel, as Arne and Antonio are not reading -users) On Wed, Jan 18, 2023 at 05:34:51PM +0100, Ralf Hildebrandt via Openvpn-user= s wrote: > You might have noticed our bug reports regarding capabilities && 2.6rc2. > The whole point of it all was to test 2.6.x's DCO in our openvpn infrastr= ucture :) And we appreciate this :-) > But once we enabled DCO on the server side, things started to go awry - a= gain. >=20 > 2.5.x was not able to connect.=20 > So I thought: "Meh, maybe I should use 2.6rc on both cient and server".=20 > Said and done. >=20 > Now the server complains: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D [..] > Jan 18 17:16:36 localhost openvpn-udp[50313]: hildeb/10.31.123.139:39440 = Note: '--allow-compression' is not set to 'no', disabling data channel offl= oad. > Jan 18 17:16:36 localhost openvpn-udp[50313]: hildeb/10.31.123.139:39440 = Consider using the '--compress migrate' option. > Jan 18 17:16:36 localhost openvpn-udp[50313]: hildeb/10.31.123.139:39440 = MULTI: client has been rejected due to incompatible DCO options This is a bit surprising. As you say, it *should* do that for the whole server, not on a per-client connection. Is there something related to compression in the main config and/or in the per-client config (ccd, plugin, ...)? [..] > I'm reading this as: The server doesn't like the client based on "incompa= tible DCO > options", obviously due to "allow-compression" not being set to "no" > (which is the default, according to the docs)=20 Correct. This is surprising, and should not happen. (Sometimes its unavoidable - like, global options *are* compatible with DCO, and then a per-client config shows up with incompatible options - and then there is nothing the server can do, as it can not switch to non-DCO for an individual client. But see above, should not happen here) [..] > allow-compression no > --- snip --- >=20 > So we clearly set "allow-compression" to "no". And no other compression > is active (I think). Indeed! Anything special config generated by the client-connect script, maybe? [..] > 2023-01-18 17:16:37 AUTH: Received control message: AUTH_FAILED > 2023-01-18 17:16:37 SIGTERM received, sending exit notification to peer Signalling server->client is limited at this point, but maybe we could find a way to make this "AUTH_FAILED:server options incompatible with DCO" or so. Arne? gert --=20 "If was one thing all people took for granted, was conviction that if you=20 feed honest figures into a computer, honest figures come out. Never doubte= d=20 it myself till I met a computer with a sense of humor." Robert A. Heinlein, The Moon is a Harsh Mistre= ss Gert Doering - Munich, Germany gert@...1296... --deeZapbLN/bLk9j1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGcBAEBAgAGBQJjyCniAAoJEB2Cnv7KVigSZroL/17VVI53cJEe0MRc/w2mQMny P+G+x5vy2NoiO+aSGcNU+OmrsTk66LGymxKWIT7Nr+FZoMhbWXkQ8BKbuoJ+vKgw NaODTXVNag7hUu96Kk+3qB20MY7HtV3Qxw67DrCKlg7P9DR0ILneZVzP41NFsWKL rZYKWsx97X9ZH/ONLL9Yu8mk7nR9W1e+jb9/HMWBcU/Lqd3Jp/7x20//FJrNf0gU 21w+ZHNl4kMhJ2V6siS81xHrkeixkE/Kvk8XW6/sFPWBzFHiWFhlWIujWGb9QmnF KsLW3TcJ0L5Cm3Q8T8+wlPnIN4N3swSkxAYCwe0rzTsAxsAIneGnVoZl90EE0M3V lH6JeH6jKgOnHsTGcOjmkgK8Gw93NKXyVrzwCQH6dgHfxN8twKQYkfVtaLl7NksI SByItJyXhHP323x+9t/lghkOVhagPXUrvNljjomGm1yhTFo+L6UROtbCekaLttx4 b60gHY1X1kNBEzCKfcjPQ4oG7/QQhr5PiFduqbQa3Q== =VSZJ -----END PGP SIGNATURE----- --deeZapbLN/bLk9j1--