From: Chang Im Date: Fri, 26 Jul 2019 23:57:47 +0000 Message-ID: Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_SN6PR10MB30218B0941923CED2B28AA86F0C00SN6PR10MB3021namp_" MIME-Version: 1.0 Subject: [Openvpn-devel] Deferred mode auth_control_file not removed List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "openvpn-devel@lists.sourceforge.net" --_000_SN6PR10MB30218B0941923CED2B28AA86F0C00SN6PR10MB3021namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, With openvpn 2.4.5, we are using deferred mode for user verification throug= h plugin library. Noticed there are a lot of auth_control_files are left a= round and wondering if we need to do our own clean up of these files outsid= e of openvpn. The scenario involves two factor authentication where end user has to appro= ve through their smartphone app which may take some time. The left-over files mostly contains "0" which indicates a failure due to ti= meout. If the second factor authentication is done within a minute, then auth_cont= rol_file is deleted right away if the auth result is failure. The auth res= ult is success, then the file is deleted when the connection is closed. Any suggestion is appreciated. Thanks. -chang --_000_SN6PR10MB30218B0941923CED2B28AA86F0C00SN6PR10MB3021namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,

With openvpn 2.4.5, we are using deferred mode for user verification throug= h plugin library.  Noticed there are a lot of auth_control_files are l= eft around and wondering if we need to do our own clean up of these files o= utside of openvpn.

The scenario involves two factor authentication where end user has to appro= ve through their smartphone app which may take some time.

The left-over files mostly contains "0" which indicates a failure= due to timeout. 

If the second factor authentication is done within = a minute, then auth_control_file is deleted right away if the auth result i= s failure.  The auth result is success, then the file is deleted when the connection is closed.

Any suggestion is appreciated.

Thanks.
-chang
--_000_SN6PR10MB30218B0941923CED2B28AA86F0C00SN6PR10MB3021namp_--