This appendix contains the following sections:
Introduction
Access security is the first line of defense against unauthorized access to your network. It uses an exchange of information to verify the identity of a user. The information is usually encrypted at both ends.
What are your options?
The MAX TNT supports a variety of access security options. You can:
For example, if the connection is negotiated between two machines, you should consider whether the other location is trusted, whether that machine protects its own networks against security attacks, and whether it is physically accessible to many users.
If the connection is negotiated with a user who must type in a token or password, you should consider how secure the password is and how frequently you want it to change. Once the user's connection is authenticated, you can use authorization restrictions to prevent the caller from accessing systems or networks you want to protect, as described in Appendix B, Network Security Settings.
How the MAX TNT locates a caller's profile
When the MAX TNT receives a call that contains a source IP address, it looks for a profile with a matching Remote-Address. It it finds a matching profile, it authenticates the name and password the caller presents against those specified in the profile. If everything matches up, it establishes a session and adds the caller's source address to its routing table.
Using call information
To have the MAX TNT extract CLID or DNIS information that the Telco includes with each call, and use the information to authenticate the call, you only have to set one parameter in the Answer-Defaults profile and a few parameters in each affected Connection profile. Following are the basic parameters, with examples of their settings:
ANSWER-DEFAULTS
clid-auth-mode = clid-prefer
CONNECTION stationFirst, set the Answer-Defaults profile's CLID-Auth-Mode parameter to specify what the MAX TNT should do with the Telco information. For example, the Clid-Prefer setting specifies that the system authenticates the call using the CLID, if it is available. If the CLID is not available, the system uses the type of authentication specified in the Answer-Defaults profile. The setting you select applies to both CLID and DNIS.
clid = 555-1212
calledNumber = 1234
Next, specify the Calling-Line ID (CLID) or DNIS number (CalledNumber) in a Connection profile. The MAX TNT compares the call information to the number in the profile, and can reject the call if the numbers don't match.
If you are using Callback, specify the dial number, which the MAX TNT will call back to establish the authenticated session. Also set the Callback parameter to Yes, and make sure the Answer-Originate parameter allows the MAX TNT to both place and receive calls. Following are the related parameters with examples of their settings:
CONNECTION station
dial-number = 1212
telco-options
answer-originate = ans-and-orig
callback = yes
CLID verification occurs before the MAX TNT accepts a call and begins the process of authenticating a password. Typically, people use CLID to protect against the situation where an unauthorized user obtains the name, password, and IP address of an authorized user, and calls in from another location.
DNIS or called number
An ISDN message presents the called number (which typically is the number dialed by the far end) as part of the call when DNIS is in use. The phone company might present a modified called number for DNIS, in which case the CalledNumber parameter in a Connection profile must specify the modified number. Configuring the MAX TNT to use call information
By default, the MAX TNT ignores CLID and DNIS information, even if the caller presents it. To use the information, set the CLID-Auth-Mode parameter in the Answer-Defaults profile, as shown in the following example:
admin> read answer
ANSWER-DEFAULTS read
admin> set clid-auth-mode = clid-prefer
admin> writeIgnore is the default setting, which means the MAX TNT doesn't require a matching ID in the call and doesn't use an ID even if the call contains one.
ANSWER-DEFAULTS written
Using the CLID information
When you set CLID-Auth-Mode to CLID-Require, the MAX TNT must receive a CLID from the call, or it refuses the call. When it receives a CLID, it tries to match the CLID to the CLID parameter in a Connection profile or to a RADIUS user profile set up to verify the CLID. If the MAX TNT doesn't receive a CLID or doesn't find a matching profile, it refuses the call. Using the called number
When you set CLID-Auth-Mode to DNIS-Require, the MAX TNT must receive a called number with the call, or it refuses the call. When it receives a called number, it tries to match the number to the CalledNumber parameter in a Connection profile or to a RADIUS user profile set up for called-number authentication. If the MAX TNT doesn't receive a called number or doesn't find a matching profile, it refuses the call. Specifying the CLID in a Connection profile
After you have set the CLID-Auth-Mode parameter in the Answer-Defaults profile, specify the number to be matched in a Connection profile. For example:
admin> read conn tommy
CONNECTION/tommy read
admin> set clid = 555-1212
admin> write
CONNECTION/tommy written
Specifying the called number in a Connection profile
After you have set the CLID-Auth-Mode parameter in the Answer-Defaults profile, specify the number to be matched in a Connection profile. For example:
admin> read conn tommy
CONNECTION/tommy read
admin> set calledNumber = 1234
admin> write
CONNECTION/tommy written
admin> read conn tommy
CONNECTION/tommy read
admin> set dial-number = 1212
admin> set telco answer-originate = ans-and-orig
admin> set telco callback = yes
admin> write
CONNECTION/tommy written
Password-protecting Telnet access
Once you have set up a basic IP configuration in the MAX TNT system, as described in Chapter 4, IP Routing, users can Telnet into the MAX TNT command line. A user can initiate a Telnet session to the MAX TNT from a local workstation or from a WAN connection. In both cases, the MAX TNT authenticates the session by means of a User profile, which defines a permission level for the user logging in. (For details of User profiles, see the MAX TNT Reference Guide.)
IP-GLOBALBy default, the system has the null password for Telnet access, which means the MAX TNT does not prompt users for a password. The following set of commands specifies a Telnet password:
telnet-password = ""
admin> read ip-global
IP-GLOBAL read
admin> set telnet-password = secret
admin> writeThe specified password can be up to 20 characters. After you set the Telnet password, users are prompted for that password first. If they specify the correct Telnet password, the MAX TNT prompts again for a user name and password to authenticate a User profile. In the following example, a user starts a Telnet session to a MAX TNT unit named TNT01, which has a configured Telnet password.
IP-GLOBAL written
% telnet tnt01
<tnt01> Enter Password:
Trying 10.1.2.3 ...After specifying the correct Telnet password, the user is prompted for a user name and password to authenticate a User profile.
Connected to tnt01.abc.com.
Escape character is `^]'.
User:
Password protecting terminal-server connections
Terminal-server connections are asynchronous calls that are usually initiated by a dial-in user. Depending on the dial-in client software, the call may initiate a login session or an asynchronous Point-to-Point Protocol (PPP) connection.
When the terminal server receives an asynchronous call and immediately detects a PPP packet, it does not send a Login prompt. Instead, it responds with a PPP packet, and Link Control Protocol (LCP) negotiation begins, including negotiation for PAP or CHAP authentication. Establishment of the connection then proceeds as for a regular (synchronous) PPP session. (See PPP authentication for the details of how names and passwords are exchanged in PPP sessions.)
Recommended settings for modem and terminal-adapter calls
When the MAX TNT receives a call from a modem or a V.120 terminal adapter (TA), it passes the call to the terminal-server software. Depending on the dial-in client software, the call may initiate a login session or an asynchronous PPP connection. Table A-1 shows some recommended settings for the dial-in client software used with modems or terminal adapters:
How security mode affects terminal-server authentication
You may choose to assign the terminal server its own password, to protect the command line from unauthorized access. If you assign a terminal-server password, you must also set the Security-Mode parameter to specify how to use the password. Following are the relevant parameters with their default settings:
TERMINAL-SERVERThe meaning of the Security-Mode setting depends partly on whether users log into menu mode or terminal mode. Table A-2 shows your choices:
security-mode = none
terminal-mode-configuration
system-password = ""
admin> read terminal-server
TERMINAL-SERVER read
admin> set security-mode = full
admin> set terminal system-password = secret
admin> write
TERMINAL-SERVER written
** Ascend TNT Terminal Server **
System Password:
Login:Following are the parameters that define which strings are sent to and expected from a dial-in user during the login process:
Password:
TERMINAL-SERVERThe Banner parameter defines the first line sent to the dial-in user. Alternatively, RADIUS can set a multi-line banner.
terminal-mode-configuration
system-password = *******
banner = "** Ascend TNT Terminal Server **"
login-prompt = "Login: "
password-prompt = "Password: "
prompt = "ascend% "
login-timeout = 300
The System-Password parameter specifies a password required to gain access to the terminal server. If the password is null or the Security-Mode parameter is set to None, the MAX TNT does not prompt for the system password. (For a discussion of the Security-Mode parameter, see How security mode affects terminal-server authentication.)
The Login-Prompt and Password-Prompt parameters specify the next two lines sent to the dial-in user. The MAX TNT uses the name and password supplied by the user to authenticate a Connection profile or a profile on an external authentication server.
admin> read terminal-server
TERMINAL-SERVER read
admin> set terminal banner = "ABC Corp. Terminal Server"
admin> set terminal login-prompt = "Name:"
admin> set terminal password-prompt = "Password:"
admin> set terminal prompt = "ABC: "
admin> set terminal login-timeout = 60
admin> writeThe Expect-Send script on the other side must expect compatible strings. For example:
TERMINAL-SERVER written
expect "Name:" send username expect "Password:" send password expect "ABC Corp. Terminal Server" send "" expect "ABC: " send "SLIP"
If the incoming call is TCP-clear (unencapsulated) or V.120, the call is authenticated in the terminal server as usual and then directed to the Telnet host, where the user logs in according to the login sequence on that host. In this case, immediate mode does not affect terminal-server authentication.
TERMINAL-SERVERThe Telnet-Host-Auth parameter is related only to asynchronous PPP calls in immediate mode. If it is set to No, the calls fail. If it is set to Yes, the MAX TNT terminal server processes the calls and directs them to the Telnet host rather than to the unit's router software.
immediate-mode-options
telnet-host-auth = no
Some ISPs use a terminal server that follows a login sequence different from that used by Ascend (for example, one that includes a menu selection before login). If that is the case at your site, you should configure the terminal server to display the required prompt and specify that it should be displayed first, to mimic the other terminal server and retain compatibility with client software in use by subscribers.
Following are the relevant parameters (with their default values):
TERMINAL-SERVERThe following example shows how to configure these parameters for a RADIUS server that expects a third prompt:
terminal-mode-configuration
third-login-prompt = ""
third-prompt-sequence = last
admin> read terminal-server
TERMINAL-SERVER read
admin> set terminal third-login-prompt = Third-Prompt>
admin> set terminal third-prompt-sequence = last
admin> writeThe next example shows how to configure these parameters to mimic another terminal server that expects users to select a service prior to login:
TERMINAL-SERVER written
admin> read terminal-server
TERMINAL-SERVER read
admin> set terminal third-login-prompt = Service?
admin> set terminal third-prompt-sequence = first
admin> write
TERMINAL-SERVER written
PPP authentication
During establishment of a PPP data link, the dialing and answering units exchange Link Control Protocol (LCP) packets to establish communications and configure the link. When the link is established, PPP provides for an optional authentication exchange before exchanging Network Control Protocols (NCPs) to set up the link's network-layer protocols. PPP authentication in the Answer-Defaults profile
The Answer-Defaults profile specifies whether the MAX TNT rejects incoming PPP calls that do not offer any authentication protocol. You can also use the profile to restrict which authentication protocols the MAX TNT accepts. Following is the relevant parameter (shown with a sample setting):
ANSWER-DEFAULTSThe Receive-Auth-Mode parameter typically specifies a general setting to support the widest range of authentication protocols. For example:
ppp-answer
receive-auth-mode = pap-ppp-auth
admin> read answer
ANSWER-DEFAULTS read
admin> set ppp receive-auth-mode = any-ppp-auth
admin> writeWhen you specify Any-PPP-Auth as the method of PPP authentication, the MAX TNT accepts incoming PPP calls that support any of the authentication methods, but it drops connections that do not offer any authentication protocols during LCP negotiation.
ANSWER-DEFAULTS written
If you set a specific authentication method, such as PAP or CHAP, the MAX TNT drops connections that do not support that protocol.
If you leave the default No-PPP-Auth setting, the MAX TNT accepts any incoming PPP call, including those that do not offer any authentication protocols during LCP negotiation.
CONNECTION stationThe Send-Password setting is the password the MAX TNT sends to the far end as part of the initial handshake, and Recv-Password specifies the password the MAX TNT expects from the far end. For some connections, the Send-Password might not be required.
ppp-options
send-auth-mode = any-ppp-auth
send-password = remote-password
recv-password = local-password
The Send-Auth-Mode parameter sets the authentication method the MAX TNT specifies for this PPP connection. The far end of the connection must support the protocol, or the MAX TNT drops the call. The parameter supports the following settings:
PAP authentication is typically used only when the dial-in device does not support a stronger authentication method, such as CHAP, or when the remote device requires a plain text password.
The following commands configure a connection named Robin for PAP authentication:
admin> read conn robin
CONNECTION/robin read
admin> set ppp send-auth-mode = pap-ppp-auth
admin> set ppp send-password = remote-password
admin> set ppp recv-password = local-password
admin> write
CONNECTION/robin written
CHAP is a stronger authentication method than PAP, because the password is not sent as plain text. In addition, the use of repeated challenges limits the time of exposure to any single attempt to break the encryption code, and the authenticator is in control of how often and when challenges are sent.
The following commands configure a connection named Matt for CHAP authentication:
admin> read conn matt
CONNECTION/matt read
admin> set ppp send-auth-mode = chap-ppp-auth
admin> set ppp send-password = remote-password
admin> set ppp recv-password = local-password
admin> write
CONNECTION/matt written
The following commands configure a connection named Ted for MS-CHAP authentication:
admin> read conn ted
CONNECTION/ted read
admin> set ppp send-auth-mode = ms-chap-ppp-auth
admin> set ppp send-password = remote-password
admin> set ppp recv-password = local-password
admin> write
CONNECTION/ted written
Token card authentication
The MAX TNT supports token-card authentication by using a RADIUS server as the intermediary between the MAX TNT unit answering the call and an External Authentication Server (EAS) such as a Security Dynamics ACE/Server or an Enigma Logic SafeWord server. For the details of configuring the RADIUS server to communicate with the EAS, see the MAX TNT RADIUS Guide.
Authenticating dial-in connections by means of tokens
Figure A-1 shows a dial-in connection to the MAX TNT. The remote user must use a token card to gain access to the secure network.
Configuring the MAX TNT as the NAS
To configure the MAX TNT to function as the NAS as shown in Figure A-1, you must set up the Answer-Defaults profile to allow the appropriate authentication method. For example, you might set the Receive-Auth-Mode parameter to Any-PPP-Auth, as described in PPP authentication in the Answer-Defaults profile.
You must also set up the External-Auth profile to authenticate the connections via RADIUS. For details, see the MAX TNT RADIUS Guide.
Copyright © 1998, Ascend Communications, Inc. All rights reserved.