分享
 
 
 

RFC2732 - Format for Literal IPv6 Addresses in URLs

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

Network Working Group R. Hinden

Request for Comments: 2732 Nokia

Category: Standards Track B. Carpenter

IBM

L. Masinter

AT&T

December 1999

Format for Literal IPv6 Addresses in URL's

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 (1999). All Rights Reserved.

Abstract

This document defines the format for literal IPv6 Addresses in URL's

for implementation in World Wide Web browsers. This format has been

implemented in the IPv6 versions of several widely deployed browsers

including Microsoft Internet EXPlorer, Mozilla, and Lynx. It is also

intended to be used in the IPv6 version of the service location

protocol.

This document incudes an update to the generic syntax for Uniform

Resource Identifiers defined in RFC2396 [URL]. It defines a syntax

for IPv6 addresses and allows the use of "[" and "]" within a URI

explicitly for this reserved purpose.

1. IntrodUCtion

The textual representation defined for literal IPv6 addresses in

[ARCH] is not directly compatible with URL's. Both use ":" and "."

characters as delimiters. This document defines the format for

literal IPv6 Addresses in URL's for implementation in World Wide Web

browsers. The goal is to have a format that allows easy "cut" and

"paste" operations with a minimum of editing of the literal address.

The format defined in this document has been implemented in the IPv6

versions of several widely deployed browsers including Microsoft

Internet Explorer, Mozilla, and Lynx. It is also intended to be used

in the IPv6 version of the service location protocol.

1.1 Requirements

The keyWords MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD,

SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL, if and where they appear

in this document, are to be interpreted as described in [KEYWORDS].

World Wide Web browsers SHOULD implement the format of IPv6 literals

in URL's defined in this document. Other types of applications and

protocols that use URL's MAY use this format.

2. Literal IPv6 Address Format in URL's Syntax

To use a literal IPv6 address in a URL, the literal address should be

enclosed in "[" and "]" characters. For example the following

literal IPv6 addresses:

FEDC:BA98:7654:3210:FEDC:BA98:7654:3210

1080:0:0:0:8:800:200C:4171

3ffe:2a00:100:7031::1

1080::8:800:200C:417A

::192.9.5.5

::FFFF:129.144.52.38

2010:836B:4179::836B:4179

would be represented as in the following example URLs:

http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.Html

http://[1080:0:0:0:8:800:200C:417A]/index.html

http://[3ffe:2a00:100:7031::1]

http://[1080::8:800:200C:417A]/foo

http://[::192.9.5.5]/ipng

http://[::FFFF:129.144.52.38]:80/index.html

http://[2010:836B:4179::836B:4179]

3. Changes to RFC2396

This document updates the generic syntax for Uniform Resource

Identifiers defined in RFC2396 [URL]. It defines a syntax for IPv6

addresses and allows the use of "[" and "]" within a URI explicitly

for this reserved purpose.

The following changes to the syntax in RFC2396 are made:

(1) change the 'host' non-terminal to add an IPv6 option:

host = hostname IPv4address IPv6reference

ipv6reference = "[" IPv6address "]"

where IPv6address is defined as in RFC2373 [ARCH].

(2) Replace the definition of 'IPv4address' with that of RFC2373, as

it correctly defines an IPv4address as consisting of at most three

decimal digits per segment.

(3) Add "[" and "]" to the set of 'reserved' characters:

reserved = ";" "/" "?" ":" "@" "&" "=" "+"

"$" "," "[" "]"

and remove them from the 'unwise' set:

unwise = "{" "}" "" "\" "^" "`"

4. Security Considerations

The use of this approach to represent literal IPv6 addresses in URL's

does not introduce any known new security concerns.

5. IANA Considerations

None.

6. Authors' Addresses

Robert M. Hinden

Nokia

313 Fairchild Drive

Mountain View, CA 94043

USA

Phone: +1 650 625 2004

EMail: hinden@iprg.nokia.com

Web: http://www.iprg.nokia.com/~hinden

Brian E. Carpenter

IBM

iCAIR, Suite 150

1890 Maple Avenue

Evanston IL 60201

USA

EMail:

brian@icair.org

Larry Masinter

AT&T Labs

75 Willow Road

Menlo Park, CA 94025

EMail: LMM@acm.org

Web: http://larry.masinter.net

7. References

[ARCH] Hinden, R. and S. Deering, "IP Version 6 Addressing

Architecture", RFC2373, July 1998.

[STD-PROC] Bradner, S., The Internet Standards Process -- Revision 3,

BCP 9, RFC2026, October 1996.

[URL] Fielding, R., Masinter, L. and T. Berners-Lee, "Uniform

Resource Identifiers: Generic Syntax", RFC2396, August

1998.

8. Full Copyright Statement

Copyright (C) The Internet Society (1999). All Rights Reserved.

This document and translations of it may be copied and furnished to

others, and derivative works that comment on or otherwise explain it

or assist in its implementation may be prepared, copied, published

and distributed, in whole or in part, without restriction of any

kind, provided that the above copyright notice and this paragraph are

included on all such copies and derivative works. However, this

document itself may not be modified in any way, such as by removing

the copyright notice or references to the Internet Society or other

Internet organizations, except as needed for the purpose of

developing Internet standards in which case the procedures for

copyrights defined in the Internet Standards process must be

followed, or as required to translate it into languages other than

English.

The limited permissions granted above are perpetual and will not be

revoked by the Internet Society or its successors or assigns.

This document and the information contained herein is provided on an

"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING

TASK FORCE DISCLAIMS 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.

Acknowledgement

Funding for the RFCEditor function is currently provided by the

Internet Society.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
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- 王朝網路 版權所有