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

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

RFC695 - Official change in Host-Host Protocol

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

领测软件测试网

   
  NWG/RFC# 695 MCK 5-JUL-75 15:38 32908
Official Change in Host-Host Protocol

Mark Krilanovich 1

Official Change in Host-Host Protocol 2

This is an official change to the Host to Host

protocol, this document should be filed with the
protocol specification (nic -- 8246,) in the Current
Network Protocols Notebook (nic -- 7104,). 3

-- Jon Postel 3a

This document corrects an ambiguity in the current
host-host protocol, concerning the ERR command.
Paragraph "f", page 35, of NIC 8246 defines the
meaning of an ERR command with error code of 5 to be
"socket (link) not connected". The error code is
stated to apply to two cases, one in which a control
command other than STR or RTS refers to a socket that
is neither fully open nor fully closed, and the other
in which a (non-control) message arrives over a link
not being used for a connection. 4

The difficulty arises from the fact that the contents
of the "data" field of the ERR command has distinctly
different formats in the two cases. In the first, it
is a host-host command, and in the second it is a
message header. There is no reliable way for the code
in the NCP receiving the ERR command (or a human
reviewing an error log) to distinguish between the two
cases, and therefore fullest use cannot be made of the
ERR command. 5

The two cases are now defined to have different error
codes. In addition, a new error code is defined,
meaning "invalid host leader received". Therefore,
paragraph "f" under "ERR - Error detected" is now
replaced by the following: 6

f. Request on a non-open socket (Error code = 5) 7

NWG/RFC# 695 MCK 5-JUL-75 15:38 32908
Official Change in Host-Host Protocol

A request other than an STR or RTS was made for a
socket (perhaps referenced by link number) that is
not party to an fully established connection. The
socket's inappropriate state could either be that
only one RFChas been sent (not yet open) or that
only one CLS has been sent (not yet closed). The
"data" field contains the command in error; the
value of any fill necessary is zeros. 7a

g. Message on an unknown link (Error code = 6) 8

A message was received over a user link which is
not currently being used for any connection. The
contents of the "data" field are the message header
followed by the first eight bits of text, if any,
or zeros. 8a

h. Invalid host header (Error code = 7) 9

A message was received either over the control link
or a valid user link that had a host header with
invalid format. Examples of when this subtype would
be appropriate are the following: the M1 or M2
fields were non-zero, the byte size was invalid
(not 8 for a control link, zero for any link), or
the declared length (byte size times byte count)
exceeded the actual length. The contents of the
"data" field is the message header padded with
eight bits of zeros. 9a

------- 10

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


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

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