Security

 View Only
  • 1.  ClearPass context server and sessions notifications for Identity Based Access enforcement on Firewalls

    Posted 15 days ago

    We are studying the use of ClearPass as a central Source of Truth for Identity Based Access. This is the workflow:

    1. Users authenticate to ClearPass, whether they are connected remotely via VPN (off-net users) or locally via Ethernet/Wi-Fi (on-net users).
    2. Upon successful authentication, ClearPass publishes the user's identity context (Username, IP Address and Role) to different firewalls using the context server and session notification Enforcement Profile.
    3. These firewalls will use this information to perform identity-based policy enforcement based on the User-IP-Role mapping provided by ClearPass.

    From a design perspective, I understand that ClearPass will become a critical dependency, as both user identification and policy enforcement rely heavily on the availability and correctness of the information it provides. While redundancy can mitigate the risk, it remains a key component of the overall solution.

    I would like to hear from anyone who has managed to implement this kind of architecture in a production environment for your customers/clients.

    Thank you very much for your feedback and insights.

    Best regards.



  • 2.  RE: ClearPass context server and sessions notifications for Identity Based Access enforcement on Firewalls

    Posted 15 days ago

    Yes, this runs fine in production. Most of what I've done is toward Palo Alto and SRX, with Generic HTTP context server actions for anything else that has a REST API. The push itself is rarely the problem. Stale mappings are.

    The Session Notification profile is a Post_Authentication type, so it only fires after a successful auth. Give it both a Login Action and a Logout Action, otherwise nothing ever tells the firewall the session ended. Then make every NAS send accounting start, interim and stop, the VPN concentrator included. I've tested this on 6.11 and 6.14: accounting gets tied back to the session of the service that authenticated the client, but accounting never runs enforcement on its own. So the profile goes in that service's enforcement policy, and accounting is how ClearPass learns the client IP and when the session ends.

    On the dependency, if ClearPass is unreachable nobody is authenticating anyway, so the firewall push doesn't add a new failure mode for new sessions. What matters is sessions already in flight, and those live on the firewall as mappings that persist until they time out. Allow every cluster node on each firewall's API so a node failure doesn't stop the pushes; the SRX integration guide needs one webapi client entry per ClearPass IP. Set a mapping timeout on the firewall so a missed logout can't leave a stale entry forever, and make it longer than a normal ClearPass maintenance window. Where you can, also use the SRX query mode, where the firewall asks ClearPass about an IP it has no entry for. That's what covers an SRX that comes back empty after a reboot or upgrade.



    ------------------------------
    Dustin Burns
    @Worldcom Exchange, Inc.
    www.wei.com

    - - -
    The comments I post here are my own, and not my employers
    If my post was useful accept solution and/or give kudos
    Personal Blog: www.networkfieldnotes.com
    - - -
    ------------------------------



  • 3.  RE: ClearPass context server and sessions notifications for Identity Based Access enforcement on Firewalls

    Posted 15 days ago

    Hi Dustin,

    Thank you for your feedback, I really appreciate it.

    In my PoC lab, everything is working as expected for 802.1X sessions (For VPN with Ivanti Secure Connect I have an issue with the Accounting).

    Session notifications are successfully sent to both FortiManger (which then forwards the information to its managed FortifGate firewalls) and Checkpoint firewalls directly.

    I was particularly interested in hearing from the community about real-world production deployments and operational experience. We are planning to deploy this solution for several thousand users.

    In your environment, approximately how many users are covered by this deployment?

    Best regards




  • 4.  RE: ClearPass context server and sessions notifications for Identity Based Access enforcement on Firewalls

    Posted 14 days ago

    The deployment I'm talking about was about 1,000 users. For several thousand users, I'd plan around events, not headcount. The ClearPass Clustering Design Guidelines size appliances by concurrent sessions, and the pressure comes from login and logout bursts, with each event becoming a call to every target. Your FortiManager also carries every FortiGate update, so load test that hop; mine are mostly Palo Alto and SRX.

    Since 802.1X works, I'd fix Ivanti before go-live: without the tunnel IP and a Stop, there's no usable mapping or logout. Check that Live Monitoring > Accounting shows Start, Interim and Stop with Framed-IP-Address, then that they land on the Accounting tab of the authenticating Access Tracker row. That's where they showed up on 6.14 in my lab, from a CX switch rather than a VPN. Set Log Accounting Interim-Update Packets to TRUE while testing, since it's FALSE by default.

    What fails, and what ClearPass version?



    ------------------------------
    Dustin Burns
    @Worldcom Exchange, Inc.
    www.wei.com

    - - -
    The comments I post here are my own, and not my employers
    If my post was useful accept solution and/or give kudos
    Personal Blog: www.networkfieldnotes.com
    - - -
    ------------------------------



  • 5.  RE: ClearPass context server and sessions notifications for Identity Based Access enforcement on Firewalls

    Posted 14 days ago

    Hi Dustin,

    Thank you for your quick reply.

    Ivanti Connect Secure doesn't send the Calling-Station-ID RADIUS attribute in its accounting messages. This attribute is expected to contain the MAC address of the client which is important for ClearPass to build its context table.

    In addition, Ivanti Connect Secure is sending the RADIUS accounting data with username and IP address. ClearPass is not able to associate the request session ID with the accounting record session ID.

    In attachment some captures from the Access Tracker Radius Request Details.

    Best regards




  • 6.  RE: ClearPass context server and sessions notifications for Identity Based Access enforcement on Firewalls

    Posted 14 days ago

    That matches Ivanti's admin guide: its accounting tables list User-Name, Framed-IP-Address and Acct-Session-Id, not Calling-Station-Id, and I can't find a setting that adds it. I wouldn't chase the MAC. The session link is the blocker: the ClearPass User Guide describes Session Notification as sending an IP address change, so ClearPass needs that IP on the session.

    On Ivanti, enable Use VPN Tunnel assigned IP Address for FRAMED-IP-ADDRESS and confirm the Start carries the tunnel IP. Make the accounting User-Name match the Access-Request. My linking tests were CX accounting (a simulator on 6.11, a 6200F on 6.14), so I haven't proven this without Calling-Station-Id.

    If that fails, I'd try ClearPass accounting proxy to the firewalls, but expect user and IP, not the ClearPass role. Ingress Events is documented for threat syslog, so login and logout mapping is unproven. What's your ClearPass version, and does the Access-Request carry an Acct-Session-Id?



    ------------------------------
    Dustin Burns
    @Worldcom Exchange, Inc.
    www.wei.com

    - - -
    The comments I post here are my own, and not my employers
    If my post was useful accept solution and/or give kudos
    Personal Blog: www.networkfieldnotes.com
    - - -
    ------------------------------



  • 7.  RE: ClearPass context server and sessions notifications for Identity Based Access enforcement on Firewalls

    Posted 9 days ago

    Hi Dustin,
    I'm very sorry for the delay. I've been quite busy working on several projects.
    The issue appears to be on the Ivanti side, as it is sending the Accounting-Session-Id attribute in the Access-Request packet.
    I tested the same integration with Cisco FTD and AnyConnect, and it worked without any issues.
    Best regards