EAPOL (eapol)
- Layer: L2 (data link)
- Header: variable length
- Notes: L2 control protocols
Reached from
| Lower layer | Selector | Value |
|---|---|---|
ethernet2 | ethertype | 34958 (0x888e) |
Fields
| Field | Type | Default | Auto | Description |
|---|---|---|---|---|
version | uint(8) | 2 | EAPOL protocol version. | |
type | enum(8) | 0 (eap) | EAPOL packet type (0 = EAP, 1 = Start, 2 = Logoff, 3 = Key). | |
length | uint(16) | Length of the header in octets (-4) | Length of the EAPOL body, in octets (Auto). | |
body | bytes — length octets | "" | EAPOL body (the EAP packet for type 0); opaque octets. |
type
| Value | Name |
|---|---|
| 0 (0x00) | eap |
| 1 (0x01) | start |
| 2 (0x02) | logoff |
| 3 (0x03) | key |
| 4 (0x04) | encapsulated_asf_alert |
Sample templates
- eapol —
templates/protocols/l2/eapol.wpg.yaml