ECP, PPP Encryption Control Protocol |
Description | Glossary | RFCs | Publications | Obsolete RFCs |
Protocol suite: | PPP. |
Protocol type: | PPP network control protocol. |
PPP protocol: | 0x8053. |
SNMP MIBs: | |
Working groups: | pppext, Point-to-Point Protocol Extensions. |
Links: | PPP Assigned numbers. |
This protocol is used for establishing and configuring data encryption algorithms over PPP.
ECP is responsible for configuring and enabling data encryption algorithms on both ends of the point-to-point link.
ECP uses the same packet exchange mechanism as the Link Control Protocol (LCP). ECP packets may not be exchanged until PPP has reached the Network-Layer Protocol phase. ECP packets received before this phase is reached should be silently discarded.
PPP header | ECP header | Data ::: |
ECP header:
00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Code | Identifier | Length | |||||||||||||||||||||||||||||
Data ::: |
Code.
8 bits.
Specifies the function to be performed.
Code | Description | References |
---|---|---|
0 | Vendor Specific. | RFC 2153 |
1 | Configure-Request. | |
2 | Configure-Ack. | |
3 | Configure-Nak. | |
4 | Configure-Reject. | |
5 | Terminate-Request. | |
6 | Terminate-Ack. | |
7 | Code-Reject. | |
8 - 13 | ||
14 | Reset-Request. | RFC 1968 |
15 | Reset-Ack. | RFC 1968 |
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 Options.
ECP Configuration Options.
00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Option | Length | ||||||||||||||
Data ::: |
Option. 8 bits.
Option | Length | Description | References |
---|---|---|---|
0 | >= 6 | OUI, Organizationally Unique Identifier. | RFC 1968 |
1 | 10 | DESE, PPP DES Encryption Protocol. (Deprecated). | RFC 1969 |
2 | 10 | 3DESE, PPP Triple-DES Encryption Protocol. | RFC 2420 |
3 | 10 | DESE-bis, PPP DES Data Encryption Standard Protocol. | RFC 2419 |
4 - 255 |
Length. 8 bits.
Data. Variable length.
RFCs:
[RFC 1915] Variance for The PPP Connection Control Protocol and The PPP Encryption Control Protocol.
[RFC 1968] The PPP Encryption Control Protocol (ECP).
[RFC 2419] The PPP DES Encryption Protocol, Version 2 (DESE-bis).
[RFC 2420] The PPP Triple-DES Encryption Protocol (3DESE).
[RFC 1969] The PPP DES Encryption Protocol (DESE).
Description | Glossary | RFCs | Publications | Obsolete RFCs |