Switch to full style
Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

Wingate corrupts accounting information

May 31 06 4:02 am

WG 6.1.1 build 1077
Updating to 6.1.2 is sheduled for tomorrow, but I don't think it will help, because this problem occured with WG 5.2.x (100%) or even with earlier versions.

Here's the heart of the problem.
When I stop or restart Wingate service, it always does the same thing: writes (random?) negative value in "Opening balance" field of one specific user's account settings page. All other fields remain unchanged and correct, so since Closing Balance=Opening balance - Total Charges, this leads to negative "Closing Balance" field and denial of service for user.

For example: Account balance was 419600, after restart it changed to -9896,7296

Deleting and creating again this account with same settings didn't help in WG 6.1.1.
Also, when we used WG 5.x.x, there was 2 users with same problem, and deleting and creating again helped one of them %)

And the most interesting (and probably helpful for bug hunting): in both cases, "unlucky" username contained substring "Melekhin".
Would someone check the sources please?
I'm tired to fix it every time...

May 31 06 7:32 am

Hi

Thanks for reporting that, I'll have a look. The code doesn't depend on the user name (uses the same code to save traffic and accounting stats for all users). We'll see if we can replicate this though.

Regards

Adrien
Post a reply