acct_counters64, check items over 4 G
Hi, How do I overcome the 4 G limitation in sqlcounter? My sqlcounter is working. But I only can set the check item under 4 G. When I go over the 4 G limit, the check value changes. I know this is due to the 32 bit limitation. Jake He
On 27 May 2014, at 09:47, * <zhex900@gmail.com> wrote:
Hi,
How do I overcome the 4 G limitation in sqlcounter?
My sqlcounter is working. But I only can set the check item under 4 G. When I go over the 4 G limit, the check value changes. I know this is due to the 32 bit limitation.
Upgrade to v3.0.x, it's a limitation in the counter widths used in earlier versions. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
Hi, I am already using v. 3.0.3. On 27/05/2014 5:10 PM, "Arran Cudbard-Bell" <a.cudbardb@freeradius.org> wrote:
On 27 May 2014, at 09:47, * <zhex900@gmail.com> wrote:
Hi,
How do I overcome the 4 G limitation in sqlcounter?
My sqlcounter is working. But I only can set the check item under 4 G. When I go over the 4 G limit, the check value changes. I know this is due to the 32 bit limitation.
Upgrade to v3.0.x, it's a limitation in the counter widths used in earlier versions.
Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On 27 May 2014, at 12:07, * <zhex900@gmail.com> wrote:
Hi,
I am already using v. 3.0.3.
Use v3.0.x head, or manually define the attributes as integer64 type in raddb/dictionary. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
Hi, It worked. Thank you. I changed the attribute type in /etc/freeradius/dictionary from integer to integer64. ATTRIBUTE Monthly-Data-Quota 3000 integer64 On Tue, May 27, 2014 at 7:20 PM, Arran Cudbard-Bell < a.cudbardb@freeradius.org> wrote:
On 27 May 2014, at 12:07, * <zhex900@gmail.com> wrote:
Hi,
I am already using v. 3.0.3.
Use v3.0.x head, or manually define the attributes as integer64 type in raddb/dictionary.
-Arran
Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On 28 May 2014, at 03:55, * <zhex900@gmail.com> wrote:
Hi,
It worked. Thank you.
Thanks for confirming. The module was still creating 32bit integer type attributes on instantiation. I've fixed this in v3.0.x HEAD so it creates 64bit types. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
participants (2)
-
* -
Arran Cudbard-Bell