KB-3488820

Verify UDP accounting from Start through Stop

Prove session creation, interim growth and clean closure independently of a successful RADIUS login.

10 views

An Access-Accept does not prove that the NAS sends accounting. To verify a classic UDP deployment on RadiusStack 6.2.2, follow one disposable session from Start to Stop and look at the same row across the test. Use a local-only pilot so a downstream approval requirement does not obscure basic delivery.[6][19][10]

Procedure

  1. Verify that accounting is enabled on the test NAS and points to the server’s published RADIUS_ACCT_PORT; the standard deployment maps UDP 1813 to the container. Verify the sending client and secret independently of the authentication configuration if the appliance has separate settings.[6]
  2. Sign in using a disposable identity. In Accounting, set Username, NAS Client and the relevant date window, then use the filter to find the new session. Record the session’s start time and identifying details before generating traffic.[19]
  3. Generate a small approved amount of test traffic and wait for the appliance’s configured interim update, if one is enabled. Refresh and compare duration or byte counters for the same session. Use test activity that does not involve customer data.[19]
  4. Sign out normally. Confirm the same row now has Stop Time, with plausible duration and totals. Compare the last update with the appliance’s accounting history if available.[19][24]

Worked example

acct-pilot joins through lab-switch, transfers a small test file during the session and signs out. One session has a start, later shows activity, and then shows a stop. A second login is a different session and should not be used to fill a missing end event.

Expected behavior

The Start opens a record, received interim updates advance it, and the Stop closes the matching session. A missing interim record is not automatically a server fault if the NAS is not configured to send updates.[19][24]

Troubleshooting

No Start suggests destination, source, secret or UDP path issues. A Start without Stop calls for checking NAS termination behavior and the delivery of the final packet. If routing applies, check its accounting settings and mode.[10]

Production precautions

Do not delete filtered accounting rows to test closure. Preserve usage and billing evidence and keep test identities and traffic separate from production records.

Sources

  1. [6] RADIUS and RadSec Compose listeners
  2. [10] Native downstream route selection and processing
  3. [19] Accounting filters and session fields
  4. [24] RFC 2866 accounting packet exchange