Category: Informational December 1998

Similar documents
Network Working Group. Category: Informational August 1996

Network Working Group Request for Comments: December 1998

Request for Comments: 2393 Category: Standards Track Hi/fn R. Pereira TimeStep M. Thomas AltaVista Internet December 1998

Network Working Group Request for Comments: January IP Payload Compression Using ITU-T V.44 Packet Method

RFC 3173 IP Payload Compression Protocol September 2001

Request for Comments: 2711 Category: Standards Track BBN October 1999

Network Working Group. Category: Standards Track NIST November 1998

Updates: 2710 September 2003 Category: Standards Track. Source Address Selection for the Multicast Listener Discovery (MLD) Protocol

Category: Informational 1 April 2001

Category: Informational May DEFLATE Compressed Data Format Specification version 1.3

Network Working Group Request for Comments: DayDreamer March 1999

Network Working Group. Updates: 1858 June 2001 Category: Informational. Protection Against a Variant of the Tiny Fragment Attack

Request for Comments: Columbia U. November 2000

Category: Informational March Portable Font Resource (PFR) - application/font-tdpfr MIME Sub-type Registration

Request for Comments: 2420 Category: Standards Track September The PPP Triple-DES Encryption Protocol (3DESE)

Packet Trace Guide. Packet Trace Guide. Technical Note

Network Working Group. Category: Standards Track December 2001

Network Working Group. November Encoding Long Options in the Dynamic Host Configuration Protocol (DHCPv4)

Request for Comments: October Transmission of IPv6 Packets over IEEE 1394 Networks

Category: Standards Track May Transport Layer Security Protocol Compression Methods

Network Working Group. Category: Standards Track January 1999 Updates: 2284, 1994, PPP LCP Internationalization Configuration Option

TL Aggro may contain libpng, zlib, and FreeType. The license for libpng, zlib, and FreeType, respectively, follow.

Network Working Group Request for Comments: 2671 Category: Standards Track August 1999

Request for Comments: 3306 Category: Standards Track Microsoft August 2002

Network Working Group. Category: Standards Track February SIEVE Filtering: Spamtest and VirusTest Extensions

See Also: 1201 January 1999 Category: Standards Track

Request for Comments: 3243 Category: Informational April 2002

Category: Standards Track August 2002

XDI Requirements and Use Cases

1 What is SecExClipboard...? 2 Making your... SecExClipboard Disk 3 Using Your... SecExClipboard Disk

Network Working Group Request for Comments: IBM L. Masinter AT&T December 1999

Request for Comments: 2464 Obsoletes: 1972 December 1998 Category: Standards Track. Transmission of IPv6 Packets over Ethernet Networks

VMware vcenter Log Insight Manager. Deployment Guide

Updates: 2535 November 2003 Category: Standards Track

Request for Comments: February Mobile IP Vendor/Organization-Specific Extensions

Splunk. Splunk. Deployment Guide

Request for Comments: 3153 Category: Standards Track C. Fox Cisco Systems August 2001

Network Working Group Request for Comments: Category: Standards Track April 2001

Category: Standards Track January 1999

Network Working Group Request for Comments: 3508 Category: Informational April H.323 Uniform Resource Locator (URL) Scheme Registration

Category: Informational November 2000

Network Working Group. Category: Standards Track. R. Hinden Nokia August 1999

Network Working Group Request for Comments: Category: Experimental J. Postel ISI December 1998

Network Working Group Request for Comments: 3408 Category: Standards Track November 2002

Category: Standards Track August 2002

Request for Comments: 2536 Category: Standards Track March DSA KEYs and SIGs in the Domain Name System (DNS)

Request for Comments: 2230 Category: Informational November 1997

Request for Comments: 3401 Updates: 2276 October 2002 Obsoletes: 2915, 2168 Category: Informational

Network Working Group. Category: Informational September 2000

Migration Tool. Migration Tool (Beta) Technical Note

Network Working Group Request for Comments: T. Yoshida Werk Mikro Systems July 2003

Network Working Group. Category: Informational Cisco Systems J. Brezak Microsoft February 2002

Adobe Connect. Adobe Connect. Deployment Guide

LoadMaster VMware Horizon (with View) 6. Deployment Guide

RSA Two Factor Authentication

Category: Standards Track November Registration of Charset and Languages Media Features Tags. Status of this Memo

Moodle. Moodle. Deployment Guide

Category: Standards Track June 1999

Network Working Group. Category: Standards Track September Telnet Encryption: DES3 64 bit Cipher Feedback

Request for Comments: 3206 Category: Standards Track February 2002

Network Working Group Request for Comments: 3634 Category: Standards Track Comcast Cable J. Bevilacqua N. Davoust YAS Corporation December 2003

