CCP, PPP Compression Control Protocol

Description Glossary RFCs Publications Obsolete RFCs

Description:

Protocol suite: PPP.
Protocol type:PPP Network Control Protocol.
PPP protocol:0x80FD.
SNMP MIBs:
Working groups: pppext, Point-to-Point Protocol Extensions.
Links: PPP Assigned numbers.

The CCP protocol is used for establishing and configuring data compression algorithms over PPP.

RFC 1962, pages 2 and 3:

CCP is responsible for configuring, enabling, and disabling data compression algorithms on both ends of the point-to-point link. It is also used to signal a failure of the compression/ decompression mechanism in a reliable manner.

CCP uses the same packet exchange mechanism as the Link Control Protocol (LCP). CCP packets may not be exchanged until PPP has reached the Network-Layer Protocol phase. CCP packets received before this phase is reached should be silently discarded.

Before any compressed packets may be communicated, PPP must reach the Network-Layer Protocol phase, and the Compression Control Protocol must reach the Opened state.


PPP header CCP header Data :::

CCP header:

0001020304050607 0809101112131415 1617181920212223 2425262728293031
Code Identifier Length
Data :::

Code. 8 bits.
Specifies the function to be performed.

CodeDescriptionReferences
0Vendor Specific. RFC 2153
1Configure-Request. 
2Configure-Ack. 
3Configure-Nak. 
4Configure-Reject. 
5Terminate-Request. 
6Terminate-Ack. 
7Code-Reject. 
8
-
13
  
14Reset-Request. RFC 1962
15Reset-Reply. RFC 1962

Identifier. 8 bits.
Used to match requests and replies.

Length. 16 bits.
Size of the packet including the header.

Data. Variable length.
Zero or more bytes of data as indicated by the Length field. This field may contain one or more CCP options.


CCP Configuration Options:

0001020304050607 0809101112131415
Option Length
Data :::

Option. 8 bits.

OptionLengthDescriptionReferences
0>= 6OUI. RFC 1962
1 Predictor type 1. RFC 1962
2 Predictor type 2. RFC 1962
3 Puddle Jumper. RFC 1962
4
-
15
  These options are intended to be assigned to other freely available compression algorithms that have no license fees. 
16 Hewlett-Packard PPC. RFC 1962
175 LZS, PPP Stac LZS Compression Protocol. RFC 1974
186 MPPC, Microsoft Point-To-Point Compression Protocol.
MPPE, Microsoft Point-To-Point Encryption Protocol.
RFC 2118
RFC 3078
19>= 3 FZA, PPP Gandalf FZA Compression Protocol. RFC 1993
20   V.42bis compression. RFC 1962
213 BSD, PPP BSD Compression Protocol. RFC 1977
22   
236 LZS-DCP, PPP LZS-DCP Compression Protocol. RFC 1967
244 MVRCA, PPP Magnalink Variable Resource Compression Algorithm. RFC 1975
253 DCE, PPP for Data Compression in Data Circuit-Terminating Equipment. RFC 1976
263 Deflate, PPP Deflate Protocol. RFC 1979
27 V.44/LZJH Compression Protocol. 
28
-
254
   
255 Reserved. RFC 1962

Length. 8 bits.

Data. Variable length.


Glossary:


RFCs:

[RFC 1915] Variance for The PPP Connection Control Protocol and The PPP Encryption Control Protocol.

[RFC 1962] The PPP Compression Control Protocol (CCP).

[RFC 1967] PPP LZS-DCP Compression Protocol (LZS-DCP).

[RFC 1974] PPP Stac LZS Compression Protocol.

[RFC 1975] PPP Magnalink Variable Resource Compression.

[RFC 1976] PPP for Data Compression in Data Circuit-Terminating Equipment (DCE).

[RFC 1977] PPP BSD Compression Protocol.

[RFC 1979] PPP Deflate Protocol.

[RFC 1993] PPP Gandalf FZA Compression Protocol.

[RFC 2118] Microsoft Point-To-Point Compression (MPPC) Protocol.

[RFC 3078] Microsoft Point-To-Point Encryption (MPPE) Protocol.


Publications:


Obsolete RFCs:


Description Glossary RFCs Publications Obsolete RFCs