• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

RFC859 - Telnet Status Option

发布: 2007-6-23 14:09 | 作者:   | 来源:   | 查看: 12次 | 进入软件测试论坛讨论

领测软件测试网

   
  Network Working Group J. Postel
Request for Comments: 859 J. Reynolds
ISI
Obsoletes: RFC651 (NIC 31154) May 1983

TELNET STATUS OPTION

This RFCspecifies a standard for the ARPA Internet community. Hosts on

the ARPA Internet are expected to adopt and implement this standard.

1. Command Name and Code

STATUS 5

2. Command Meanings

This option applies separately to each direction of data flow.

IAC DON'T STATUS

Sender refuses to carry on any further discussion of the current
status of options.

IAC WON'T STATUS

Sender refuses to carry on any further discussion of the current
status of options.

IAC SB STATUS SEND IAC SE

Sender requests receiver to transmit his (the receiver's)
perception of the current status of Telnet options. The code for
SEND is 1. (See below.)

IAC SB STATUS IS ... IAC SE

Sender is stating his perception of the current status of Telnet
options. The code for IS is 0. (See below.)

3. Default

DON'T STATUS, WON'T STATUS

The current status of options will not be discussed.

4. Motivation for the Option

This option allows a user/process to verify the current status of
TELNET options (e.g., echoing) as viewed by the person/process on the
other end of the TELNET connection. Simply renegotiating options

RFC859 May 1983

could lead to the nonterminating request loop problem discussed in
the General Consideration section of the TELNET Specification. This
option fits into the normal structure of TELNET options by deferring
the actual transfer of status information to the SB command.

5. Description of the Option

WILL and DO are used only to obtain and grant permission for future
discussion. The actual exchange of status information occurs within
option subcommands (IAC SB STATUS...).

Once the two hosts have exchanged a WILL and a DO, the sender of the
WILL STATUS is free to transmit status information, spontaneously or
in response to a request from the sender of the DO. At worst, this
may lead to transmitting the information twice. Only the sender of
the DO may send requests (IAC SB STATUS SEND IAC SE) and only the
sender of the WILL may transmit actual status information (within an
IAC SB STATUS IS ... IAC SE command).

IS has the subcommands WILL, DO and SB. They are used EXACTLY as used
during the actual negotiation of TELNET options, except that SB is
terminated with SE, rather than IAC SE. Transmission of SE, as a
regular data byte, is accomplished by doubling the byte (SE SE).
Options that are not explicitly described are assumed to be in their
default states. A single IAC SB STATUS IS ... IAC SE describes the
condition of ALL options.

RFC859 May 1983

The following is an example of use of the option:

Host1: IAC DO STATUS

Host2: IAC WILL STATUS

(Host2 is now free to send status information at any time.
Solicitations from Host1 are NOT necessary. This should not
produce any dangerous race conditions. At worst, two IS's will
be sent.)

Host1 (perhaps): IAC SB STATUS SEND IAC SE

Host2 (the following stream is broken into multiple lines only for
readability. No carriage returns are implied.):

IAC SB STATUS IS

WILL ECHO

DO SUPPRESS-GO-AHEAD

WILL STATUS

DO STATUS

IAC SE

Explanation of Host2's perceptions: It is responsible for echoing
back the data characters it receives over the TELNET connection;
it will not send Go-Ahead signals; it will both issue and request
Status information.

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网