��֯���й�������������http://www.china-pub.com/�� RFC�ĵ����ķ���ƻ���http://www.china-pub.com/compters/emook/aboutemook.htm�� E-mail��ouyang@china-pub.com ���ߣ�hlhuang��hlhuang hlhuang-99@21cn.com�� ���ķ���ʱ�䣺2001-12-28 ��Ȩ�������ķ����ĵ���Ȩ���й��������������С��������ڷ���ҵ��;����ת�أ������� �������ĵ��ķ��뼰��Ȩ��Ϣ�� Network Working Group J. Heath Request for Comments: 3051 J. Border Category: Informational Hughes Network Systems January 2001 ��ITU-T V.44��װ������IP��Ч���ݵ�ѹ�� ��RFC3051����IP Payload Compression Using ITU-T V.44 Packet Method�� ������¼״̬ ������¼Ϊ�����������ṩ��Ϣ�������涨�κ�һ�ֻ����������Ա�����¼�ķ����� û���κ����Ƶġ� ��Ȩ���� Copyright (C) The Internet Society (2001). All Rights Reserved. ժҪ�� ���ĵ�������һ��ѹ���������÷������ڹ���ͨѶ���ϻ�(ITU-T)����V.44���������� ��ѹ���㷨�� V.44������һ����Annex B��Clause B.1֮��ĵ��ƽ��������������V.44 �ڰ���װ�����е�Ӧ�� (��V.44����װ����)�� ���ĵ�������V.44 ����װ������IP��Ч����ѹ��Э��(RFC 2393)�е�Ӧ�á�RFC 2393 ��������IP���ݱ�����Ч���ݲ��ֽ�������ѹ���ķ�����V.44����װ��������LZJH���� ѹ���㷨���ڱ��ĵ����������֣�����V.44����װ������Packet Method����LZJH��ͬ�� �ġ� Ŀ¼ 1. ���� 2 1.1 ���� 2 1.2 LZJH����ѹ���㷨�ı��� 2 1.3 ֪ʶ��Ȩ 3 1.4 ������ 3 2. ѹ������ 3 2.1 �������ֵ� 3 2.2 ��������� 4 2.3 ��� 4 3. ��ѹ������ 4 3.1 ѹ�����ݰ� 4 3.2 ԭʼ��δѹ�����ݰ� 5 4. IPComp Association (IPCA) ���� 5 4.1 �任 ID 5 4.2 ��ȫ�������� 5 4.3 �ֹ����� 5 4.4 ��С���������� 5 4.5 ��ѹ���Բ��� 6 5. ��ȫ���� 6 6. IANA ���� 6 7. ��л 6 8. �ο��ĵ� 6 9. ���ߵ�ַ 7 10.������Ȩ˵�� 8 1. ���� 1.1 ���� ���ĵ���ϸ˵����LZJH����ѹ���㷨��IP���ݰ���Ч�����ϵ�Ӧ�ã����㷨��һ���� ������ѹ���㷨��LZJH����ѹ���Ǻ�IP��Ч����ѹ��Э��(IPComp) [RFC2393]һ��ʹ�õġ� ���ĵ���д��ʱ��������Ѿ�������IPCompЭ�顣 1.2 LZJH����ѹ���㷨�ı��� ����LZJH�㷨�����濴��[LZ77]�����������㷨�����ƣ���ʵ����[LZ78]���������� �㷨������ġ�����[LZ77]�õĶ��ѹ���ʣ�����ִ���ٶȿ죬���ڴ��Ҫ��С������㷨 ԭ����Ϊ���ǹ�ҵ�е�IP���ݰ�ѹ���������ģ�����IPComp�е�Ӧ���Ǻ�����ġ����� ����V.44��LZJH�㷨���ij�����ѹ�����ƽ���������е���������������LZJH��һ�� ����Ӧ�ģ�ͨ��Ŀ�ĵģ����������ѹ���㷨���������ڸ�����������������HTML��ҳ ��������ܣ���ѹ����������ÿMIP�� �ڴ����ã���������ѡ�㷨���ƣ���ITU-Tѡ���� ��Ϊ����V.44�Ļ��������� �������Ǽ�����Ч�ģ��ܹ����������еڶ�������һ�������� �ڵ��ִ�ʱ������ѹ����3λ��С��һ�����͵�[LZ78]ѹ���㷨����V.42bis�������ڽ��� ѹ���ֵ�ʱҪ���ܳ���ʱ�䣬������IP���ݰ��ж���ѹ��ʱ���ѹ��Ч�ʣ����ʺ����� IPCompӦ�á�ͬʱ�������ݰ��м䣬��Ҫ��̫���ѭ��������[LZ78]�ֵ䣬������Ӱ���� ִ��ʱ�䡣 ���Ƶģ����͵�[LZ77]ѹ���㷨����ѹ��ʱ��ʱ̫�࣬��IPComp��ʹ�á�Hash����ѹ���� ������ʱ������������ѹ��ʱ�䣬�����������DZ�����ÿ�����ݰ�֮�������ʼ��������� ��IPCompӦ����Ҳ���ܻ�����ִ��ʱ�䡣 LZJH��ѹ���ͽ�ѹ���ݰ�ʱ�кܺõ�ִ���ٶȣ�����������IP���ݱ�֮�������ֵ��� ����ʱ��Ҳ��������ġ�������ֻҪ���ʼ��һ��256���ֽڵ���������������������� ������ֻҪ���ʼ����������������LZJH�㷨��IPCompӦ����ֻʹ��1525���ʵ��ֵ䣬 �ܹ�ռ��16K���ڴ档�ڱ�������У�δƥ����ַ��������������ordinals����ƥ��Ķ��� ���ִ�������ɴ����֣�codewords�� ���ʾ�����ִ�����չ�ִ����ȡ��ڽ�������У��� ���������ֺ���չ�ִ����ȱ����ͳ���ȷ��ԭʼ���ݰ�����Ч���ݡ� LZJH����ѹ����ϸ�ڿ�����[V44]���ҵ��� 1.3 ֪ʶ��Ȩ IETF�����ݱ��ĵ��е�һЩ�����й淶����֪ʶ��Ȩ�������������Ϣ��ο��������� �б��� 1.4 ������ �ڱ��ĵ��е�һЩ�ؼ��ʿ�����[RFC2119]�����������������ͣ���"MUST"�� "MUST NOT"�� "REQUIRED"�� "SHALL"�� "SHALL NOT"��"SHOULD"�� "SHOULD NOT"�� "RECOMMENDED"��"MAY"�� ��"OPTIONAL"�� 2. ѹ������ ���ݰ���ѹ���ɱ�����������ʵ�֡� 2.1 �������ֵ� ����[V44]��7.5.1����涨������ʵ������ڴ���ÿ�����ݱ���Ч����֮ǰ��������� �ֵ䡣�⽫�ܱ�֤ÿ�����ݱ�����Ч���ݣ������ݱ����ܶ�ʧ������Ļ����£��ɶ������� �����ݱ����н�ѹ���� ���䵥Ԫ���������ݱ������һ���ֽ���������������δ�����ı������ݣ������� ����������ݿ�����Ϊһ����Ԫ���䡣ˢ��ȷ�����е����ݶ��õ�������������������У� ����ѹ���������ݰ��������ģ�����û���κε�ǰ����Ҫ���¸����ݱ��д����� 2.2 ��������� ��Ч����ѹ���㷨������������һ��IP���ݱ�����Ч���ݡ����㷨�������һ���£��� ����С�ģ�����Ч���ݡ��������Ч���ݰ������������Ч���ݣ������ݻ���ѹ�����Ļ��� δѹ���ĸ�ʽ��������������Ч�����ڳ����϶��������ġ� ��ʹ����δѹ������ʽ�������Ч���ݺ�������Ч������һ�µģ�IPComp��ͷ������ ���ԡ���ʹ��ѹ������ʽ���������Ч���ݰ�����IPCompͷ��������[V44] ��6.3���й� ���Ľ��б��롣 2.3 ��� ʹ��LZJH����ѹ�������ݰ���Ч���ݽ�β�����һ��������ѹ�������ֽ�������ƽ��� ���֣�FLUSH codeword������ʾ��ƽ������ֿ��������һ��ѹ�����ݰ��ֽڵĵڶ�λ�� ʼ������β��һ��λ�������������ֽڶ��ǡ�ƽ�������������־ѹ�����ݵĽ�β������ѹ ������䡣�ڱ�ѹ�������Ч�����У���ƽ��������Ժ���κ�λ���ֽڶ�����Ϊ�����ġ� ��ѹ������Ч���ݳ��ȱ��������ֽڵ�Ԫ�� 3. ��ѹ������ ���ݰ��Ľ�ѹ�����ɽ�����������ʵ�ֵġ� 3.1 ѹ�����ݰ� ���յ������ݰ���ѹ�����ģ��������ڴ��������ݰ�ǰ��������������ֵ䡣�������� ȷ��ÿһ�����ݰ��ܹ������ı������ʹ�ڸöԻ����������������ݰ���ʧ���������� [V44]��7.5.2�й涨���������ڳ�ʼ������������ֵ䣬�����߸���[V44]��6.4�й涨�� �������������ݰ��е���Ч���������� 3.2 ԭʼ��δѹ�����ݰ� ���յ������ݰ���δѹ���ģ������߽���ִ�н�ѹ�����̣�ֱ�ӽ����ݰ��е���Ч���� ������һ��Э��㣬�����κ��ġ� 4. IPComp Association (IPCA) ���� ��[RFC2393]�ж��������������IPCA��LZJHѹ���㷨����ʹ��IKE [RFC2409]������ Э�̡� 4.1 �任 ID LZJH�任ID��ֵ��IPCOMP_LZJH�����ֵ������Э��ʹ��IKE��LZJH����ѹ���� ����ʹ�á� 4.2 ��ȫ�������� ��ʹ��IKE����Э�̵�LZJHѹ���㷨�У�����Э��û�ж���IJ���Ҫ�� 4.3 �ֹ����� CPI��ֵIPCOMP_LZJH�������ֹ�����IPCompѹ�����ӵģ�Compression Associations���� 4.4 ��С���������� ��[RFC2393]��������С����ѹ��Ч�����ܲ��Ǻܺá� ����ҳ�͵����ʼ��ļ��У�ʹ ��LZJH�ķ���ʽ���Ա�����ѹ����ƽ����Ч���ݵij��������˴�Լ50���ֽڡ���ˣ��� ���ʵ����ò�Ҫȥѹ����Լ��С��50���ֽڵ���Ч���ݡ� 4.5 ��ѹ���Բ��� [V44]��������LZJH�㷨���Ժ������ľͿ����һ����Ӧ��ǿ�ġ�[RFC2393]������ �Ŀ�ѹ���Բ��ԡ�[V44] ��Annex Bָ���˰�����LZJH�е�����һ�����ԵĻ��ơ� 5. ��ȫ���� ���ĵ��������κ�������[RFC2393]�м��صĸ���İ�ȫ���ǡ� 6. IANA ���� ���ĵ��������κ��µ������ռ䡣IPCOMP_LZJH����[RFC2407]�ж����IPsec IPCOMP �任��־���ռ��н��и�ֵ�ġ��������Ŀ�ģ�IANA�Ѿ���4�������ˡ� 7. ��л ���ĵ�����[RFC2395]��һ��ģ�͡�. 8. �ο��ĵ� [LZ77] Lempel, A., and Ziv, J., "A Universal Algorithm for Sequential Data Compression", IEEE Transactions On Information Theory, Vol. IT-23, No. 3, May 1977. [LZ78] Lempel, A., and Ziv, J., "Compression of Individual Sequences via Variable Rate Coding", IEEE Transactions On Information Theory, Vol. IT-24, No. 5, Sep 1978. [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. [RFC2393] Shacham, A., "IP Payload Compression Protocol (IPComp)", RFC 2393, December 1998. [RFC2395] Friend, R. and R. Monsour, "IP Payload Compression Using LZS", RFC 2395, December 1998. [RFC2407] Piper, D., "The Internet IP Security Domain of Interpretation for ISAKMP", RFC 2407, November, 1998. [RFC2409] Harkins, D. and D. Carrel, "The Internet Key Exchange", RFC 2409, November 1998. [V44] ITU Telecommunication Standardization Sector (ITU-T) Recommendation V.44 "Data Compression Procedures", November 2000. 9. ���ߵ�ַ Jeff Heath Hughes Network Systems 10450 Pacific Center Ct. San Diego, CA 92121 Phone: 858-452-4826 Fax: 858-597-8979 EMail: jheath@hns.com John Border Hughes Network Systems 11717 Exploration Lane Germantown, MD 20876 Phone: 301-601-4099 Fax: 301-601-4275 EMail: border@hns.com 10.������Ȩ˵�� Copyright (C) The Internet Society (2001). 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. ��л Funding for the RFC Editor function is currently provided by the Internet Society. RFC3051����IP Payload Compression Using ITU-T V.44 Packet Method ��ITU-T V.44��װ������IP��Ч���ݵ�ѹ�� 1 RFC�ĵ����ķ���ƻ