emea airheads clearpass guest with mac- caching using time source

22
CLEARPASS – GUEST WITH MAC CACHING USING TIMESOURCE Technical Climb Webinar 10:00 GMT | 11:00 CET | 13:00 GST Dec 29th, 2016 Presenter: Barath Srinivasan Customer Engineering Architect | HPE-Aruba [email protected]

Upload: aruba-a-hewlett-packard-enterprise-company

Post on 08-Jan-2017

250 views

Category:

Technology


13 download

TRANSCRIPT

Page 1: EMEA Airheads ClearPass guest with MAC- caching using Time Source

CLEARPASS – GUEST WITH MAC CACHING USING TIMESOURCETechnical Climb Webinar10:00 GMT | 11:00 CET | 13:00 GSTDec 29th, 2016Presenter: Barath Srinivasan

Customer Engineering Architect | HPE-Aruba

[email protected]

Page 2: EMEA Airheads ClearPass guest with MAC- caching using Time Source

2

Welcome to the Technical Climb Webinar

Listen to this webinar using the computer audio broadcasting or dial in by phone.

The dial in number can be found in the audio panel, click additional numbers to view local dial in numbers.

If you experience any difficulties accessing the webinar contact ususing the questions panel.

Page 3: EMEA Airheads ClearPass guest with MAC- caching using Time Source

3

Housekeeping

This webinar will be recorded

All lines will be muted during the webinar

How can you ask questions?Use the question panel on your screen

