扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
作者:论坛整理 来源:ZDNet网络安全 2007年12月28日
关键字: telnet命令 opentelnet linux telnet telnet端口 telnet入侵 telnet
Network Working Group Dave Crocker, Rand-ISD
Request for Comments: 729 (Dcrocker at Rand-Unix)
NlC: 40306 13 May l977
TELNET Byte Macro Option
1. Command name and code:
BM 19
2. Command Meanings:
IAC WILL BM
The sender of this command REQUESTS or AGREES to use the BM option, and will send sing1e data characters which are to be interpreted as if longer data strings had been sent.
IAC WON'T BM
The sender of this option REFUSES to send single data characters which are to be interpreted as if longer data strings had been sent.
IAC DO BM
The sender REQUESTS or AGREES to have the other side (send of WILL BM) issue send single data characters which are to be interpreted as if longer data strings had been sent.
IAC DON'T BM
The sender REFUSES to allow the other side to send single data characters which are to be interpreted as if longer data strings had been sent.
IAC SB BM
where:
The indicated
Note that the effect of a particular
IAC SB BM
The receiver of the
IAC SB BM
The receive of the
IAC SB BM
The
3. Default:
WON'T BM -- DON'T BM
No reinterpretation of data is allowed.
4. Motivation for the option:
Subcommands for Telnet options currently require a minimum of five characters to be sent over the network (i.e., IAC SB IAC SE). For sub-commands which are employed infrequently, in absolute numbers and in relation to normal data, this overhead is tolerable. In other cases, however, it is not. For example, data which is sent in a block-oriented fashion may need a "block separator" mark. If blocks are commonly as small as five or ten bytes, then most of the cross-net data will be control information.
The BM option is intended as a simple data compression technique, to remove this overhead from the communication channel.
5. Description of the option
The option is enabled through the standard Telnet Option negotiation process. Afterwards, the SENDER of data (the side which sends the IAC WILL BM) is free to define and use mappings between single and multiple NOT characters. Except for the ability to offer a blanket refusal, the receiver of data has no control over the definition and use of mappings.
The sender (of the WILL BM) is prohibited from using or redefining a
NOTE: The Telnet command character IAC (decimal 255) may be a member of an
With the exception of IAC, data transfered as part of BM subcommands are NOT to be interpreted. They are to be taken only as their normal character values. This avoids the problem of distinguishing between a character which is to be taken as a byte>, and interpreted as its corresponding
The
The BM option is notably inefficient with regard to problems during
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者