This chapter presents the security features available with TCPware.
TCPware security features can be divided into two parts: independent, free-standing security features, and those inherent within products. The free-standing security features include:
|
Incoming Access Restrictions |
Kerberos Services |
Packet Filtering |
|
Outgoing Access Restrictions |
IP Security Option (IPSO) |
Token Authentication |
TCPware products for which security features are available include:
|
Berkeley R Services |
NFS-OpenVMS Server |
FTP-OpenVMS |
|
DECwindows |
Remote Copy Program (RCP) |
TELNET-OpenVMS |
Here are some general tips to maintain system security on your TCPware system:
This section describes the security features that you can use with more than one TCPware product. These include incoming and outgoing access restrictions, packet filtering, Kerberos Services, IP Security Option, and Token Authentication.
With incoming access restrictions, the system imposes restrictions on the remote hosts having access to local services.
Manage incoming access restrictions using the following NETCU commands:
To manage incoming access restrictions, see Chapter 19, Access Restrictions.
With outgoing access restrictions, you restrict access to outside services such as FTP or TELNET for local users. You can base restrictions on a user's ID (UIC or rights identifiers), or the destination address or port (service). Since the system checks only outgoing access restrictions with active open connections and not on each and every datagram, it involves relatively low system overhead.
Manage outgoing access restrictions using two commands in the TCPware Network Control Utility (NETCU):
To manage outgoing access restrictions, see Chapter 35, Access Restrictions.
Packet filtering restricts the datagrams that may be received on a network interface. The system drops all datagrams it denies entry. This software-based filtering allows you to filter datagrams by:
Packet filtering prevents a site from receiving datagrams from certain networks or hosts. For example, a site might wish to restrict incoming access from the rest of the Internet, but allow local users to have full access to Internet resources.
Use packet filtering only when absolutely necessary since the system must scan the packet filter for each datagram. If there is a question whether to use packet filtering or access restrictions on incoming datagrams, packet filtering is more complete, since it covers all connections. However, packet filtering requires more overhead than incoming access restrictions.
Manage packet filtering using the following NETCU commands:
To manage packet filtering, see Chapter 20, Packet Filtering.
TCPware provides the following Kerberos Services:
|
Kerberos Server |
Kerberos for RCP |
Kerberos Administration Server |
|
Kerberos User Commands |
Kerberos for RLOGIN |
Kerberos for TELNET |
|
Kerberos Management Commands |
Kerberos for RSH |
Some of the terms commonly associated with Kerberos include:
Note that a service ticket and authenticator only accompany the request for a service; you do not use them for data exchange once you initiate the service.
There are three main steps in the Kerberos process. The user:
The Kerberos process uses tickets, authenticators, and messages. These elements provide specific encrypted information about clients and servers. Kerberos uses keys to encrypt and decrypt tickets, authenticators, and messages.
Some things to remember about tickets and authenticators:
Regular users and Kerberos administrators use the Kerberos commands in TCPware's Network Control Utility (NETCU). Regular users and Kerberos administrators can also use parts of the KADMIN Server.
The following list and Figure 18-1 present a typical implementation of the Kerberos process:
Figure 18-1 Typical Kerberos Session Sequence
Kerberos is an authentication system for networks designed as part of Project Athena at the Massachusetts Institute of Technology. Kerberos provides network security by regulating user access to networking services. Kerberos uses a set of keys and encrypted tickets to authenticate users.
In a Kerberos environment, at least one system runs the Kerberos Server. Keep this system secure. This trusted server provides authentication services to prove that the requesting user is genuine. Another name for the Kerberos Server is the Key Distribution Center (KDC).
The system manager assumes that other servers on the network and all clients are untrustworthy. For the Kerberos protocol to work, all systems relying on Kerberos must trust only the Kerberos system itself.
The Kerberos Server maintains a secure database, the Kerberos database (KDB), listing the names and private keys of all clients and servers allowed to use the Kerberos Server. Kerberos assumes that all users keep their passwords secure.
TCPware provides commands for users to get a ticket-granting ticket, show the ticket-granting ticket and any service tickets, and remove all Kerberos user tickets. Kerberos tickets allow use of Kerberos applications.
TCPware implements the following user commands through NETCU:
|
GET TGT |
SET KERBEROS_PASSWORD |
REMOVE TICKETS |
SHOW TICKETS |
For details on the Kerberos user commands, see Chapter 4, Kerberos User Commands, in the User's Guide.
TCPware provides the system manager with an interface to the Kerberos database (KDB) using the following commands:
|
ADD KACL |
MODIFY KDB |
MODIFY KERBEROS USER |
|
ADD KDB |
REMOVE KACL |
SET MASTER_PASSWORD |
|
CREATE KDB |
REMOVE KDB |
SHOW KERBEROS USER |
|
CREATE SRVTAB |
SHOW KACL |
STASH MASTER_PASSWORD |
|
DUMP KDB |
SHOW KDB |
ADD KERBEROS USER |
|
LOAD KDB |
Kerberos Server management also includes setting certain configuration logicals.
For details on the Kerberos management functions, see Chapter 38, Managing Kerberos.
The Kerberos Administration Server allows remote administration of the Kerberos primary server database. It also allows Kerberos users to change their Kerberos passwords.
You can configure the RSH server, which also handles Remote Copy Program (RCP) requests, to require Kerberos authentication requests, to allow both Kerberos authentication and standard authentication requests, or to disallow any Kerberos authentication requests. RCP users must authenticate themselves to the Kerberos Server before using Kerberos authentication for RCP.
You can configure the RLOGIN server to require Kerberos authentication requests, to allow both Kerberos authentication and standard authentication requests, or to disallow any Kerberos authentication requests. RLOGIN users must authenticate themselves to the Kerberos Server before using Kerberos authentication for RLOGIN.
You can configure the remote shell (RSH) server to require Kerberos authentication requests, to allow both Kerberos authentication and standard authentication requests, or to disallow any Kerberos authentication requests. RSH users must authenticate themselves to the Kerberos Server before using Kerberos authentication for RSH.
You can configure the TELNET server to require Kerberos authentication requests, to allow both Kerberos authentication and standard authentication requests, or to disallow any Kerberos authentication requests. TELNET users must authenticate themselves to the Kerberos Server before using Kerberos authentication for TELNET.
The IP Security Option (IPSO) is a standard for preventing a system from receiving or transmitting unauthorized datagrams. It was developed for the U.S. Department of Defense and conforms to RFC 1108, U.S. Department of Defense Security Options for the Internet Protocol. IPSO incorporates both a Basic Security Option and an Extended Security Option. TCPware supports both of these options.
To manage IPSO, see Chapter 23, IP Security Option (IPSO).
Token Authentication allows you to set additional security restrictions on your FTP, TELNET, RLOGIN, and SET HOST logins. You can set up Token Authentication through TCPware's Access Control Encryption Client (ACE/Client) on the OpenVMS host, which communicates with Security Dynamics' ACE/Server on a UNIX or Windows NT host. The authentication takes place through a physical SecurID[ token "smart card" that you use to provide the ACE/Server with the necessary login information.
To manage Token Authentication, see Chapter 21, Managing Token Authentication.
This section describes the TCPware security features available with particular TCPware products.
The Berkeley R Commands implement security at TCPware configuration and later through Service Access Lists and host equivalence files. The R Services use standard TCPware and OpenVMS security facilities to ensure that only authorized hosts and users have access to the TCPware host.
TCPware implements Berkeley R Command security through:
See Chapter 15, Managing R Commands, for details on host equivalence files.
The typical Berkeley R Commands server security steps are that the server:
|
1 |
Checks that the Service Access List (if any) is configured to protect the desired service. |
|
2 |
Checks that the client's port number is in a reserved range. |
|
3 |
Checks the password file for an entry for the supplied username. |
|
4 |
Searches the /etc/hosts.equiv (on UNIX systems) or TCPWARE:HOSTS.EQUIV (on OpenVMS systems) file for the hostname and username. |
|
5 |
Searches the .rhosts (on UNIX systems) or .RHOSTS (on OpenVMS systems) file in the user's home directory for the hostname and username. Note that if Kerberos authentication is used, the server searches the .klogin (on UNIX systems) or .KLOGIN (on OpenVMS systems) file in the user's home directory for the user's Kerberos principal name. |
|
6 |
Prompts for a password if SECURE login is specified (for RLOGIN) and there is a match-up in the .RHOSTS or HOSTS.EQUIV file, or a username and password if NORMAL login is specified (for RLOGIN) without a match-up in the .RHOSTS or HOSTS.EQUIV file. If the user is prompted for the password, and the TCPware ACE/Client is enabled and the user designated for Token Authentication, the user is also prompted for the PASSCODE. |
|
7 |
Grants or rejects access depending on the server configuration and authorization results:
|
Additional password protection is available using Kerberos authentication. This feature is available for the RCP, RLOGIN, and RSH Berkeley R Commands.
For details on Service Access Lists, see the ADD ACCESS_LIST in the NETCU Command Reference.
TCPware provides the following security for the DECwindows Transport Interface:
|
Target display host configuration |
Configure the target display host to allow incoming X Window System applications from the OpenVMS system host. |
|
Displaying on the local host |
Bring up the Security option under the Session Manager's Options menu. |
|
Displaying on the remote host |
Configure "security" on the remote host to allow incoming connections on the currently active session. |
To manage DECwindows security, see Chapter 44, DECwindows Transport Interface.
FTP-OpenVMS Server provides the following security functions and options:
Table 18-1 Security Functions and Options
To manage FTP-OpenVMS Server security, see Chapter 20, Managing FTP-OpenVMS.
The NFS-OpenVMS Server provides several features that maintain the integrity of the OpenVMS file system:
|
PROXY database |
The Server requires that the local system must register any user attempting access to OpenVMS files. You do this through the PROXY database when you configure the Server, and through later modifications as needed. |
|
EXPORT database |
You must export an OpenVMS directory for an NFS user to have access to it. The Server does this through the EXPORT database when you configure the Server, and through later modifications as needed. |
You can take the following additional system security measures:
See Chapter 13, Managing NFS-OpenVMS Server.
Passwords can be a problem in RCP since the /PASSWORD qualifier requires entry of plain text that someone on the network can intercept.
You can prevent users from having to specify the /USER, /PASSWORD, or /TRUNCATE qualifier with the RCP command. Check that remote hosts include your hostname entry in their host equivalence files (such as the /etc/hosts.equiv file in UNIX systems). On OpenVMS hosts, the TCPWARE:HOSTS.EQUIV or SYS$LOGIN:.RHOSTS file serves as the host equivalence file to permit remote hosts to log in.
Kerberos password protection is also available for the RCP service.
To manage RCP security, see Chapter 15, Managing R Commands. To manage Kerberos authentication for RCP, see Chapter 22, Managing Kerberos.
The TELNET-OpenVMS Server provides the TCPWARE_TELNETD_INTRO_MSG option. With this logical, you can define a special message that appears whenever a user attempts access to the host through TELNET. You can use this logical to issue warnings such as "Authorized Use Only" for remote logins.
If the TCPware ACE/Client is enabled and the user is designated for Token Authentication, the user is also prompted for the PASSCODE in addition to the username and password.
Kerberos password protection is also available for the TELNET service.
To manage TELNET-OpenVMS security, see Chapter 17, Managing TELNET-OpenVMS Server. To manage Kerberos authentication for TELNET, see Chapter 22, Managing Kerberos.