Radius with Idle-Timeout

Discussion in 'Installation/Configuration' started by sanjay007, Apr 24, 2014.

  1. sanjay007

    sanjay007 New Member

    Dear sir
    I have configured Freeradius with mysql authentication.Every thing is working fine even the Session-Timeout is also working.

    But the Idle-Timeout is not working

    I just want to reauthenticating the person after certain time.
     
  2. srijan

    srijan New Member HowtoForge Supporter

    Which guide you follwed to install freeradius.
     
  3. sanjay007

    sanjay007 New Member

  4. srijan

    srijan New Member HowtoForge Supporter

    Refere the URL.

    Br//
    Srijan
     
  5. sanjay007

    sanjay007 New Member

    Sir

    i have checked the url but i am not able to solve it.
    As when i use Session-Timeout in radreply it is working

    ie. in radreply table

    username Session-Timeout == 120

    whereas when i used Idle-Timeout instead of Session-Timeout it is not working.

    Please help in resolving.
     
  6. srijan

    srijan New Member HowtoForge Supporter

    Hi

    Please follow the code in /sql/defaults.sql

    Here you can check your desired session-timeout reducing/increasing

    Br//
    Srijan
     
  7. sanjay007

    sanjay007 New Member

    Thanks for you reply.

    I have used

    INSERT INTO radcheck (UserName, Attribute, op, Value) VALUES ('guest', 'ClearText-Password', ':=', 'bob');

    INSERT INTO radreply (UserName, Attribute, op, Value) VALUES ('guest', 'Max-Daily-Session', '==', '600');
    INSERT INTO radreply (UserName, Attribute, op, Value) VALUES ('guest', 'Session-Timeout', '==', '120');
    INSERT INTO radreply (UserName, Attribute, op, Value) VALUES ('guest', 'Idle-Timeout', '==', '60');


    The Session-Timeout and Max-Daily-Session is working file.But the Idle-Timeout is not.

    Session-Timeout and Max-Daily-Session forces the individual to reauth by disconnecting everything even download and upload.

    I have given the time of 60 sec but after 60 sec nothing happened,the reauth happens only after 120 sec
     

Share This Page