×

UniFi Video will reach end-of-support on December 31st, 2020.

For more information, please refer to the official community notice.

UniFi - Hotspot RADIUS Attributes

Overview

This article lists the currently supported Hotspot RADIUS attributes.

Table of Contents

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

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

Start

Sent just after authentication, if enabled.

Request attributes

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

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
Was this article helpful?
24 out of 39 found this helpful