- CoA means Change of Authorization. It asks the NAS to update an active session’s authorization.
- PoD means Packet of Disconnect. It sends a Disconnect-Request to terminate an active session.
Prerequisites
Before you enable CoA or PoD, confirm that:- The NAS supports dynamic authorization.
- The NAS can receive dynamic authorization traffic on the configured inbound port.
- The NAS firewall allows the message source address shown on the device page.
- The CoA and PoD shared secret matches between Altostrat and the NAS.
- Accounting is enabled so active sessions include the identifiers needed for disconnect workflows.
Configure CoA And PoD On A NAS
The current UI shows
18.214.81.214 as the message source address for CoA and PoD. Use the value in the live device page if it differs.
Manual Disconnect
The user detail page can show Disconnect Session when a user has an active or recent session. When you disconnect a user, Altostrat:- Finds the user.
- Looks up the user’s most recent NAS log.
- Resolves the NAS device and its CoA/PoD reply settings.
- Builds a Disconnect-Request using available session attributes such as
User-Name,NAS-IP-Address, andAcct-Session-Id. - Sends the request to the NAS using the configured NAS IP, port, and secret.
- Writes the disconnect attempt to NAS logs.
CoA Versus PoD
| Control | RADIUS packet | What you use it for |
|---|---|---|
| Packet of Disconnect | Disconnect-Request | Terminate a user’s active session so the NAS forces the client off or requires a new login. |
| Change of Authorization | CoA-Request | Ask the NAS to change authorization for an active session, such as applying a different role, filter, or rate limit when the NAS supports it. |
Quota-Triggered Disconnects
When quota attributes are configured on groups, the quota worker checks usage against accounting data. If a user crosses the effective quota, Altostrat can dispatch a disconnect job for that user. Top-ups increase the user’s effective allowance. If a top-up brings the user back within allowance, the quota marker is recalculated. Use quota-triggered disconnects only when:- Accounting is reliable.
- The NAS sends interim updates often enough for your enforcement window.
- CoA and PoD settings are configured on the NAS.
- Operators understand how top-ups affect the allowance.
Monitoring Dynamic Authorization
Dynamic authorization activity appears in logs and metrics as admin request activity. Where packet details are available, the platform records Disconnect and CoA request type, username, workspace, organization, and NAS context. Use:- The NAS dashboard to review device-scoped logs.
- The user dashboard to confirm the session state.
- Live View to inspect nearby authentication and accounting events.
Troubleshooting
If manual disconnect or quota disconnect does not work:- Confirm the NAS IP address is reachable from the message source address.
- Confirm the inbound port is open. The default is
3799. - Confirm the secret matches exactly.
- Confirm accounting is sending
Acct-Session-Id. - Confirm accounting Start, Stop, and Interim-Update packets are enabled if you rely on session and quota enforcement.
- Confirm the user has a recent NAS log.
- Confirm the NAS supports Disconnect-Request for the access technology in use.
- Confirm the NAS supports CoA-Request before expecting an in-place authorization change.
- Confirm the NAS firewall allows the source address shown in the UI.