[RADIATOR] Raddius Question : Acct-Interim-Interval session time not working (Want to Top-Up Session Time Online)

Hugh Irvine hugh at open.com.au
Mon Feb 20 22:32:55 CST 2012


Hello -

This is the Radiator mailing list, not the freeradius mailing list.

regards

Hugh


On 21 Feb 2012, at 14:47, Supphasak Ninjarat wrote:

> Hello all, 
> 
> Purpose : Want to Top-Up Session Time Online Login
> 
> I am using freeradius 2.1.0 on Ubuntu 10.10 and using rp-pppoe server and chillispot server for user login authentication method on same machine and set up radius attribute for end user such as 
> #------------------------------------------------------------------------------------- 
> radtest   abc   abc123   127.0.0.1  0   SecretKey
> Sending Access-Request of id 185 to 127.0.0.1 port 1812 
>         User-Name = "abc" 
>         User-Password = "abc123" 
>         NAS-IP-Address = 127.0.1.1 
>         NAS-Port = 0 
> rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=185, length=80 
>         Idle-Timeout = 600 
>         WISPr-Bandwidth-Max-Down = 100000000 
>         WISPr-Bandwidth-Max-Up = 100000000 
>         Acct-Interim-Interval = 60
>         Acct-Status-Type = Interim-Update 
>         Session-Timeout = 300
> 
> ( All  user can login all of session is 5mins ) 
> #------------------------------------------------------------------------------------- 
> 
> 1.After first use logged in  ( with pppoe or chillispot) the user "abc" use the network times 200secs  (left time=100secs) and logged off later. 
> 
> 2.The user "abc"  logged in again with radius message 
>         User-Name = "abc" 
>         User-Password = "abc123" 
>         NAS-IP-Address = 127.0.1.1 
>         NAS-Port = 0 
> rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=185, length=80 
>         Idle-Timeout = 600 
>         WISPr-Bandwidth-Max-Down = 100000000 
>         WISPr-Bandwidth-Max-Up = 100000000 
>         Acct-Interim-Interval = 60  
>         Acct-Status-Type = Interim-Update 
>         Session-Timeout = 100
> 
>  During live logged in session , In the radius database and radacct table has 2 record insert (first record is first login and secondary record is now login)    
> 
>  I delete the first database record (use time= 200secs) so that the attribute Acct-Interim-Interval it is  updating  all sessiontime count to 0 and "abc" can use the network 300secs. But it is not updating session and the user "abc" was terminate after 100 secs normally  by AcctTerminateCause  is "Session-Timeout" . 
>  
>      What does debug or how? 
> 
> Thanks for every thing. 
> 
> 
> -- 
> Touch Technologies
> Mr. Supphasak Ninjarat
> 089-4595046
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator


--

Hugh Irvine
hugh at open.com.au

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. 
Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.



More information about the radiator mailing list