Security

last person joined: 20 hours ago 

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

Profiling Devices without CoA

This thread has been viewed 5 times
  • 1.  Profiling Devices without CoA

    Posted Feb 06, 2013 11:18 PM

    Is CPPM capable of profiling devices authenticating to it without performing any CoA Action?  If I enable Profiler in a service, I have to select an Endpoint Classification and CoA Action.  Policy Manager is adding endpoints to the repository, but it isn't profiling them in any way.  If I just want some basic profiling to take place, such as type of device, host name, OS, etc to be gathered.  what do I need to configure?

     

    Edit:

     

    After reading the UG again, it seems as though CPPM should at least be classying these devices based off the MAC that it's receiving in the 802.1X request.  That's not working, though.  I'm going to setup some ip helpers to forward DHCP traffic to CPPM and see if that helps any.



  • 2.  RE: Profiling Devices without CoA

    Posted Feb 06, 2013 11:29 PM

    What classification collector are you looking to enable?    There is DHCP, ClearPass Onboard, HTTP User-Agent, MAC OUI, ActiveSync, OnGuard, SNMP, and Subnet Scanner.    The support site has a TechNote that may help you (it is for version 5.x, but I think the same principals apply):   http://support.arubanetworks.com/DOCUMENTATION/tabid/77/DMXModule/512/Command/Core_Download/Default.aspx?EntryId=8389

     

     

     

     



  • 3.  RE: Profiling Devices without CoA

    Posted Feb 06, 2013 11:39 PM

    Thanks for the doc, Clembo.

     

    I'll setup the DHCP relay and see what happens.



  • 4.  RE: Profiling Devices without CoA

    Posted Feb 09, 2013 10:41 AM

    I've setup DHCP relays on my wired and wireless client subnets.  Also, I created Zones for my PM servers and setup subnet scans for each PM zone.  The subnet scans are scanning printer and VoIP ranges. The DHCP relay and subnet scans have been setup for several days.

     

    So far, PM has only discovered 45 endpoints.  There should be at least a couple hundered devices found via subnet scans.  There should be several hundered devices discovered via DHCP as well.  I've double checked my helper addresses, subnet scans, and PM zones and they're all setup correctly.  The subnet scan interval is 24 hours.

     

    My PM cluster isn't in production per say; I only have 3 devices that are authenticating via PM as my initial test.  I mention that because I thought maybe PM will only profile devices that are authenticating via PM, but that can't be true since I see 45 devices profiled that are not yet using PM for authentication.

     

    Any thoughts?



  • 5.  RE: Profiling Devices without CoA

    EMPLOYEE
    Posted Feb 09, 2013 12:12 PM

    What kind of layer3 switches/routers do you have in your environment?

     



  • 6.  RE: Profiling Devices without CoA

    Posted Feb 09, 2013 12:14 PM
    Cisco 6500s.


  • 7.  RE: Profiling Devices without CoA

    EMPLOYEE
    Posted Feb 09, 2013 12:20 PM

    Can devices ping cppm from their subnet? 



  • 8.  RE: Profiling Devices without CoA

    Posted Feb 09, 2013 12:36 PM
    Yes.


  • 9.  RE: Profiling Devices without CoA

    EMPLOYEE
    Posted Feb 09, 2013 12:43 PM

    Under Administration> Server Manager>Server Configuration>Services control, please make sure that Async Network Services is Running.

     

    If it is running, go to Administration> Server Manager>  Log Configuration> Service Log Configuration.  Change the service to Async Network Services.  Change the log level to debug and save.  Wait for a few and then send the logs to TAC.

     

    EDIT:  Last but not least, ensure that under Administration> Server Manager> Server Configuration> System.  Make sure that "Enable to allow this server to perform endpoint classification" is checked.

     

     

     



  • 10.  RE: Profiling Devices without CoA

    Posted Feb 09, 2013 12:52 PM
    Will do, thanks.

    Is there anyway to schedule the subnet scan or force it to run?


  • 11.  RE: Profiling Devices without CoA

    EMPLOYEE
    Posted Feb 09, 2013 12:57 PM

    No.  In the cluster-wide parameters, you can configure "Profile subnet scan interval" which will say at what intervals it will scan.

     

    Quite frankly, you would get much, much more data from adding a DHCP helper-address to the same layer3 interface that your existing helper address is on.



  • 12.  RE: Profiling Devices without CoA

    Posted Feb 09, 2013 01:02 PM
    I have subnet scanning enabled for printer and VoIP vlans only. While I do have dhcp relay enabled for the VoIP phones, I believe subnet scanning is the only option I have for identifying the printers since their IPs are static.


  • 13.  RE: Profiling Devices without CoA

    Posted Feb 10, 2013 05:54 PM

    How do I export the ClearPass logs?

     

    -----  EDIT ---------

     

    You can export logs via:

     

    Administration > Server Manager > Server Configuration:

    Click on the radio button beside the server name then click the Collect Logs button.



  • 14.  RE: Profiling Devices without CoA

    Posted Mar 19, 2013 05:55 PM

    Profiling is working in CP now.  Our issue was fixed by deleting an invalid certificate in the Certificate Trust List and restarting the services:

     

    1. Administration > Certificates > Trust List
    2. Set Filter: Enabled equals Enabled
    3. Delete certificate(s) that are showing invalid.
    4. Login to the CP server via CLI.
    5. Login as app admin.
    6. Type: service restart all


  • 15.  RE: Profiling Devices without CoA
    Best Answer

    Posted Apr 05, 2013 12:59 AM

    I need to retract my previous "solution" as we found out that deleting the invalid certificate was not the actual fix.  About a week after I posted the solution, profiling stopped working.  I assumed we were hitting a bug but CP was actually working as designed.  Weird, eh?  I'll keep it short, but here is ultimately what I learned:

     

    In a CP cluster, when all CP servers have profiling enabled, only one of the servers can be the master profiler just like you can only have one publisher.  The master profiler is selected via election, and the server with the lowest UUID wins. Although all CP servers may have profiling enabled, only the master profiler can profile devices.  Having an election for the master profiler provides a level of redundancy should something happen to the CP server acting as master profiler.

     

    For non-profiling redundancy, enable profiling on only one CP server and point all DHCPs relays to that CP server.

     

    For profiling redundancy, enable profiling on X amount of CP servers, and setup DHCP relays to those CP servers.

     

    This is what the CP engineers suggested to me after having profiling dificulties for about a month.  I was surprised to find out that of all the people I talked to, no one (colleagues, SEs, TAC) was aware that this is how profiling works in a cluster.  I couldn't find any mention of this in the CP documentation, so I requested that it be added.  Hopefully, it's added so that others don't have the same issue and bang their heads against the wall like I did for a month.



  • 16.  RE: Profiling Devices without CoA

    Posted May 09, 2013 05:50 PM

    @thecompnerd

     

    Thanks for posting this information!

    We are close to putting our two CPPMs into a cluster and have found it hard to find information on clustering.

     

    This will go into my bookmarks incase we run into issues down the road!

     

    Cheers



  • 17.  RE: Profiling Devices without CoA

    Posted Jan 17, 2014 10:47 AM

    Is there a way to view which server has been elected as the master profiler? Right now, I have my dhcp relay configured to go to my publisher, but all servers are configured to profile endpoints. Is the election process dynamic? Right now, most things are being profiled correctly, but I have clients (on the same network, on the same controller) not being profiled. I've opened a case already, but if you have insights on this, I'd appreciate it.

     

    Thanks!