The recorded presentation will be posted on Arubapedia forPartners (https://arubapedia.arubanetworks.com/afp/)

Page 4: EMEA Airheads ClearPass guest with MAC- caching using Time Source

CLEARPASS – GUEST MAC CACHING OVERVIEW

Page 5: EMEA Airheads ClearPass guest with MAC- caching using Time Source

5

Guest MAC Caching overview

• This is an alternative MAC Cacheing service available in the Clearpass device

• Although the MAC Caching service created by the service templates works fine, some find it difficult to comprehend and do not want to depend on Insight as authorization source

• The MAC Caching service discussed in this Technical climb webinar does not use Insight as authorization source. Instead, it makes use of an Endpoint attribute containing the MAC expiry date. This attribute is checked against the authentication date. If the authentication date is before the Expiry date then access is granted, otherwise denied (or redirected to a captive portal).

Page 6: EMEA Airheads ClearPass guest with MAC- caching using Time Source

6

Guest MAC Caching overview

Lets assume two types of users for which MAC Caching is enabled:

• Guests: Users defined in, and authenticated against the Guest User Database and have the role [Guest]. The MAC Expiry will be set to the Guest Account Expiry

• Employees: defined in, and authenticated against an external database, like Active Directory and have the role [Employee]. The MAC expiry will be set to a fixed interval, for example 6 Months.

• The overview which we will be looking at for the reminder of the webinar, we’ll deconstruct the workflow in the reverse order and we’ll discuss the step-by-step configuration order at the end of the webinar for the ease of understanding.

Page 7: EMEA Airheads ClearPass guest with MAC- caching using Time Source

AUTHENTICATION POLICY & ROLE MAPPING POLICY

Page 8: EMEA Airheads ClearPass guest with MAC- caching using Time Source

8

MAC Authentication Policy

IMPORTANT POINTS TO NOTE:

This service makes use of an Endpoint attribute holding the MAC Cache expiry date.

Because this solution uses Endpoint attributes, care should be taken when using this solution with other systems updating Endpoint attributes. An API call to update an Endpoint attribute may not take into account existing Endpoint attributes. For example, MDM systems updating Endpoint objects.

MAC Authentication Policy

The Policy will only allow authentications which have the role [MAC Caching]

If MAC Caching is applied, different enforcement profiles are used depending on the role. In the example shown in next slide, an employee will have the aruba user-role ‘MAC-Staff’ applied and guest will have the aruba-user-role ‘MAC-Guest’ applied. This can be entirely customized according to the customer’s policy, equipment and requirements.

Page 9: EMEA Airheads ClearPass guest with MAC- caching using Time Source

9

MAC Authentication Policy

The default profile is [Deny Access [Profile] in the above example. Alternatively, the default profile can be set to anEnforcement profile which enforces a captive portal. For Aruba controllers this can be achieved by returning an aruba-user-role=‘guest-logon’ for example.

Page 10: EMEA Airheads ClearPass guest with MAC- caching using Time Source

10

Role Mapping Policy

The role mapping policy uses a couple of new attributes to determine if the role [MAC Caching] is assigned.

Page 11: EMEA Airheads ClearPass guest with MAC- caching using Time Source

11

Endpoint Attribute

%{Endpoint:MAC-Auth Expiry} is a new attribute defined in the Endpoint. Go to Administration > Directories > Attributes and add an Endpoint attribute such as below:

This attribute is updated by a Post Authentication Enforcement Policy in the Policy of the Web Login Service

Page 12: EMEA Airheads ClearPass guest with MAC- caching using Time Source

12

Post Authentication Enforcement Profiles

For Guests, the MAC Expiry will be set to the same value as the Guest Account Expiry:

Page 13: EMEA Airheads ClearPass guest with MAC- caching using Time Source

13

Post Authentication Enforcement Profiles

Note that ‘ExpireTime’ needs to be added to the [Guest User Repository]. We’ll discuss this further in upcoming slides – For Employees, authenticating against another auth source, the account expiry is not available. Therefore the MAC Expiry will be set to a fixed interval determined by the customer’s security policy. In this example, the customer has decided that MAC addresses for employees are allowed to be cached for 6 months after the Web Login.

In the example below, MAC expiry is set to a fixed interval after the Web Login authentication time.

Page 14: EMEA Airheads ClearPass guest with MAC- caching using Time Source

AUTHENTICATION/AUTHORIZATION SOURCES

Page 15: EMEA Airheads ClearPass guest with MAC- caching using Time Source

15

Authentication/Authorization Sources

• %{Authorization:[Time Source]:Today} is a new attribute defined in the Authentication Source [Time Source]

Page 16: EMEA Airheads ClearPass guest with MAC- caching using Time Source

16

Attribute Definition

The attribute ‘Today’ is defined as:

The SQL: select localtimestamp(0) as today;

Page 17: EMEA Airheads ClearPass guest with MAC- caching using Time Source

17

Attribute Definition

The attribute ‘Six Months From Now’ is defined as:

The SQL: select localtimestamp(0) + interval ‘6 months’ as sixmonths;

Page 18: EMEA Airheads ClearPass guest with MAC- caching using Time Source

18

Additional Filter configuration examples

You can define other intervals as you wish by changing the interval in the SQL Query. For Example if you want to set the MAC auth expiry to 7 days, the SQL query will be like:Select localtimestamp(0) + interval ‘7 days’ as sevendays;

Next map the ‘sevendays’ to the alias “Seven Days From Now” for example.

As discussed earlier, the Guest User Account Expiry time needs to be made available from the [Guest User Repository]:

Add the highlighted string (expire_time::timestamp) to the existing Authentication query and map this to Alias ExpireTime.

Page 19: EMEA Airheads ClearPass guest with MAC- caching using Time Source

19

Additional Filter configuration examples

Page 20: EMEA Airheads ClearPass guest with MAC- caching using Time Source

20

Putting it all together

• Add the Endpoint attribute MAC-Auth Expiry

• Add the ExpireTime attribute to the authentication source [Guest User Repository]

• Add the attributes today and a fixed interval attribute to the Authentication source [Time Source]

• In the existing Web Login Service, add the post authentication enforcement to update the Endpoint attribute MAC-Auth Expiry

• In the existing Web Login Service, add [Time Source] as an authorization source. You can remove [Insight] as authorization source

• Create the MAC Authentication Policy

Page 21: EMEA Airheads ClearPass guest with MAC- caching using Time Source

21

Time Source

Ensure the Authentication source [Time Source] is added as an authorization source.

Page 22: EMEA Airheads ClearPass guest with MAC- caching using Time Source

THANK YOU!