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

Wingate 5.2.3.901 user account traffic overflow (dword)

Jun 24 04 10:10 pm

Hello !
I'm looking for a help solving problem with traffic counting.
Problem is: while counting traffic (incoming, outgoing) in a User->Account tab Wingate can not process values larger than 4 Gb (e.g. DWord). It just resets traffic counter when it raches 4 Gb mark to zero value.
But in registry (\Wingate\UserDatabase\User\) i found two Dwords i suppose reserved for cases like mine - ClientRecvTrafficRateHi and ClientRecvTrafficRateLo. So, why Wingate can't use them to correctly process numbers greater than unsigned 32-bit ? Am i do something wrong or this is a F.A.Q. situation ?
Is there any way to correctly count traffic above 4 Gb limit using Wingate ? .... Nobody affected by this bug ? OK, in 6.0.0 beta the 4 GB limit is also present.


Best regards, Dmitry

Jun 26 04 3:29 am

hmmmm

those are two halves of an 8 byte floating point number used for currency, but looks like the traffic is a DWORD...

we should be able to change that to a 64 bit int....

Adrien
Post a reply