Supported Protocols
PacketSmith supports a range of fundamental protocols across various OSI Model layers, including specific encapsulation protocols. The number of protocols it supports is limited and carefully selected to address specific types of problems related to those protocols.
- L2 – Data Link Layer
| LINKTYPE_ name | DLT_ name | LINKTYPE_ value |
|---|---|---|
| LINKTYPE_NULL | DLT_NULL (BSD loopback encapsulation) | 0x00000000 |
| LINKTYPE_ETHERNET | DLT_EN10MB (IEEE 802.3) | 0x01000000 |
| FakeNet | FakeNet (Dynamic Network Analysis Tool) | 0x0c000000 |
| LINKTYPE_RAW | DLT_RAW (Raw IP) | 0x65000000 |
| LINKTYPE_C_HDLC | DLT_C_HDLC (Cisco PPP with HDLC framing) | 0x68000000 |
| LINKTYPE_LOOP | DLT_LOOP (OpenBSD loopback encapsulation) | 0x6c000000 |
| LINKTYPE_LINUX_SLL | DLT_LINUX_SLL (Linux cooked capture encapsulation) | 0x71000000 |
| LINKTYPE_LINUX_SLL2 | DLT_LINUX_SLL2 (Linux cooked capture encapsulation v2) | 0x14010000 |
| IEEE 802.1Q | 802.1Q Virtual LAN (Customer VLAN Tag Type – Q-Tag) | 0x8100 |
| LINKTYPE_JUNIPER_ETHER | DLT_JUNIPER_ETHER (Juniper Networks private data link type) | 0xb2000000 |
- L3 – Network Layer
| Name | Ethertype value |
|---|---|
| IPv4 - Internet Protocol version 4 | 0x0800 |
| IPv6 - Internet Protocol version 6 | 0x86dd |
| ARP - Address Resolution Protocol | 0x0806 |
| RARP - Reverse Address Resolution Protocol | 0x8035 |
| WoL - Wake-on-LAN | 0x0842 |
| IPv4e - IPv4 encapsulation | 0x04 |
| IPv6e – IPv6 encapsulation | 0x29 |
| ESP - Encap Security Payload (with IPv4/IPv6) | 0x32 |
| AH – Authentication Header | (with IPv4) 0x33 |
For the IPv6 protocol, PacketSmith accounts for the following list of extensions:
- 0x00: Hop-by-Hop Options
- 0x2c: Fragment
- 0x3c: Destination Options
- 0x2b: Routing
- 0x33: Authentication
- 0x32: Encapsulating Security Payload
- 0x87: Mobility
- L4 – Transport Layer
| Name | Protocol Number |
|---|---|
| TCP - Transmission Control | 0x06 |
| UDP - User Datagram | 0x11 |
| UDP-Lite | 0x88 |
| ICMP - Internet Control Message | 0x01 |
| ICMPv6 - (IPv6-ICMP) - ICMP for IPv6 | 0x3a |
| IGMP - Internet Group Management | 0x02 |
- L5 – Application Layer
- DNS
PacketSmith supports other overlay/encapsulation layers, including:
- Virtual eXtensible LAN (VXLAN)
- Note that this layer is not parsed by default unless the –takeoff option with the argument vxlan is specified.
- Virtual LAN (VLAN)
