1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
|
Network Working Group Mike StJohns
Request for Comments: 912 TPSC
September 1984
Authentication Service
STATUS OF THIS MEMO
This RFC suggests a proposed protocol for the ARPA-Internet
community, and requests discussion and suggestions for improvements.
Distribution of this memo is unlimited.
INTRODUCTION
The Authentication Server provides a means to determine the identity
of a user of a particular TCP connection. Given a TCP port number
pair, it returns a character string which identifies the owner of
that connection on the server's system. Suggested uses include
automatic identification and verification of a user during an FTP
session, additional verification of a TAC dial up user, and access
verification for a generalized network file server.
OVERVIEW
This is a connection based application on TCP. A server listens for
TCP connections on TCP port 113 (decimal). Once a connection is
established, the server reads one line of data which specifies the
connection of interest. If it exists, the system dependent user
identifier of the connection of interest is sent out the connection.
The service closes the connection after sending the user identifier.
RESTRICTIONS
Queries are permitted only for fully specified connections. The
local/foreign host pair used to fully specify the connection are
taken from the query connection. This means a user on Host A may
only query the server on Host B about connections between A and B.
QUERY/RESPONSE FORMAT
The server accepts simple text query requests of the form
<local-port>, <foreign-port>
where <local-port>, is the TCP port (decimal) on the target (server)
system, and <foreign-port> is the TCP port (decimal) on the source
(user) system.
For example:
StJohns [Page 1]
^L
RFC 912 September 1984
Authentication Service
23, 6191
The response is of the form
<local-port>, <foreign-port> : <response-type> : <additional-info>
where <local-port>, <foreign-port> are the same pair as the query,
<response-type> is a keyword identifying the type of response, and
<additional info> is context dependent.
For example:
23, 6191 : USERID : StJohns
RESPONSE TYPES
A response can be one of two types:
USERID
In this case, <additional-info> is the printable representation of
the user identifier of the owner of the connection. The format of
the returned user identifier is completely system dependent.
ERROR
For some reason the owner of the TCP port could not be determined,
<additional-info> tells why. The following are suggested values
of <additional-info> and their meanings.
INVALID PORT
Either the local or foreign port was improperly specified.
NO USER
The connection specified by the port pair is not currently
in use.
UNKNOWN ERROR
Can't determine connection owner; reason unknown.
Other values may be specified as necessary.
StJohns [Page 2]
^L
RFC 912 September 1984
Authentication Service
CAVEATS
Unfortunately, the trustworthiness of the various host systems that
might implement an authentication server will vary quite a bit. It
is up to the various applications that will use the server to
determine the amount of trust they will place in the returned
information. It may be appropriate in some cases restrict the use of
the server to within a locally controlled subnet.
APPLICATIONS
1) Automatic user authentication for FTP.
2) Verification for privileged network operations. For example,
having the server start or stop special purpose servers.
DISCLAIMER
I designed this protocol to allow me to eliminate the bother of
having to identify myself before continuing an FTP session.
Since I started work on it, other applications appeared. I have
tried to consider all of our applications while still making this as
general as possible.
StJohns [Page 3]
^L
|