KB-6224777

Validate CoA and PoD on one active session

Test the NAS’s dynamic authorization listener and distinguish an acknowledged change from the resulting access and accounting state.

10 views

CoA and PoD travel from RadiusStack back to the NAS. In RadiusStack 6.2.2, the Active Sessions action targets the open accounting row’s NAS IP and uses that matching NAS record’s secret. The sender defaults to UDP 3799. This separate path is not proven merely because inbound RADIUS or RadSec works.[22][21]

Procedure

  1. Check the NAS vendor’s dynamic authorization support, allowed sender address, expected secret and session identifiers. Permit only the required source to the NAS’s dynamic authorization listener. Confirm an active disposable session exists in the correct tenant and that its accounting NAS IP matches a NAS record.[22][25]
  2. In the NAS record, review Advanced: CoA / PoD packet attributes, including CoA packet attributes and PoD packet attributes. Keep defaults unless the vendor requires a different set; Profile-Reply-Attributes applies only to CoA.[3][21]
  3. In Active Sessions, identify the exact test row. To reapply the current profile to a compatible NAS, select CoA and confirm the prompt. Verify the actual policy on the appliance. To test disconnect, use PoD on an approved disposable test row and confirm the prompt.[20][22]
  4. Refresh the session and check the device-side effect and subsequent accounting. A response code is evidence of the NAS decision, not proof that the stop record has already arrived.[22][25]

Worked example

A test user on lab-edge gets a pre-approved policy change. CoA is used first and the operator verifies the intended access. A separate test session is then disconnected by PoD and its Stop is confirmed.

Expected behavior

A verified CoA-ACK acknowledges the change request; Disconnect-ACK acknowledges disconnect. A valid negative reply is surfaced as a NAS rejection.[22][21]

Troubleshooting

On timeout, re-check live session state before retrying; the NAS may have acted. If it rejects, review vendor-required attributes and the exact active accounting identity before adjusting any profile.

Production precautions

Use one authorized session only. PoD interrupts access, so never test it on an administrative lifeline or on a shared production session.

Sources

  1. [3] NAS editor fields
  2. [20] Active Sessions CoA and PoD controls
  3. [21] Dynamic authorization packet and reply handling
  4. [22] Active-session dynamic authorization endpoint
  5. [25] RFC 5176 dynamic authorization packets