Network Working Group Request for Comments: 3397 Category: Standards Track Apple Computer, Inc. November 2002

NTLM NTLM. Feature Description

Network Working Group. Category: Standards Track March 2001

Request for Comments: 3566 Category: Standards Track Intel September The AES-XCBC-MAC-96 Algorithm and Its Use With IPsec

Basic Compression Library

Use and Interpretation of HTTP Version Numbers

Network Working Group Request for Comments: 3446 Category: Informational H. Kilmer D. Farinacci Procket Networks January 2003

Network Working Group Request for Comments: 3137 Category: Informational Cisco Systems A. Zinin Nexsi Systems D. McPherson Amber Networks June 2001

Category: Standards Track December 2003

Network Working Group. B. Nandy Nortel Networks June A Time Sliding Window Three Colour Marker (TSWTCM)

Multi-Server Based Namespace Data Management of Resource Namespace Service

Network Working Group. Obsoletes: draft-ietf-dhc-new-opt-msg-00.txt June 2000 Expires December 2000

Epic. Epic Systems. Deployment Guide

Network Working Group. Category: Standards Track September 2003

Network Working Group. Category: Standards Track Nortel Networks April 2002

LoadMaster Clustering

Category: Standards Track December 1998

Category: Standards Track August POP URL Scheme. Status of this Memo

Category: Best Current Practice March 2000

Network Working Group Request for Comments: 2318 Category: Informational W3C March 1998

Network Working Group Request for Comments: Category: Best Current Practice January 2004

KEMP Driver for Red Hat OpenStack. KEMP LBaaS Red Hat OpenStack Driver. Installation Guide

Network Working Group Request for Comments: 3563 Category: Informational July 2003

Request for Comments: 2583 Category: Informational ANL May Guidelines for Next Hop Client (NHC) Developers. Status of this Memo

Category: Informational July Generic Routing Encapsulation over CLNS Networks

Network Working Group Request for Comments: 2342 Category: Standards Track Innosoft May 1998

Category: Standards Track A. Malis Ascend Communications, Inc. September Inverse Address Resolution Protocol. Status of this Memo

Network Working Group. Category: Informational September Nortel Networks. Multi-link Multi-node PPP Bundle Discovery Protocol

Category: Standards Track Cisco Systems, Inc. D. McPherson TCB K. Peirce Malibu Networks, Inc. November 2002

November VeriSign Registry Registrar Protocol (RRP) Version 2.0.0

Deployment Profile Template Version 1.0 for WS-Reliability 1.1

Network Working Group Request for Comments: Category: Standards Track A. B. Roach dynamicsoft June 2002

Network Working Group. Category: Informational Tenet Technologies September 2002

Configuring Real Servers for DSR

Network Working Group Request for Comments: 2696 Category: Informational Microsoft T. Howes Netscape September 1999

MS Lync MS Lync Deployment Guide

Request for Comments: 2467 Obsoletes: 2019 December 1998 Category: Standards Track. Transmission of IPv6 Packets over FDDI Networks

Network Working Group Request for Comments: October Ethernet Automatic Protection Switching (EAPS) Version 1

Health Checking. Health Checking. Feature Description

Transcription:

Network Working Group R. Pereira Request for Comments: 2394 TimeStep Corporation Category: Informational December 1998 Status of this Memo IP Payload Compression Using DEFLATE This memo provides information for the Internet community. It does not specify an Internet standard of any kind. Distribution of this memo is unlimited. Copyright Notice Copyright (C) The Internet Society (1998). All Rights Reserved. Abstract This document describes a compression method based on the DEFLATE compression algorithm. This document defines the application of the DEFLATE algorithm to the IP Payload Compression Protocol. Table of Contents 1. Introduction...2 1.1 The DEFLATE Compression Algorithm...2 1.2 Licensing...2 1.3 Specification of Requirements...3 2. DEFLATE Algorithm Implementation...3 2.1 Compression...3 2.2 Decompression...4 3. Thresholds...4 4. IPSec Transform Identifier...4 5. Security Considerations...4 6. References...5 7. Acknowledgments...5 8. Editor s Address...5 9. Full Copyright Statement...6 Pereira Informational [Page 1]

1. Introduction The IP Payload Compression Protocol allows the compression of IP datagrams by supporting different compression algorithms. This document describes how to integrate the DEFLATE compression algorithm [Deutsch96] into IPCOMP [IPCOMP]. This document SHOULD be read in conjunction with [IPCOMP] and MUST be taken in its context. 1.1 The DEFLATE Compression Algorithm The deflate compression format [Deutsch96], as used by the PKZIP and gzip compressors and as embodied in the freely and widely distributed zlib [Gailly95] library source code, has the following features: o an apparently unencumbered encoding and compression algorithm, with an open and publicly-available specification. o low-overhead escape mechanism for incompressible data. The PPP Deflate specification offers options to reduce that overhead further. o heavily used for many years in networks, on modem and other pointto-point links to transfer files for personal computers and workstations. o easily achieves 2:1 compression on the Calgary corpus [Corpus90] using less than 64KBytes of memory on both sender and receive. 1.2 Licensing The zlib source is widely and freely available, subject to the following copyright: (C) 1995 Jean-Loup Gailly and Mark Adler This software is provided as-is, without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: Pereira Informational [Page 2]

