Appearance
RADIUS attributes
Hive-Sync answers router requests through FreeRADIUS. The router acts as the RADIUS client. A primary and a secondary RADIUS server are available.
This page lists standard attributes only.
Request attributes Hive-Sync reads
| Attribute | Use |
|---|---|
User-Name | The PPPoE username, matched to a UISP service |
User-Password or CHAP attributes | Checked against the service password |
NAS-Identifier / NAS-IP-Address | Which router sent the request |
Calling-Station-Id | Customer-side identifier, if the router sends it |
Reply attributes
| Attribute | Use | Status |
|---|---|---|
Mikrotik-Rate-Limit | Speed limit for the session, from the UISP plan. Format is MikroTik's rx/tx rate string. | Used |
Framed-IP-Address | The fixed IP address set on the UISP service, when there is one | Used |
Mikrotik-Group | The PPP profile Hive-Sync prepares on the router for RADIUS sessions | Used |
Mikrotik-Address-List | Puts a suspended customer's session in the suspended address list, which the router sends to the slow lane and the pay page | Used |
Session-Timeout, Acct-Interim-Interval | Session length and accounting interval | To be confirmed |
For a suspended customer, the reply carries the address list for suspended customers. The router's own rules (created by Hive-Sync, see Router objects) then apply the slow lane and send web requests to the pay page. When the customer pays, Hive-Sync ends the session so the next login gets the normal reply.
Rate limit format
Mikrotik-Rate-Limit is written as rx-rate/tx-rate, from the router's point of view. Example for 50 Mbps down and 20 Mbps up from the customer's point of view:
Mikrotik-Rate-Limit = "20M/50M"The router's rx is what it receives from the customer, which is the customer's upload. Check this once on your lab router.
Changing a live session
Pushing a change to a session that is already online, without a reconnect, is Coming soon.