6.0 Case Study
This section presents the basic steps used by the implementation at the University of Minnesota. Two examples will be used. The first is a basic terminal login. The second is a database access verification.
Usernames are in one of three forms:
First.M.Last-#@umn.edu
First.M.Last-#
user@host
A name in the first form is converted to one in the second.
A name in the second form is looked up in the University-wide directory system. If found, the associated electronic mail address is treated as if the third form was entered.
The third form specifics the name of a computer whose manager has agreed to perform validations and the name of an account on that computer.
The system that we use allows for many requesting clients (typically modem pools). Further, each client can support multiple distinct pools of users. For example, lines 1-20 could be general access, but lines 21-25 could be 800-numbers with a restricted set of valid users. The system supports this distinction by specifying which validation computers are legal for each modem pool.
6.1. Terminal Login
On the Cisco Terminal Server:
- accept a connection
- request a username and password
- pack the request into a UDP TACACS packet and send to the central fanout
Central Fanout:
- accept a request
- if the request is not in a valid format, return "nope"
- log the request
- if the source IP address is not in a list of valid clients, status = "nope"
- else if the username contains invalid characters, status = "nope"
- else if the username is of the form First.M.Last-#@umn.edu, convert to First.M.Last-# if the username is of the form First.M.Last-#, look up the name in the directory if the name is not found, status = "nope" otherwise, use the e-mail address as the username
if the user is on a special "blocked" list, status = "nope" and send mail warning that access to a blocked account was attempted split the username into user and host parts if the host is not on a list of known servers, status = "nope" else if the host is not allowed to validate this type of request for this pool, status = "nope"
now format a request for validation of the user and send it to the specified host
if no response, status = "nope" otherwise set the status to the returned status
- log what response is going to be returned
- return the response
Validation Host:
This machine can run a "stripped down" version of the central fanout. It need perform no special validation or logging, with one exception.
- accept a request
- if the request is not in a valid format, return "nope"
- if the request is not from the central fanout, return "nope"
- figure the return status
- return the response
6.2. Database Access Verification
In this example, assume that a database is only to be accessed by faculty and staff.
Mainframe:
- the user is on the mainframe and makes a request
- the program requests username and password
- the program packs the request into a UDP TACACS packet and send to the central fanout
Central Fanout:
- accept a request
- if the request is not in a valid format, return "nope"
- log the request
- if the source IP address is not in a list of valid clients, status = "nope"
- else if the username contains invalid characters, status = "nope"
- else if the username is of the form First.M.Last-#@umn.edu, convert to First.M.Last-# if the username is of the form First.M.Last-#, look up the name in the directory if the name is not found, status = "nope" otherwise, use the e-mail address as the username and obtain the staff status from the directory if the user is on a special "blocked" list, status = "nope" and send mail warning that access to a blocked account was attempted
split the username into user and host parts if the host is not on a list of known servers, status = "nope" else if the host is not allowed to validate this type of request for this pool, status = "nope"
now format a request for validation of the user and send it to the specified host
if no response or status is "nope", status = "nope"
else if the user originally gave a user@host mail address, do a directory lookup and obtain the staff status
set the status to the staff status
set the status to the staff status
set the status to the staff status
set the status to the staff status
set the status to the staff status
- log what response is going to be returned
- return the response
Note that the validation host is unchanged.