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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
|
Network Working Group P. Hoffman
Request for Comments: 4248 VPN Consortium
Obsoletes: 1738 October 2005
Category: Standards Track
The telnet URI Scheme
Status of this Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2005).
Abstract
This document specifies the telnet Uniform Resource Identifier (URI)
scheme that was originally specified in RFC 1738. The purpose of
this document is to allow RFC 1738 to be made obsolete while keeping
the information about the scheme on standards track.
1. Introduction
URIs were previously defined in [RFC2396], which was updated by
[RFC3986]. Those documents also specify how to define schemes for
URIs.
The first definition for many URI schemes appeared in [RFC1738].
Because that document has been made obsolete, this document copies
the telnet URI scheme from it to allow that material to remain on
standards track.
2. Scheme Definition
The Telnet URL scheme is used to designate interactive services that
may be accessed by the Telnet protocol [STD8].
A telnet URL takes the form:
telnet://<user>:<password>@<host>:<port>/
Hoffman Standards Track [Page 1]
^L
RFC 4248 The telnet URI Scheme October 2005
The final "/" character may be omitted. If :<port> is omitted, the
port defaults to 23. The :<password> can be omitted, as well as the
whole <user>:<password> part. Few implementations handle the user
name and password very well, if at all.
This URL does not designate a data object, but rather an interactive
service. Remote interactive services vary widely in the means by
which they allow remote logins; in practice, the <user> and
<password> supplied are advisory only: clients accessing a telnet URL
merely advise the user of the suggested username and password.
Many RFCs have added various services to the Telnet protocol for
better authentication, encryption of traffic, or both. Those RFCs
have not specified new URI schemes for Telnet to invoke those
services (along the lines of "https" being a different URI scheme
from "http"). Some modern telnet clients attempt to invoke those
more-secure versions of Telnet when resolving a "telnet" URL.
3. Security Considerations
There are many security considerations for URI schemes discussed in
[RFC3986].
The Telnet protocol normally uses passwords in the clear for
authentication, and normally offers no privacy. In normal telnet,
both the user's identity and their password are exposed without any
protection; after that, the contents of the entire Telnet session is
exposed without any protection.
Many extensions have been made to Telnet to make it more secure in
different ways. In particular, [RFC2941] gives a framework based on
a telnet option that many other security extensions have leveraged
off of. These extensions are certainly worthwhile methods for
reducing the obvious problems with exposing the user's name,
password, and plaintext of the session in the clear.
Although some modern telnet clients attempt to invoke those more-
secure versions of Telnet when resolving a "telnet" URL, other telnet
clients do not, so a user cannot rely on this type of security unless
it is explicitly enabled and the results of the security negotiation
are checked.
Hoffman Standards Track [Page 2]
^L
RFC 4248 The telnet URI Scheme October 2005
4. Normative References
[STD8] Postel, J. and J. Reynolds, "Telnet Protocol
Specification", STD 8, RFC 854, May 1983.
5. Informative References
[RFC1738] Berners-Lee, T., Masinter, L., and M. McCahill, "Uniform
Resource Locators (URL)", RFC 1738, December 1994.
[RFC2396] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform
Resource Identifiers (URI): Generic Syntax", RFC 2396,
August 1998.
[RFC2941] Ts'o, T. and J. Altman, "Telnet Authentication Option",
RFC 2941, September 2000.
[RFC3986] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform
Resource Identifier (URI): Generic Syntax", STD 66,
RFC 3986, January 2005.
Author's Address
Paul Hoffman
VPN Consortium
127 Segre Place
Santa Cruz, CA 95060
US
EMail: paul.hoffman@vpnc.org
Hoffman Standards Track [Page 3]
^L
RFC 4248 The telnet URI Scheme October 2005
Full Copyright Statement
Copyright (C) The Internet Society (2005).
This document is subject to the rights, licenses and restrictions
contained in BCP 78, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in BCP 78 and BCP 79.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
http://www.ietf.org/ipr.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at ietf-
ipr@ietf.org.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
Hoffman Standards Track [Page 4]
^L
|