81 Native Layer 2–7 Protocol Specifications
From Layer 2 arp and qinq trunks up to encrypted snmp3 traps, 4-byte bgp ASNs, and industrial dnp3 substation frames — filter below or open any of the 8 protocol categories for cross-layer rules and multi-protocol .frasm captures.
Browse and Filter All 81 Protocols
arp — Broadcast ARP Requests, Replies & GARP Failovers
Every network outage eventually gets blamed on DNS or ARP — with a -> b arp you can script broadcast Who-Has queries, a <- b arp reply answers, and arp gratuitous VIP takeovers in three l…
vlan — 802.1Q Trunk Tags (0x8100) Without NIC Stripping
Laptop OSes love silently stripping 0x8100 tags before Wireshark ever sees them — writing vlan 120 pcp 5 bakes the exact 4-byte 802.1Q tag straight into your .pcap bytes.
qinq — Double-Tagged 802.1ad S-Tag & 802.1Q C-Tag Frames
Because one VLAN tag was too mainstream for carriers: qinq 500 innervlan 20 stacks an outer 0x88a8 S-Tag -> inner 0x8100 C-Tag on any packet line.
lldp — IEEE 802.1AB Neighbor Discovery TLV Frames
Want your NMS or test bench to think a 400G core chassis is plugged into Gi0/1? One sw -> peer lldp frame advertises Chassis ID, Port ID, TTL, and System Name TLVs to 01:80:c2:00:00:0e.
stp — IEEE 802.1D STP & 802.1w RSTP BPDU Captures
Electing your laptop Root Bridge on a live corporate VLAN is a career-limiting move — crafting stp and stp rstp BPDUs into a .pcap lets you audit BPDU Guard without the walk of shame.
lacp — IEEE 802.3ad Actor/Partner Link Aggregation PDUs
Few things burn a Friday night faster than two switches refusing to bundle a LAG because one side is passive and the keys disagree. lacp writes exact 128-byte actor <-> partner slow-proto…
eapol — IEEE 802.1X Port Authentication & EAPOL Frames
Before your workstation even gets an IP address, supplicant -> switch eapol start kicks off the 802.1X bouncer at the switch port so you can script the whole EAP identity handshake withou…
mpls — 32-Bit RFC 3032 MPLS Label Shims (0x8847)
No need to boot four virtual provider-edge routers just to get a 4-byte 0x8847 shim — tack mpls 16040 exp 6 bos 1 mplsttl 64 onto any packet line and call it a day.
icmp — Dual-Stack ICMPv4 & ICMPv6 Echo and Error Frames
The humble ping (a -> b icmp echorequest and a <- b icmp echoreply) automatically emits ICMPv4 over IPv4 hosts or ICMPv6 with full pseudo-header checksums over IPv6 hosts.
ndp — RFC 4861 IPv6 Neighbor Discovery & Router Advertisements
IPv6 threw ARP in the bin and replaced it with ICMPv6 Neighbor Discovery at Hop Limit 255. ndp builds neighborsolicit, neighboradvert, and rogue routeradvert frames to test switch RA Guard.
igmp — IPv4 IGMPv1/v2/v3 Multicast Queries, Joins & Leaves
Multicast is great right up until IGMP snooping misbehaves and floods video onto every desk phone in the building. igmp builds query, report, and leave frames at ttl 1 with RFC 1112 multi…
mld — IPv6 Multicast Listener Discovery (ICMPv6 130–132)
What igmp does for IPv4, mld does for IPv6 (ff02::/16 -> 33:33:xx:xx:xx:xx Ethernet MACs at Hop Limit 1), making it easy to check whether your leaf switches actually snoop IPv6 multicast.
gre — RFC 2784 / 2890 GRE Tunnel Wrappers & Key/Seq Flags
Before everything became UDP overlays, engineers duct-taped continents together with IP Protocol 47. gre toggles RFC 2890 Key, Sequence, and Checksum bits automatically as you add fields.
vxlan — 24-Bit Data-Center VXLAN Overlays on UDP 4789
When 4,094 VLANs stopped being enough, data centers wrapped Layer 2 inside UDP 4789 and got 16 million VNIs. vxlan vni 10050 stamps the exact 8-byte 0x08 VXLAN shim.
geneve — Extensible SDN & Cloud GWLB Overlays on UDP 6081
VXLAN’s extensible cousin powering OVN, Cilium, and AWS Gateway Load Balancers on UDP 6081: geneve packs a 24-bit vni plus variable-length TLV option headers without manual optlen math.
ipsec — IP Protocol 50 ESP Tunnel Frames & SPI Headers
Edge firewalls love dropping IP Protocol 50 when someone only opened UDP 500. ipsec emits clean ESP headers (spi, seq, iv, icv) so you can prove whether the tunnel pipe is open.
esp — Canonical RFC 4303 ESP Headers & Reverse Scrubbing
esp is the canonical keyword emitted when frameassembly reverse decompiles IP Protocol 50 captures, making it trivial to scrub customer VPN gateway IPs before emailing a trace to vendor TAC.
ah — RFC 4302 IPsec Authentication Header (IP Proto 51)
Rare in the wild because NAT breaks it on sight, yet still lurking in compliance checklists and OSPFv3 auth: ah builds IP Protocol 51 headers with aligned 32-bit Payload Len math.
ikev2 — RFC 7296 VPN Key Negotiation on UDP 500 & 4500
Before a single esp packet flows, two VPN concentrators argue about crypto proposals over UDP 500. ikev2 scripts sainit <-> auth handshakes and NAT-T dstport 4500 checks.
wireguard — Noise_IK VPN Handshakes & Data on UDP 51820
Four clean message types on UDP 51820 (initiation, response, cookie, data) with little-endian sender/receiver indices — wireguard lets you test egress VPN policies in four lines.
ospf — Dual-Stack OSPFv2 & OSPFv3 Link-State Adjacencies
Mismatched hello/dead timers have caused more silent routing blackholes than fiber backhoes. ospf builds IPv4 OSPFv2 (Fletcher-16 checksum) and IPv6 OSPFv3 (ICMPv6-style pseudo-header che…
bgp — Stateful TCP 179 Peering, NLRI & 4-Byte ASN Magic
Pass asn 4200000001 on bgp open and the compiler automatically drops AS_TRANS (23456) into the legacy 16-bit slot plus RFC 6793 Capability 65, riding right on top of stateful TCP port 179.
rip — RIPv2 (UDP 520) & IPv6 RIPng (UDP 521) Route Updates
Every textbook swears RIP died in 1998, right up until you inherit a branch router running it. rip builds RIPv2 (520) over IPv4 and RIPng (521) over IPv6, right up to metric 16 poison rev…
pim — RFC 7761 Sparse-Mode Multicast Hellos, Joins & RP
Debug Rendezvous Points (rp) without a 6-router multicast lab: pim emits IP Protocol 103 hello, joinprune, and register frames with proper RFC 7761 encoded unicast/group addresses.
vrrp — VRRPv2 & VRRPv3 First-Hop Gateway Heartbeats
When two routers both claim Priority 255 because a trunk VLAN blocked IP Protocol 112, chaos ensues. vrrp emits ttl 255 advertisements for both VRRPv2 and VRRPv3 (00:00:5e:00:01:<vrid>).
hsrp — Cisco HSRPv1 (1985) & HSRPv2 (2029) Standby Frames
Cisco’s classic gateway protocol: hsrp writes HSRPv1 (UDP 1985) on IPv4 and automatically upgrades to TLV-formatted HSRPv2 (UDP 2029) on IPv6 endpoints.
bfd — Sub-Second RFC 5880 Link Liveness on UDP 3784
Waiting 180 seconds for BGP Hold Time to notice a dead fiber is painful — bfd fires ttl 255 UDP 3784 control packets with microsecond mintx/minrx timers and discriminator handshakes.
openflow — OpenFlow 1.3 SDN Controller <-> Switch Messages
Speak directly to virtual switches and SDN controllers over TCP 6653: openflow builds hello, featuresreply (dpid), packetin, and flowmod headers without booting an entire controller stack.
tcp — Automatic 4-Tuple Handshakes, RFC 7323 Options & Chaos
The crown jewel of the compiler: declare srcport and dstport once on tcp syn, and FrameAssembly tracks seq and acknum across ->, <-, and every TCP Layer 7 protocol (unless you override se…
udp — Custom Datagrams, Port Memory & Mandatory Checksums
No syn, no fin, no regrets: udp fires arbitrary string or hex bytes at any port, remembers the port pair on <- replies, and nails the mandatory IPv6 UDP checksum every time.
sctp — 4-Way Telecom Handshakes, Multi-Stream & CRC-32c
Powering 4G S1AP and 5G NGAP telecom cores on IP Protocol 132, sctp packs 32-bit padded chunks (init, data, sack, heartbeat) and computes the infamous reflected Castagnoli CRC-32c automat…
snmp1 — MIB-Free RFC 1157 Traps, Enterprise OIDs & Polls
That 22-year-old UPS in the basement closet still only speaks RFC 1157 Trap-PDU. snmp1 encodes enterprise, agentip, gentrap 0..6, and BER varbind chains with zero MIB files.
snmp2 — MIB-Free SNMPv2c Traps, Informs & GetBulk Sweeps
Testing a Zabbix, PRTG, or Prometheus alert rule from your desk? snmp2 trap and snmp2 inform pack sysUpTime.0, snmpTrapOID.0, and 64-bit counter64 varbinds straight from numeric OIDs.
snmp3 — Real SHA-256 + AES-128 Encrypted USM Traps & Polls
Zero fake placeholder bytes here: snmp3 runs full RFC 3414/7860 Ku -> Kul key localization against engineid, encrypts the ScopedPDU with AES-128-CFB or DES, and signs the live HMAC so Wir…
dns — RFC 1035 Queries, RCODEs & UDP/TCP Port 53 Captures
Whether you are testing a sinkhole rule, an Active Directory SRV lookup, or switching to transport tcp (which auto-prepends the 2-byte RFC 1035 TCP length prefix!), dns encodes wire label…
mdns — Port 5353 .local Multicast Service Discovery Frames
Chatty printers, Apple TVs, and rogue IoT gadgets shouting .local records on 224.0.0.251:5353 — mdns locks both source and destination ports to 5353 per RFC 6762.
dhcp — Full DHCPv4 DORA & IPv6 DHCPv6 Lease Negotiation
Test switch DHCP Snooping without plugging a rogue home router into the wall: dhcp builds BOOTP + magic cookie 0x63825363 Option TLVs on IPv4 (68 <-> 67) and morphs into DHCPv6 (546 <-> 5…
ntp — 48-Byte RFC 5905 Stratum-1 Time Sync on UDP 123
When Kerberos tickets start failing because two servers drifted five minutes apart, everyone stares at UDP 123. ntp writes clean 48-byte RFC 5905 packets right down to signed precision an…
ptp — Sub-Microsecond IEEE 1588v2 Hardware Clock Sync
For high-frequency trading, 5G fronthaul, and substation synchrophasors where NTP is way too slow, ptp routes event messages to UDP 319 and general messages to UDP 320 automatically.
radius — UDP 1812/1813 AAA Decisions & Accounting AVPs
Watch accessrequest -> accesschallenge -> accessaccept on UDP 1812 and switch seamlessly to UDP 1813 on accountingrequest, complete with User-Name, NAS-IP-Address, and Framed-IP-Address A…
tacacs — Stateful TCP 49 Router CLI Auth & Command Audits
Router CLI command auditing over TCP 49 — pro tip: seq on a tacacs line sets the 8-bit TACACS+ seq_no (1, 2, 3...) without stomping on the underlying 32-bit TCP sequence tracker!
syslog — RFC 5424 Structured SIEM Events Over UDP or TCP
Compute <PRI> = facility * 8 + severity automatically (or override pri directly) and ship clean RFC 5424 log frames over UDP 514 or transport tcp to verify SIEM alert rules.
netflow — 72-Byte Cisco NetFlow v5 Collector Records
Want to verify your flow dashboard lights up when a workstation ships 50 GB outbound without actually saturating a 10G link? One netflow packet reports any packets and octets count you as…
ipfix — Self-Templated IPv4 & IPv6 Flow Exports (UDP 4739)
Wireshark hates orphan IPFIX data records with missing templates, so FrameAssembly bundles Template Set 2 (256) + Data Set 256 inside the same UDP 4739 packet so every single frame dissec…
sflow — XDR-Encoded Switch Packet Sampling on UDP 6343
Hardware ASICs love sFlow v5 on UDP 6343 because sampling 1-in-4096 frames takes zero stateful flow memory. sflow encodes both IPv4 (1) and IPv6 (2) XDR agent headers cleanly.
http — Stateful HTTP/1.1 Requests, Headers & WAF Payloads
Pair a 3-way tcp handshake with http get or http post and FrameAssembly formats \r\n wire headers, computes exact Content-Length, and advances TCP seq numbers so Suricata and WAFs reassem…
http2 — RFC 9113 Connection Prefaces & Multiplexed Frames
Plaintext GET / turned into 9-byte binary frame headers (Length, Type, Flags, 31-bit Stream ID) — start with http2 preface + settings and watch Wireshark dissect your multiplexed streamid…
grpc — Microservice RPCs & Router gNMI Streams (TCP 50051)
Whether it is Kubernetes east-west microservices or Arista/Cisco gnmi.gNMI/Subscribe streaming telemetry on TCP 50051, grpc builds the length-prefixed Protobuf envelope and grpc-status tr…
websocket — RFC 6455 Upgraded Sockets & XOR-Masked Frames
Pass maskkey 0x37fa213d on a client -> server websocket text frame and the compiler genuinely XOR-masks your payload bytes on the wire, so you can watch Wireshark unmask and display the c…
tls — TLS 1.2/1.3 Handshakes, Cleartext SNI & ALPN Records
Next-gen firewalls and NDR sensors live and breathe the sni and alpn extensions inside tls clienthello. FrameAssembly computes all nested Record, Handshake, and Extension length fields au…
quic — RFC 9000 Encrypted UDP 443 Handshakes & Connection IDs
Half of enterprise firewall policy is "block UDP 443 so browsers fall back to TLS over TCP where we can inspect it" — quic initial lets you test whether that policy actually works.
ssh — Port 22 Version Banners & Binary KEXINIT Framing
Test SSH version-banner threat signatures (SSH-2.0-OpenSSH_9.6 vs legacy 1.99) and RFC 4253 binary kexinit -> newkeys framing over stateful TCP port 22.
telnet — Port 23 IAC Option Negotiations & Login Alarms
If TCP 23 fires on a modern network, either someone powered on a museum switch or a red teamer is having a great afternoon. telnet emits authentic 0xff IAC will/do bytes plus cleartext pr…
tftp — UDP 69 Config Read/Write Requests & Block Transfers
Zero passwords, UDP 69, and still the fastest way network gear leaks "startup-config" — tftp scripts rrq -> data -> ack block transfers and error codes in seconds.
ftp — Stateful TCP 21 Control Sessions & Firewall ALG Tests
Nothing stresses a stateful firewall’s Application Layer Gateway quite like FTP on TCP 21. Pair code 220 server greetings with cmd "USER" arg "anonymous" and watch your IDS light up.
whois — Port 43 Domain & ASN Registry Query Sessions
One of the simplest protocols in IETF history (domain\r\n out -> multi-line registry text back over TCP 43), handy for testing threat-enrichment egress rules.
sip — VoIP INVITE, SDP & Call-ID Ladders Over UDP/TCP 5060
Debugging why desk phones ring once and drop at the Session Border Controller? sip builds full RFC 3261 Via, From, To, Call-ID, and CSeq headers over UDP 5060 or transport tcp.
rtp — 12-Byte Voice/Video Media Streams & DSCP EF Marking
SIP sets up the call and rtp carries the actual voice packets — tack dscp 46 (EF) and wait 20ms onto G.711 pt 0 frames to verify your WAN routers aren’t dropping voice into best-effort qu…
rtsp — Port 554 Camera Stream Control & transporthdr Rules
Controlling CCTV cameras and media relays on TCP 554 — remember to spell the RTSP Transport: header transporthdr so it never collides with FrameAssembly’s Layer 4 transport keyword!
stun — WebRTC NAT Hole-Punching & 0x2112a442 XOR Mapping
Pass xormappedaddr 203.0.113.42 on stun bindingresponse and the compiler genuinely XORs your IPv4 or IPv6 address against magic cookie 0x2112a442 (+ transaction ID on IPv6) so Wireshark d…
ssdp — Multicast UDP 1900 UPnP M-SEARCH & NOTIFY Frames
HTTP headers stuffed into UDP 1900 multicast (239.255.255.250) — ssdp uses hosthdr for the HOST: header and catches unauthorized UPnP port-forwarding chatter on enterprise VLANs.
smtp — Stateful TCP 25/587 Mail Relay Conversations
Step through a real RFC 5321 mail relay (220 greeting -> ehlo -> mailfrom -> rcptto -> 354 -> body -> 250 OK) over stateful TCP 25 to test mail-gateway DLP and open-relay signatures.
imap — Correlation-Tagged TCP 143 Mailbox Command Streams
Every IMAP command wears a client correlation tag (A001 LOGIN, A002 SELECT INBOX) on TCP 143, making it easy to test cleartext credential alerts and legacy mail-protocol blocks.
pop3 — TCP 110 +OK / -ERR Logins & Password-Spray Traces
Thirty lines of -ERR Authentication failed on TCP 110? Classic password-spray territory — pop3 pairs cmd "USER" and cmd "PASS" with ok (+OK) and err (-ERR) responses.
kerberos — Port 88 ASN.1 DER Tickets & RC4 Kerberoast Checks
Trigger SOC Kerberoasting rules (tgsreq + sname "MSSQLSvc/..." + etype 23) without firing offensive tools at a real Domain Controller — add transport tcp and the compiler prepends the 4-b…
ldap — ASN.1 BER Directory Binds & AD Recon Search Filters
Test Active Directory reconnaissance detections (filter "(adminCount=1)") and anonymous bind alerts over TCP 389 with real ASN.1 BER sequences and zero Domain Controller required.
smb — Stateful TCP 445 SMB2/3 TreeConnect & Lateral Traces
Port 445 is ground zero for east-west lateral movement (\\filesrv\IPC$, svcctl, ADMIN$). smb packs the 4-byte NetBIOS session length + 64-byte \xfeSMB header cleanly over stateful TCP.
nfs — Port 2049 ONC RPC Record-Marking & NFSv4 COMPOUND
Verify storage-VLAN segmentation on port 2049: over default TCP, FrameAssembly automatically prepends the 4-byte ONC RPC Record-Marking fragment header (0x80000000 | len) so Wireshark dis…
redis — Stateful TCP 6379 RESP Arrays & Unauth Cache Probes
An exposed Redis port 6379 on a cloud subnet gets owned in about 90 seconds — redis formats exact RESP bulk-string arrays (cmd "CONFIG" args "GET dir") to verify NDR east-west alerts.
memcached — UDP 11211 8-Byte Frame Headers & TCP Cache Ops
Infamous for 51,000x UDP 11211 reflection attacks: memcached includes the 8-byte Memcached UDP frame header by default and drops cleanly onto raw TCP stream framing when you add transport…
mysql — Port 3306 Handshakes, COM_QUERY SQL & Error Frames
Need to test a database activity monitor or IDS rule against sql "SELECT * FROM users WHERE '1'='1';" without spinning up a live MySQL instance? mysql handles the 24-bit little-endian pac…
postgres — Port 5432 v3.0 Startup, SQL Queries & Wire Tags
Speak fluent PostgreSQL v3.0 wire protocol ('Q', 'R', 'C', 'Z', 'E' tagged messages with big-endian length prefixes) over stateful TCP 5432, working identically over IPv4 or IPv6 flow blo…
mqtt — Port 1883 IoT Broker Publishes, QoS & Subscriptions
Test whether a compromised smart thermostat can subscribe to "factory/#" on TCP 1883 — mqtt computes the variable-byte Remaining Length encoding automatically.
coap — 4-Byte UDP 5683 RESTful IoT Datagrams & Options
HTTP shrunk down to a 4-byte UDP 5683 header for battery-powered sensors: just pick *either* a named method (get, post, created) *or* dotted code "0.01" (combining both on one line trigge…
amqp — Port 5672 RabbitMQ Exchanges, Channels & Deliveries
From the 8-byte "AMQP\x00\x00\x09\x01" greeting to basicpublish and 0xce frame-end markers on TCP 5672, amqp lets you verify message-bus firewall rules without spinning up RabbitMQ.
modbus — Port 502 MBAP Register Reads & Coil Write Audits
Modbus has zero authentication: anyone who can reach TCP 502 can flip coils. Craft readholdingregisters (FC 3), writesinglecoil (FC 5), and isresponse PLC replies offline without making t…
bacnet — UDP 47808 (0xbac0) BMS Who-Is & Property Frames
Running on UDP 47808 (0xbac0 — literally spells BAC0 in hex!) across hospital chillers and data-center CRAC units, bacnet packs BVLC, NPDU, and confirmed/unconfirmed APDUs cleanly.
dnp3 — Substation RTU Commands & Automatic Per-Chunk CRC-16
Hand-crafting DNP3 usually makes grown engineers cry because IEEE 1815 demands a reflected CRC-16 after the 0x0564 link header *and* every 16 payload bytes — dnp3 calculates every block C…
s7comm — Port 102 TPKT/COTP Siemens S7 Reads, Writes & Stop
Wrapped inside RFC 1006 TPKT + ISO 8073 COTP on TCP 102, s7comm builds Siemens 0x32 readvar, writevar, and high-severity plcstop frames so you can verify OT IDS signatures safely.
ethernetip — Rockwell CIP Sessions (44818) & UDP 2222 I/O
Factory-floor CIP encapsulation: ethernetip uses TCP 44818 for explicit sessions (registersession, sendrrdata) and automatically hops to real-time UDP 2222 when you pick sendunitdata!
opcua — Port 4840 Purdue-DMZ Binary Chunks (HEL/ACK/OPN/MSG)
The protocol bridging OT plant networks to IT historians across the industrial DMZ on TCP 4840 — opcua writes little-endian HEL -> ACK -> OPN -> MSG -> CLO binary chunks with exact messag…
8 Protocol Categories (1..81)
Category pages with cross-layer wire rules, multi-protocol .frasm examples, and keyword directories
8 categories
8 Protocol Categories (1..81)
Category pages with cross-layer wire rules, multi-protocol .frasm examples, and keyword directories
Layer 2 Switching, VLAN/QinQ, 802.1X & MPLS Protocols
Pure Ethernet switch-port protocols: ARP & GARP failover, 802.1Q VLAN tags, 802.1ad QinQ double tags, LLDP, STP/RSTP BPDUs, LACP, 802.1X EAPOL, and MPLS.
Layer 3 Control, Tunnels, VPN, Routing & Redundancy
Underlay, overlay, and routing control: ICMPv4/v6, NDP & MLD, IGMP, GRE/VXLAN/GENEVE, IPsec ESP/AH/IKEv2, WireGuard, OSPF, BGP, RIP, PIM, VRRP, HSRP, BFD, and OpenFlow.
Layer 4 Transport Protocols (TCP, UDP & SCTP)
Stateful TCP handshakes (automatic seq & acknum across -> and <- plus RFC 7323 options), fast UDP datagrams, and telecom SCTP chunks with Castagnoli CRC-32c.
SNMPv1, SNMPv2c & Encrypted SNMPv3 USM Protocols
MIB-free SNMPv1, SNMPv2c, and real cryptographic SNMPv3 USM (auth sha256 + priv aes) for traps, informs, and polls without yanking production patch cables.
Layer 7 DNS, DHCP, Time, AAA & Flow Telemetry
Core plumbing & NOC telemetry: DNS, mDNS, DHCPv4/v6 DORA, NTP, PTPv2, RADIUS, TACACS+, Syslog, Cisco NetFlow v5, IPFIX, and sFlow v5.
Layer 7 Web, TLS/QUIC, VoIP & Remote Access
App-layer, encrypted SNI & VoIP: HTTP/1.1, HTTP/2, gRPC, WebSocket, TLS 1.2/1.3, QUIC, SSH-2, Telnet, TFTP, FTP, WHOIS, SIP, RTP, RTSP, STUN, and SSDP.
Layer 7 Mail, Identity, Storage, Databases & Brokers
Active Directory, east-west shares & DBs: SMTP, IMAP, POP3, Kerberos v5, LDAPv3, SMB2/3, NFS, Redis, Memcached, MySQL, PostgreSQL, MQTT, CoAP, and AMQP.
Layer 7 Industrial Control Systems & SCADA/OT
Test OT firewalls & IDS sensors without tripping a real turbine: Modbus TCP/UDP, BACnet/IP, DNP3 (auto CRC-16), Siemens S7comm, EtherNet/IP CIP, and OPC UA.