Adding NAD Location Information to Access-Request Messages
Steel-Belted Radius Carrier core provides a special attribute handling feature which allows you to add NAD location information to proxied Access-Request messages.
This section describes how this feature works, and the files which must be configured to enable this feature.
Service providers might require the location of the mobile device that is requesting access. For example, a service provider might offer weather reports or advertising based on the location of the mobile device.
You can configure an Access-Request to include the location of the NAD through which the proxied request was processed. The NAD is geographically near the mobile device. The location of the NAD closely approximates the location of the mobile device.
When a mobile device is outside the area of its provider, it roams by sending the request to a local foreign AAA (FAAA) server that is owned by another provider. The FAAA server proxies (forwards) the request to the appropriate home AAA (HAAA) server for the user.
For proxied requests, Steel-Belted Radius Carrier can perform a lookup to find a NAD location based on an attribute (usually NAS-Identifier or NAS-IP-Address). The attribute that is used to look up the NAD location is user-configurable as the AttributeToIdentifyNAS in the
locspec.ctrlfile.Figure 12 shows that Steel-Belted Radius Carrier queries the
locspecplug-in to find the value of the attribute that identifies the NAD location. The NAD location is then added to the Access-Request that is sent to the service provider's home AAA server.
Use the following procedure to add NAS location attribute information to Access-Request messages.
Location-Specific Configuration Files
The following files and file sections require configuration to add location attributes to the Access-Request. Figure 14 provides an example showing the relationship between all the configuration files.
locspec.ctrl file[Bootstrap] section[Settings] section[NAS-LIST] section[NAS Identifier] sectionproxy.ini file[Realms] sectionrealm.pro file[Auth-Outbound-To-Proxy] section[Acct-Outbound-To-Proxy] sectionlocspec.ctrl File
The
locspec.ctrlfile calls theLOCSPECcontrol point plug-in, which enables the addition of location-specific information to an Access-Request.Table 65 defines the fields needed in the [Bootstrap] section for adding location-specific attributes to an Access-Request.
Specifies the name of the control point plug-in file that activates location-specific information.
Example
[Bootstrap]LibraryName=locspec.soEnable=1Initializationstring=LOCSPECTable 66 defines the fields needed in the [Settings] section for adding location-specific attributes to an Access-Request.
Example
[Settings]AttributetoIdentifyNAS=NAS-IdentifierConfigLog=ConsoleAndLogTable 67 defines the fields needed in the [NAS-LIST] section for adding location-specific attributes to an Access-Request.
Example
[NAS-LIST]NAS_1NAS_2For each NAS device listed in the [NAS-LIST] section, there must be a separate section in locspec.ctrl providing location information about the NAS.
Table 68 defines the fields needed in the [NAS Identifier] section that provide location-specific information to an Access-Request. The Access-Request can contain all of these four attributes or a subset.
Example
[NAS_1]GSM-Operator-Name=REALM:worldnetwork.comGSM-Location-Name=BostonNeighborsClubGSM-Visited-Operator-Id=GSM:USACDGSM-Location-Information=country=US;A1=MA;A3=Boston;ZIP=02116Figure 13 shows the relationship between the
AttributetoIdentifyNASsetting, the NAS-LIST section, and the NAS identifier section of thelocspec.ctrl file.
proxy.ini File
The
proxy.inifile identifies the.profiles that are used to specify configuration settings. With respect to adding location information to an Access-Accept, the .pro files are needed to invoke theLOCSPECplug-in.Table 69 defines the fields needed in the [Realms] section for adding location-specific attributes to an Access-Request.
Lists all the realms that can be included in an Access-Request.
For every realm_name, there must be an associated
realm.profile. For example, if the [Realms] section contains the lines:
Example
[Realms]Realm_Example_1=nationwide.comRealm_Example_2=peoplesnetwork.comrealm.pro File
The
realm.profile specifies the control point plug-in that is needed for attaching location-specific information to an Access-Request if the Access-Request is proxied from a foreign AAA server to the home AAA server.Add the field
LOCSPECto both the [Auth-Outbound-To-Proxy] section and the [Acct-Outbound-To-Proxy] section in therealm.profile. These sections call the location-specific control plug-in when an Access-Request is proxied (forwarded) to a home AAA server.Example realm.pro file:
[Auth-Outbound-To-Proxy]LOCSPEC[Acct-Outbound-To-Proxy]LOCSPECM
Example Configuration for Adding NAD Location Attributes to Access-Request
Figure 14 shows a sample configuration. The purpose of this example configuration is to add NAD location information to Access-Requests for NAS_1.
Example Overview
In this example, an Access-Request is sent for a mobile device through an example NAS identified by the name NAS_1. The example realm associated with the mobile device is nationwide.com. Three location attributes are assigned to NAS_1 and included in the Access-Request that goes to the nationwide.com service provider. These three attributes are GSM-Location-Name, GSM-Operator-Name, and GSM-Visited-Operator-Id.
Example Configuration
The example configuration lines and syntax (shown in Figure 14) associate all the configuration files together to attach NAS location information to an Access-Request.
The example configuration shows that if the realm is
nationwide.com, then the.profile to be used isRealm_Example_1.pro. The fileRealm_Example_1.proturns on NAS location information feature with theLOCSPECcommands.