UniFi - Hotspot RADIUS Attributes

 Overview


This article lists the currently supported Hotspot RADIUS attributes. Find more content on RADIUS in the Related Articles

Table of Contents


  1. Authentication
  2. Accounting
  3. Interim Update
  4. Accounting On
  5. Accounting Off
  6. Related Articles

Authentication


Back to Top

Hotspot authentication uses CHAP protocol.

Request attributes

  • User: Name
  • Called-Station-Id = apmac:ssid
  • Calling-Station-Id = mac
  • Acct-Session-Id: Used for accounting and disconnect
  • NAS-IP-Address: Controller's IP address
  • NAS-Identifier: Controller's UUID
  • Framed-IP-Address: Guest's IP Address

Handled response attributes

  • Session-Timeout

Accounting


Back to Top

1. Start

Sent just after authentication, if enabled.

Request attributes

  • Acct-Status-Type = Start
  • Acct-Session-Id: The same value as during authentication
  • User-Name

2. Stop

Sent on when session is closed.

Request attributes

  • Acct-Status-Type = Stop
  • Acct-Session-Id
  • User-Name
  • Acct-Terminate-Cause: Not implemented yet here

Interim Update


Back to Top

Sent in the same intervals as existing informs.

Request attributes

  • Acct-Status-Type = Interim-Update
  • Acct-Session-Id
  • Acct-Session-Time
  • Acct-Input-Octets
  • Acct-Output-Octets
  • Acct-Input-Gigawords
  • Acct-Output-Gigawords
  • Acct-Input-Packets
  • Acct-Output-Packets
  • User-Name

Accounting On


Back to Top

Request sent when controller starts for all sites with configured accounting.

Request attributes

  • Acct-Status-Type = Accounting-On
  • Acct-Authentic = RADIUS
  • NAS-IP-Address: Controller's IP address
  • NAS-Identifier: Controller's UUID
  • Acct-Terminate-Cause =NAS-Reboot

Accounting Off


Back to Top

Request sent when controller shuts down for all sites with configured accounting.

  • Acct-Status-Type = Accounting-Off
  • Acct-Authentic = RADIUS
  • NAS-IP-Address: Controller's IP address
  • NAS-Identifier: Controller's UUID
  • Acct-Terminate-Cause = NAS-Reboot

Related Articles


Back to Top

UniFi - How to Implement RADIUS Authentication

Blog: Managing RADIUS Authentication with UniFi