Expand description
PPP (Point-to-Point Protocol) frame dissector and sub-protocol parsers.
Provides a PppDissector for PPP frame dissection (RFC 1661 Section 2)
as well as sub-protocol parsers commonly carried inside 3GPP Protocol
Configuration Options (PCO) and PPPoE sessions:
- IPCP – Internet Protocol Control Protocol (RFC 1332, RFC 1877)
- LCP – Link Control Protocol (RFC 1661, RFC 2153)
- PAP – Password Authentication Protocol (RFC 1334)
- CHAP – Challenge Handshake Authentication Protocol (RFC 1994)
The sub-protocol parsers accept raw PPP packet bytes (starting with the Code
field) and push fields directly into a DissectBuffer.
§References
- RFC 1661 (PPP): https://www.rfc-editor.org/rfc/rfc1661
- RFC 2153 (PPP Vendor Extensions, updates RFC 1661): https://www.rfc-editor.org/rfc/rfc2153
- RFC 1332 (IPCP): https://www.rfc-editor.org/rfc/rfc1332
- RFC 1334 (PAP): https://www.rfc-editor.org/rfc/rfc1334
- RFC 1877 (DNS/NBNS extensions for IPCP): https://www.rfc-editor.org/rfc/rfc1877
- RFC 1994 (CHAP, obsoletes RFC 1334 CHAP): https://www.rfc-editor.org/rfc/rfc1994
Modules§
- chap
- CHAP (Challenge Handshake Authentication Protocol) parser.
- ipcp
- IPCP (Internet Protocol Control Protocol) parser.
- lcp
- LCP (Link Control Protocol) parser.
- pap
- PAP (Password Authentication Protocol) parser.
Structs§
- PppDissector
- PPP frame dissector.
Constants§
- PPP_
HEADER_ SIZE - Minimum PPP packet header size (Code + Identifier + Length).
Functions§
- chap_
code_ name - Returns the human-readable name for a CHAP Code value.
- code_
name - Returns the human-readable name for a PPP Code value common to LCP, IPCP and other NCPs (codes 1..=7).
- lcp_
code_ name - Returns the human-readable name for an LCP Code value (codes 1..=11).
- pap_
code_ name - Returns the human-readable name for a PAP Code value.
- parse_
header - Parse the common PPP packet header (Code, Identifier, Length) into a DissectBuffer.
- parse_
protocol - Dispatch a PPP sub-protocol payload to the appropriate parser.