RADIUS accounting uses two types of accounting messages:
An Accounting-Request can send one of three request types specified by the Status-Type attribute:
•
|
Start—sent when a user logs in.
|
•
|
Stop—sent when a user logs out.
|
•
|
Interim-Update—sent periodically during a user login session.
|
The following attributes, that are relevant to SSO, are sent in Accounting-Requests:
•
|
•
|
User-Name—The user’s login name. The format is not specified by the RFC and can be a simple login name or a string with various values such as login name, domain, or distinguished name (DN).
|
•
|
Framed-IP-Address—The user's IP address. If NAT is used, this must be the user’s internal IP address.
|
•
|
Calling-Station-Id—A string representation of the user's IP address, used by some appliances such as the SMA 1000 Series.
|
•
|
Proxy-State—A pass-though state used for forwarding requests to another RADIUS accounting server.
|
•
|
•
|
Send the user’s IP address in either the Framed-IP-Address or Calling-Station-Id attribute in both Start and Stop messages.
|
NOTE: In the case of a remote access server using NAT to translate a user’s external public IP address, the attribute must provide the internal IP address that is used on the internal network, and it must be a unique IP address for the user. If both attributes are being used, the Framed-IP-Address attribute must use the internal IP address, and the Calling-Station-Id attribute should use the external IP address.
|
The user’s login name should be sent in the User-Name attribute of Start messages and Interim-Update messages. The user’s login name can also be sent in the User-Name attribute of Stop messages, but is not required. The User-Name attribute must contain the user’s account name and may include the domain also, or it must contain the user’s distinguished name (DN).
•
|
The user logged in only if Allow limited access for non-domain users is set.
|
In RADIUS accounting, these attributes are used to contain the user's IPv6 address:
Currently, all these IPv6 attributes are ignored.
Some devices pass the IPv6 address as text in the Calling-Station-ID attribute.
The Calling-Station-ID is also ignored if it does not contain a valid IPv4 address.