Idle-Timeout problem

michel at casa.co.cu michel at casa.co.cu
Fri Nov 5 04:22:55 CET 2010


Hi

I currently work with freeradius version 2.1.7, my users are in mysql.

mysql> SELECT * FROM `radusergroup`;
+----------------+----------------+----------+
| username       | groupname      | priority |
+----------------+----------------+----------+
| joseph         | Desarrollo     |        1 |
| carlos         | Desarrollo     |        1 |
| miguel         | Admins         |        1 |
+--------------------------------------------+

My problem is that users are being disconnected before the time indicated by
parameter "Idle-Timeout."

mysql> SELECT * FROM `radgroupreply` ;
+----+----------------+--------------------+----+---------------------+
| id | groupname      | attribute          | op | value               |
+----+----------------+--------------------+----+---------------------+
|  1 | Desarrollo     | Service-Type       | =  | Framed-User         |
|  2 | Desarrollo     | Framed-Protocol    | =  | PPP                 |
|  3 | Desarrollo     | Framed-MTU         | =  | 1500                |
|  4 | Desarrollo     | Framed-Compression | =  | Van-Jacobsen-TCP-IP |
|  5 | Desarrollo     | Framed-IP-Netmask  | =  | 255.255.255.0       |
|  6 | Desarrollo     | Idle-Timeout       | := | 900                 |
|  7 | Admins         | Service-Type       | =  | Framed-User         |
|  8 | Admins         | Framed-Protocol    | =  | PPP                 |
|  9 | Admins         | Framed-MTU         | =  | 1500                |
| 10 | Admins         | Framed-Compression | =  | Van-Jacobsen-TCP-IP |
| 11 | Admins         | Framed-IP-Netmask  | =  | 255.255.255.0       |
| 12 | Admins         | Idle-Timeout       | := | 0                   |
+----+----------------+--------------------+----+---------------------+

As you can see here he is sending the access server parameters defined  
above in the database.

Sending Access-Accept of id 246 to 172.19.19.50 port 17979
         Service-Type = Framed-User
         Framed-Protocol = PPP
         Framed-MTU = 1500
         Framed-Compression = Van-Jacobson-TCP-IP
         Framed-IP-Netmask = 255.255.255.0
         Idle-Timeout := 900


And here you can see the user disconnected prematurely


rad_recv: Accounting-Request packet from host 172.19.19.10 port 17979,  
id=197, length=170
         NAS-IP-Address = 172.19.19.10
         NAS-Identifier = "Access Server"
         Service-Type = Framed-User
         Framed-Protocol = PPP
         Framed-IP-Address = 10.71.53.214
         User-Name = "carlos"
         NAS-Port = 447
         NAS-Port-Type = Async
         Called-Station-Id = "60110"
         Calling-Station-Id = "78382547"
         Acct-Status-Type = Stop
         Acct-Session-Id = "0130000425"
         Acct-Authentic = RADIUS
         Acct-Delay-Time = 0
         Acct-Input-Octets = 47429
         Acct-Output-Octets = 4377
         Acct-Input-Packets = 66
         Acct-Output-Packets = 57
         Acct-Session-Time = 95
         Acct-Terminate-Cause = Idle-Timeout

Thanks

Michel
----------------------------------------------
Webmail, servicio de correo electronico
Casa de las Americas - La Habana, Cuba.





More information about the Freeradius-Users mailing list