[RADIATOR] Acct-Gigawords Hook (from the goodies dir)

Paul Lattimer paul.lattimer at fred.com.au
Sun Jun 14 18:53:47 CDT 2009


That's got it.
Thanks very much Hugh.

I simply removed "Pre", as "ClientHook" is still a global option.

Working like a charm.

Paul

-----Original Message-----
From: Hugh Irvine [mailto:hugh at open.com.au] 
Sent: Monday, 15 June 2009 9:30 AM
To: Paul Lattimer
Cc: radiator at open.com.au
Subject: Re: [RADIATOR] Acct-Gigawords Hook (from the goodies dir)


Hello Paul -

This problem has been discussed earlier this year.

The solution is to use a "ClientHook" rather than a "PreClientHook".

Assuming of course you are running Radiator 4.4.

This is because of some changes to the packet decoding routines.

Otherwise I will need to see a copy of your configuration file and a  
trace 5 debug showing what is happening.

regards

Hugh


On 15 Jun 2009, at 09:02, Paul Lattimer wrote:

> Hello List,
>
> I recently plugged the acctgigawords-hook.pl code in to my radiator  
> and had gigawords turned ON in our Cisco LNS.
> I expanded the field in our mysql database to accept the larger  
> datasize.
>
> I'm seeing weird (possibly binary) data in the debug log and no  
> multiplication of gigaword counter * 4G + IN|OUT octet being placed  
> in the database.
>
> Here is what I am seeing in the debug log..
>
> --------------------------8-< ------------snip
> Mon Jun 15 08:52:44 2009: DEBUG: Acct-Input-Gigawords attribute  
> present,Counter overflowed.
> Mon Jun 15 08:52:44 2009: DEBUG: Acct-Input-Gigawords=,Acct-Input- 
> Octets =J� Mon Jun 15 08:52:44 2009: DEBUG: Calculated and  
> replaced Acct-Input-Octets=0 Mon Jun 15 08:52:44 2009: DEBUG: Acct- 
> Output-Gigawords attribute present,Counter overflowed.
> Mon Jun 15 08:52:44 2009: DEBUG: Acct-Output-Gigawords=,Acct-Output- 
> Octets=Ú½5
> Mon Jun 15 08:52:44 2009: DEBUG: Calculated and replaced Acct-Output- 
> Octets = 0 Mon Jun 15 08:52:44 2009: DEBUG: Packet dump:
> *** Received from 192.168.2.1 port 1646 ....
> -------------------->-8---snip-------------------
>
> Any ideas?
>
> Thanks
>
> Paul
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator



NB:

Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/radiator)?
Have you had a quick look on Google (www.google.com)?
Have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
Have you checked the RadiusExpert wiki:
http://www.open.com.au/wiki/index.php/Main_Page

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
Includes support for reliable RADIUS transport (RadSec),
and DIAMETER translation agent.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.




More information about the radiator mailing list