|
Configuring CLI Authentication and CLI Dial-BackYou can configure a Shiva® device for calling line identifier (CLI) authentication. When you enable CLI authentication on the device, the device authenticates the phone number of each incoming call before accepting the call. If the number in the list of valid CLI phone numbers has dial-back permission, the device dials the number back before accepting the call. If the number does not have CLI dial-back permission, the call continues as a normal dial-in call. You may optionally disable CLI authentication on particular phone groups. There are 2 modes of CLI authentication: general and dial-back only (see Examples). In either case, you can configure the device to authenticate the calling phone number of all incoming calls before accepting them using either a local list of valid phone numbers (see Using an Internal CLI List for Authentication) or a RADIUS database of phone numbers (see Using a RADIUS Server for CLI Authentication). If you enable CLI authentication with CLI dial-back on a device, you must also configure 2-way authentication on both the local and remote devices. See Configuring Two-Way Authentication. Note: You must configure CLI authentication manually; you cannot configure this feature using Shiva Configurator. You can use the command shell or the text-editing feature of Shiva Configurator to edit the device configuration file. Enabling CLI AuthenticationTo configure CLI authentication on the device, you must set the Enabled parameter to 1 in the [CLIAuthentication] section. By default, CLI authentication is not enabled. [CLIAuthentication] Disabling CLI Authentication for a Phone GroupIf you enable CLI authentication for the device (by setting the Enabled parameter to 1 in the [CLIAuthentication] section), all phone groups, by default, use CLI authentication (the CLIAuthEnabled parameter is set to 1 by default for each phone group). You can disable CLI authentication for a phone group by setting the CLIAuthEnabled parameter to 0 in any [PhoneGroupn] section. [Phonegroup1] General CLI AuthenticationGeneral calling line identifier (CLI) authentication ensures that the device authenticates the calling number of every incoming call before accepting each call. If the phone number of an incoming call is not in the valid CLI list, the device rejects the call. If the phone number of an incoming call is in the valid CLI list with or without CLI dial-back permission, the call continues as it normally does for a dial-in call; the device performs user authentication using the configured security method. If the authenticated CLI has dial-back permission, the device initiates dial-back before accepting the call. The device then performs user authentication as it is configured. You must specify whether the authentication is performed on a RADIUS server or locally and define a list of valid CLI numbers either on the RADIUS server or in an internal list, respectively. See Using a RADIUS Server for CLI Authentication or Using an Internal CLI List for Authentication. To configure a Shiva device for general CLI authentication, ensure that the AuthForDialbackOnly parameter is set to 0 or not present in the [CLIAuthentication] section. When the AuthForDialbackOnly parameter is not present in the configuration file, it is set to 0 by default so that the Shiva device rejects all calls from numbers that are not in the valid CLI list. [CLIAuthentication] CLI Authentication for Dial-Back OnlyInstead of configuring general CLI authentication, you can configure the Shiva device to perform CLI authentication only for calls that require dial-back. As with general CLI authentication, the device compares the incoming phone number against the valid CLI list before accepting the incoming call. If the number is in the valid CLI list, the call continues as a normal dial-in call; if the number has CLI dial-back permission, the device drops the connection to the incoming call and initiates dial-back. If the incoming phone number is not in the valid CLI list, however, the call is not rejected; the call continues as a normal dial-in call without dial-back. Note: If you configure CLI for dial-back only, you need to configure in the valid CLI list only the calling line identifiers that require dial-back. To configure CLI authentication for dial-back only: [CLIAuthentication] Using a RADIUS Server for CLI AuthenticationWhen you enable CLI authentication, the Shiva device authenticates incoming phone numbers using a RADIUS server (the AuthMethod parameter in the [CLIAuthentication] section is set to RADIUS by default). You must configure on your RADIUS server a list of valid incoming phone numbers and dial-back permissions. You may also assign a Dialback-Number attribute to the entry for a calling number if you want the CLI dial-back function to dial back a number that is different from the calling number. See Configuring a RADIUS Server for CLI Authentication. If you do not use a RADIUS server for authentication, see Using an Internal CLI List for Authentication. You must also configure a password on the Shiva device to request CLI authentication from the RADIUS server. The Shiva device sends this password to the RADIUS server in all Access-Request packets for CLI authentication. This password must be associated with the entry for each incoming phone number in the RADIUS database. You can configure the password in the [CLIAuthentication] section or in a [PhoneGroupn] section. The password in the [PhoneGroupn] section overrides the password in the [CLIAuthentication] section if you configure both. [CLIAuthentication] [PhoneGroup1] Sending Callback-Framed PacketsIf you are using a RADIUS server for CLI authentication and you configure the remote access device to perform general CLI authentication (AuthForDialbackOnly is set to 0), you must set the SendCallbackFramed parameter to 1 if you want to use CLI dial-back. To configure the Shiva device to send the Service-Type attribute with the value of Callback-Framed (value = 4 as defined in the RADIUS Authentication RFC) in Access-Request packets to the RADIUS server: [CLIAuthentication] Note: If you configure the device for CLI authentication for dial-back only (AuthForDialbackOnly is set to 1), the device automatically sends the Service-Type attribute in Access-Request packets to the RADIUS server with the value of Callback-Framed. You do not need to configure the SendCallbackFramed parameter. Using an Internal CLI List for AuthenticationWhen you enable CLI authentication, the Shiva device authenticates incoming phone numbers using a RADIUS server by default (the AuthMethod parameter is set to RADIUS). Optionally, you can configure the Shiva device to authenticate incoming numbers using a local internal list by setting the AuthMethod parameter to Local. You must also configure a comma-separated list of phone numbers in the ValidCLI parameter, specifying /db after each number that has dial-back permission. Assigning CLI Dial-Back PermissionTo give a calling number dial-back permission in the local ValidCLI list, append the switch "/db" to the number in the list. [CLIAuthentication] Preventing Multiple Calls From One CLISome third-party devices may attempt to make more than one call to the Shiva device. To prohibit the device from accepting multiple calls from the same calling number, you can set the OneCallPerCLI parameter in the [CLIAuthentication] section. This parameter is enabled by default. [CLIAuthentication] Adding and Deleting Digits in the Dial-Back NumberAfter the Shiva device performs CLI authentication, the device initiates CLI dial-back if the calling number has CLI dial-back permission. The Shiva device uses the CLI number as the dial-back number unless you use a RADIUS server for CLI authentication and assign a Dialback-Number attribute specifying a modified number to dial back. If you use local CLI authentication (that is, by using the validCLI parameter to define the CLI numbers), you may modify the dial-back number using the CLIAuthIgnoreDig and CLIAuthAddDig parameters. The Shiva device processes the CLIAuthIgnoreDig parameter first. Note: The CLIAuthIgnoreDig and CLIAuthAddDig parameters are processed after CLI authentication is processed. If you configure the RADIUS database with the CLI dial-back numbers, you must not use the CLIAuthIgnoreDig and CLIAuthAddDig parameters. If you do use these parameters, the Shiva device modifies the dial-back number (ignoring and adding digits as specified) after the RADIUS server configures the dial-back number. Using the CLIAuthIgnoreDig ParameterIf the dial-back number contains an area code (or other digits) that you do not need to use for dialing back, you can configure the device to remove a number of leading digits from the CLI phone number. Using the CLIAuthIgnoreDig parameter, you can specify the number of digits in the CLI dial-back number that you want the device to ignore. For example, to configure the device to remove the 3 leading digits from the phone number before adding the digits specified in CLIAuthAddDig, and before dialing back: [PhoneGroup1] Using the CLIAuthAddDig ParameterTo make a call outside of the PSTN or for long-distance calls, you may need to prefix the phone number with 1 or more digits before dialing back. You can configure the CLIAuthAddDig parameter to specify additional digits to be dialed before the dial-back number is dialed. For example, to configure the device to dial 91 before dialing the dial-back number: [PhoneGroup1] ExamplesThe following examples show 2 types of CLI authentication:
General CLI Authentication Using a RADIUS ServerIn this example, if the incoming call is from 6178889000 (and this number is configured for dial-back on the RADIUS server), the number dialed back is 916178889000. The CLIAuthAddDig parameter inserts the digits 91 before dialing back to the CLI number. [CLIAuthentication] [PhoneGroup1] CLI Authentication for Dial-Back Using an Internal CLI ListCLI dial-back only authentication allows the device to determine whether the phone number of an incoming call has permission to be dialed back. In this example, if the incoming call is from 6178889000, it is found in the valid CLI list with dial-back permission. The number dialed back is 98889000. CLIAuthIgnoreDig parameter ignores the first 3 digits (617) and the CLIAuthAddDig parameter inserts the digit 9 before dialing back to the CLI number. [CLIAuthentication] [PhoneGroup1] If you are using PAP for 2-way authentication, add these parameters: PPP2WayAuthEnabled=1 If you use CHAP for 2-way authentication, add these parameters: PPP2WayAuthEnabled=1 Note: You cannot use SPAP for 2-way authentication. Description of ParametersYou can use Shiva Configurator to configure the parameters in the previous example, except for those described in the following tables. The following table describes parameters in the [CLIAuthentication] section.
The following table describes parameters in the [PhoneGroupn] section.
Related Information |