Security

last person joined: yesterday 

Forum to discuss Enterprise security using HPE Aruba Networking NAC solutions (ClearPass), Introspect, VIA, 360 Security Exchange, Extensions, and Policy Enforcement Firewall (PEF).
Expand all | Collapse all

Duration limits within a time period

This thread has been viewed 0 times
  • 1.  Duration limits within a time period

    Posted Dec 17, 2012 06:55 AM

    We currently have AmigoPod deployed as a captive portal where users only need to accept terms of use to get authenticated.  One config question that's come up is allowing users to access the network for an hour per 12 hour period.  I understand that I can add the Session-Timeout attribute the the user role under RADIUS>User Roles and that will restrict the users to a designated time period however, the part I'm having problems with is designating the '1 hr per 12 hrs' part of the equation.  Any ideas or suggestions?



  • 2.  RE: Duration limits within a time period

    Posted Dec 18, 2012 11:50 PM

    Check the documentation for "accounting based authorization".

     

    You can write a RADIUS authorization expression that looks up the total amount of time a user has been online, in a given time period.

     

    Something like this might work:

     

    return GetUserTime(43200) > 3600 && AccessReject();

     



  • 3.  RE: Duration limits within a time period

    Posted Dec 20, 2012 06:29 AM

    Dave,

     Thanks for the suggestion.  I actually read that doc a few times and it never hit me to change it to GetUserTime.  Using that expression does work however I am now trying to with with GetCallingStationTime as our setup is not using individual user accounts.  Im sure I have the syntax wrong as I get a failed Auth every time



  • 4.  RE: Duration limits within a time period

    Posted Dec 20, 2012 12:25 PM

    Paste your expression, or a screenshot, so we can see the actual RADIUS role that is failing.



  • 5.  RE: Duration limits within a time period

    Posted Dec 21, 2012 10:04 AM

    the expression I was using was:

     

    return GetCallingStationTime(60) > 6 && AccessReject();

     

     

    After looking over the AmigoPod Deployment Guide 3.7 I think this might be better:

     

    return GetCallingStationTime((GetAttr('Calling-Station-Id')), 600) > 6 && AccessReject();

     

     

    Unfortunately I have a limited time each day to really test this out, hence the 6 seconds in 600 seconds



  • 6.  RE: Duration limits within a time period

    Posted Aug 09, 2016 02:11 AM

    i have the same scenario but i dont know where to start,

     

    anyone that can share me the configuration or screen shot or any documentation link that i can read to get this scenario working, 

     

    thanks in advance.