info_i_25x25.png Our ticketing platform provider has scheduled a maintenance window on May 20th, 2018. It will start at 1:00 am UTC on Sunday, May 20th and end at 1:00 pm UTC on Sunday, May 20th. During this time there might be an interruption in the chat service, but all our users will still be able to submit support tickets via the ticket submission form.

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