Re: [Openvpn-devel] [PATCH 2/2] Fix condition to generate session keys

2021-03-27 Thread Arne Schwabe
> > Basically context_auth is set CAS_SUCCEEDED upon first connection cycle, > therefore a new connection that re-uses the existing instance will > already have context_auth set to CAS_SUCCEEDED and a new session key > will be generated. > > I wonder if the connection can really be fully workin

Re: [Openvpn-devel] [PATCH 2/2] Fix condition to generate session keys

2021-03-27 Thread Antonio Quartulli
Hi, On 26/03/2021 14:10, Arne Schwabe wrote: > Am 25.03.21 um 23:37 schrieb Antonio Quartulli: >> Hi, >> >> On 15/12/2020 17:42, Arne Schwabe wrote: >>> For --nobind clients OpenVPN reuses the context and tls_multi structs >>> of the previous clients and does not rerun the connect scripts on >>> c

Re: [Openvpn-devel] [PATCH 2/2] Fix condition to generate session keys

2021-03-26 Thread Arne Schwabe
Am 25.03.21 um 23:37 schrieb Antonio Quartulli: > Hi, > > On 15/12/2020 17:42, Arne Schwabe wrote: >> For --nobind clients OpenVPN reuses the context and tls_multi structs >> of the previous clients and does not rerun the connect scripts on >> connect. But since it is a new client connection, the

Re: [Openvpn-devel] [PATCH 2/2] Fix condition to generate session keys

2021-03-25 Thread Antonio Quartulli
Hi, On 15/12/2020 17:42, Arne Schwabe wrote: > For --nobind clients OpenVPN reuses the context and tls_multi structs > of the previous clients and does not rerun the connect scripts on > connect. But since it is a new client connection, the key_id is 0 and > we postpone the key generation but it w