Message-ID: Date: Wed, 23 Oct 2024 18:01:49 +0300 MIME-Version: 1.0 Content-Language: en-US References: <20241023134903.66485-1-rzvncj@...277...> <4bf82643-74b0-4034-a4e1-67d0ac3ce51b@...277...> From: Razvan Cojocaru In-Reply-To: Subject: Re: [Openvpn-devel] [PATCH] Allow setting an empty auth-token in push replies List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: Gert Doering Cc: openvpn-devel@lists.sourceforge.net On 10/23/24 17:50, Gert Doering wrote: > OK, so I see what is happening - you're sending an AUTH_FAILED "out of > the blue", not in response to a client handshake, right? Exactly. In response to a client handshake there's no problem. > OpenVPN 2 *should* invalidate the token upon the reconnect (and then > getting an AUTH_FAILED)... so what happens in this case if you let it > reconnect? If we let it reconnect, the first re-connection attempt will fail at the handshake stage as expected. But OpenVPN GUI tools will tend to show _two_ failed connections (the first "out of the blue" AUTH_FAILED one, and the second actual one), which is confusing for clients. Thanks, Razvan