Possible race condition during bad connection ending up creating multiple entries in ovpn_clents table and forbid user to connect with his vpn anymore
Created by: Psycojoker
Ohai,
For several users (5 I think) mutliples entries were found in the ovpn_clients table, sometime up to several dozens. Those users wre only using their internet cube, so the probability that they tried to connect several computers at the same time is close to zero.
It is very likely that a entry is not cleaned in the able or something like that and that there is no mecanism right now to handle this situation, therefor the table is filled, never cleaned and the user is never able to connect anymore.
Related part of the code https://github.com/Neutrinet/ISP-ng/blob/01d7be4f229617e5547d43c86c8769d632236309/src/main/java/be/neutrinet/ispng/vpn/Client.java#L53