分享
 
 
 

RFC946 - Telnet terminal location number option

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

Network Working Group R. Nedved

Request for Comments: 946 Carnegie-Mellon University

May 1985

TELNET TERMINAL LOCATION NUMBER OPTION

Status of this Memo

This RFCproposes a new option for Telnet for the ARPA-Internet

community, and requests discussion and suggestions for improvements.

Distribution of this memo is unlimited.

Overview

In a community of users that share a large degree of common

facilities, it is often advantageous to use some common feature to

improve software performance and redUCe initial implementation costs.

In March of 1982, CMU designed and implemented based on the growing

CMU PUP-based network a terminal location database and modified

existing network software to handle a 64-bit number which some call

the Terminal Location Number or TTYLOC for short. The number can be

efficiently stored in operating systems tables and can be passed

between various levels of operating system and network layering with

minimum modifications to existing software. An initial evaluation of

changing software to communicate an unfixed or reasonable length

terminal location string indicated it would be eXPensive.

CMU now wishes to extend this mechanism into the TCP-based networking

support that is replacing the existing PUP-based software. The

mechanism is not viewed as a replacement for the Telnet Terminal

Location (SEND-LOCATION) Option but as a shorthand mechansim for

communicating hosts in the same community.

TTYLOC Number

The TTYLOC number is a 64-bit number composed of two (2) 32-bit

numbers: The 32-bit official ARPA Internet host address (may be any

one of the addresses for multi-homed hosts) and a 32-bit number

representing the terminal on the specified host. The host address of

[0.0.0.0] is defined to be "unknown", the terminal number of FFFFFFFF

(hex, r or-1 in decimal) is defined to be "unknown" and the terminal

number of FFFFFFFE (hex, or -2 in decimal) is defined to be

"detached" for processes that are not attached to a terminal.

RFC946 May 1985

Telnet Terminal Location Number Option

1. Command Name and Option Code

TTYLOC 28

2. Command Meanings

IAC WILL TTYLOC

The sender offers to send the TTYLOC information or confirms that

it can send the TTYLOC information.

IAC WON'T TTYLOC

The sender refuses to send the TTYLOC information.

IAC DO TTYLOC

The sender requests to receive the TTYLOC information or confirms

that it will receive the TTYLOC information.

IAC DON'T TTYLOC

The sender refuses to receive the TTYLOC information.

IAC SB TTYLOC <format> <TTYLOC number with IAC doubling> IAC SE

The sender is transmitting the TTYLOC information. The 64-bit

TTYLOC number has format 0. The first 32-bits is the Internet host

number and the second 32-bits is the line on the specified

Internet host. The bytes are in most significant 8-bit byte to

least significant byte order.

3. Default Specification

WON'T TTYLOC

TTYLOC information will not be sent.

DON'T TTYLOC

TTYLOC information will not be received.

RFC946 May 1985

Telnet Terminal Location Number Option

4. Motivation

Many systems provide a mechanism for finding out where a user is

logged in from usually including information about telephone

extension and Office occupants names. The information is useful for

physically locating people and/or calling them on the phone.

For incoming network connections to a host, only the remote host's

name is available. This option and the Telnet Terminal Location

option (RFC-779) provide the information to the system so it in turn

can provide the information to the various mechanisms (FINGER, WHOIS,

etc.).

5. Description of the Option

When the user Telnet connects to a remote host, it can attempt to

send the terminal location number information by doing a

IAC WILL TTYLOC command. If the Telnet server can use the

information, it replies with a IAC DO TTYLOC command. The user Telnet

then sends the TTYLOC number in the subnegotiation.

It is recommended that if sending the TTYLOC number is refused then

the Telnet Terminal Location (SEND-LOCATION in RFC-779) should be

attempted.

The following are two example usage scenarios:

User Side First:

(User) Host1: IAC WILL TTYLOC

Host1 is aSKINg if it can send the 64-bit terminal location

number (I will send...).

(Server) Host2: IAC DO TTYLOC

Host2 indicates to Host1 that it will accept the 64-bit

terminal location number in a subnegotiation (You please do

...).

(User) Host1: IAC SB TTYLOC 0 <64-bit number> IAC SE

Host1 is sending the location number to Host2 which can

communicate the number to the operating system or other

system components.

RFC946 May 1985

Telnet Terminal Location Number Option

Server Side First:

(Server) HostA: IAC DO TTYLOC

HostA indicates to HostB that it would like to know the

64-bit terminal location number (You please do ...).

(User) HostB: IAC WILL TTYLOC

HostB agrees to send the 64-bit terminal location number to

HostA in a subnegotiation (I will send...).

(User) HostB: IAC SB TTYLOC 0 <64-bit number> IAC SE

HostB is sending the location number to HostA which can

communicate the number to the operating system or other

system components.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有