1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. Jean-Loup Gailly gzip@prep.ai.mit.edu Mark Adler madler@alumni.caltech.edu If you use the zlib library in a product, we would appreciate *not* receiving lengthy legal documents to sign. The sources are provided for free but without warranty of any kind. The library has been entirely written by Jean-Loup Gailly and Mark Adler; it does not include third-party code. The deflate format and compression algorithm are based on Lempel-Ziv LZ77 compression; extensive research has been done by the GNU Project and the Portable Network Graphics working group supporting its patent free status. 1.3 Specification of Requirements The keywords "MUST", "MUST NOT", "REQUIRED", "SHOULD", "SHOULD NOT", and "MAY" that appear in this document are to be interpreted as described in [Bradner97]. 2. DEFLATE Algorithm Implementation The DEFLATE compression algorithm was designed by Phil Katz and its details are publicly available in [Deutsch96]. Thus it is a good freely available algorithm to implement within IPCOMP. Compression and decompression algorithm details should be followed as outlined in [Deutsch96] or the use of a software library may be preferable. Since IPComp is a stateless protocol, history MUST be cleared between packets when either compressing or decompressing. 2.1 Compression As defined in [IPCOMP], the compression process is determined by the IP Compression Association (IPCA). The IPCA MUST define the DEFLATE algorithm for the process within this document to take place. Pereira Informational [Page 3]

The compression process entails compressing the data from the IP datagram and placing the result after the IPComp header. For example, compressing a TCP datagram; Before: IP TCP... After: IP IPCOMP (TCP...) Please note how everything after the IPCOMP header is compressed. DEFLATE allows for a number of compression levels ranging from best compression but slow to fast compression. The level that one compresses data is implementation dependant since it is always compatible with the decompression algorithm. 2.2 Decompression As in the compression process, the IPCA defines the parameters and algorithm to utilize for the decompression process. As defined in [IPCOMP] the data after the IPComp header is decompressed and replaces the IPComp header within the IP header. Decompression using the DEFLATE algorithm follows the decompression process defined in [Deutsch96]. 3. Thresholds As stated in [IPCOMP], compression on small buffers does not usually work as well as on fast links since the time it takes to compress is slower than the time to transport the data. Informal tests show that the average buffer size that produces larger results is around 90 bytes. Thus implementations SHOULD NOT attempt to compress buffers smaller than 90 bytes. Other than a packet size limit, no compressibility test as defined in [IPCOMP] is outlined in this document. 4. IPSec Transform Identifier [IPDOI] states that the ISAKMP IPCOMP transform ID for the DEFLATE compression algorithm is IPCOMP_DEFLATE. No other ISAKMP parameters are required for the IPCOMP DEFLATE algorithm. 5. Security Considerations This document does not add any further security considerations that [IPCOMP] and [Deutsch96] have already declared. Pereira Informational [Page 4]

6. References [IPCOMP] Shacham, A., Monsour, R., Pereira, R., and M. Thomas, "IP Payload Compression Protocol (IPComp)", RFC 2393, December 1998. [Deutsch96] Deutsch, P., "DEFLATE Compressed Data Format Specification version 1.3", RFC 1951, May 1996. [IPDOI] Piper, D., "The Internet IP Security Domain of Interpretation for ISAKMP", RFC 2407, November 1998. [Corpus90] Bell, T.C., Cleary, G. G. and Witten, I.H., "Text Compression", Prentice_Hall, Englewood Cliffs NJ, 1990. The compression corpus itself can be found in ftp://ftp.uu.net/pub/archiving/zip/ [Gailly95] Gailly, J.-L., "Zlib 0.95 beta" 7. Acknowledgments The author wishes to thank all of the active members of the IPPCP working group especially Abraham Shacham and Naganand Doraswamy. 8. Editor s Address Roy Pereira TimeStep Corporation Phone: +1 (613) 599-3610 x 4808 EMail: rpereira@timestep.com The IP Payload Compression Protocol (IPPCP) working group can be contacted via email (ippcp@cisco.com) or through its chair: Naganand Dorswamy Bay Networks EMail: naganand@baynetworks.com Pereira Informational [Page 5]

9. Full Copyright Statement Copyright (C) The Internet Society (1998). 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. Pereira Informational [Page 6]