Name

Acct-Status-Type

Synopsis

Attribute Number

40

Length

6

Value

ENUM

Allowed in

Accounting-Request

Prohibited in

Accounting-Response

Presence in Packet

Required

Maximum Iterations

1

This attribute indicates whether the Accounting-Request packet is being sent upon the user first authenticating and connecting to the network or upon the user finishing use of the services and disconnecting. It can also be used to mark when to start and stop accounting should the RADIUS client gear require rebooting or other system maintenance. Note that when RADIUS client gear crashes, stop records in general are not sent to the accounting server. Obviously, this has the potential to mess up accounting data, and a crashed client is not all that uncommon.

The payload value of the attribute contains 15 possible values, each of which are listed in Table 4-1.

Table 4-1. Values for the Acct-Status-Type attribute

Value

Status type

1

Start

2

Stop

3

Interim-Update

7

Accounting-On

8

Accounting-Off

9 -14

Reserved; used for tunnel accounting

15

Reserved; used for failed attempts

Get RADIUS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.