Reference R512 min readFrameAssembly v3.2.2
Raw .mdllms-full.txt

Complete .frasm Keyword & Feature Reference (All 653 Tokens)

Every built-in keyword, operator, time unit, cross-layer header modifier, protocol subkeyword, alias, compiler rule, CLI subcommand, and reverse-decompiler capability in FrameAssembly v3.2.2.

Key Takeaways
  • Covers all 653 lexer tokens in FrameAssembly v3.2.2: 7 operators/delimiters ({, }, (, ), ,, ->, <-), 5 wait time units (ns, us, ms, s, m), and 641 strict-lowercase [a-z0-9]+ keywords across 81 Layer 2–7 protocols.
  • Documents every compiler & runtime feature: parameterized flow(a, b) templates, deterministic unicast/multicast/IEEE MAC synthesis, stateful 4-tuple TCP seq/acknum progression, dynamic L7 port pairing, live SNMPv3 USM Ku -> Kul crypto, and 9-protocol transport whitelisting.
  • Details all CLI & library capabilities: classic .pcap vs nanosecond .pcapng (IfTsResol=9), show, 5-stage reverse decompilation with self-check compiler oracle across 8 LINKTYPE_* formats, zero-flag update, Rust crate entrypoints, and EBNF/GBNF/Lark grammars.

1. How FrameAssembly v3.2.2 Organizes Its 653 Tokens & Compiler Pipeline

Every built-in word in .frasm follows one memorizable lexical invariant: strictly lowercase alphanumeric (^[a-z0-9]+$) with zero underscores and zero hyphens (echorequest, innervlan, sackperm, hosthdr, transporthdr, readholdingregisters, nullval). User-defined host, flow, and parameter identifiers freely allow capitals, underscores, and internal hyphens (fw-dmz-01, Core_SW_1).

Use the interactive explorer below to search any token, Wireshark field alias, protocol scope, or compiler feature — or switch between the 653-Token Lexicon and the Language & Compiler Feature Matrix.

Quick lookup:
Language, Compiler, CLI & Decompiler Architecture · 12 of 12 topics

Every FrameAssembly Feature & Wire Rule

Blocks & Lexical RulesDeep dive

Two-Block Minimal Program (host + compile) & Parameterized flow Templates

Every .frasm specification needs only 1+ host declarations and 1 compile block, with optional parameterized flow(p1, p2) templates for replaying exchanges across IPv4 and IPv6.

  • 1 statement = 1 Ethernet frame: statements inside compile execute strictly top-to-bottom.
  • flow <name>(<p1>[, <p2>, ...]) { ... } requires >= 1 parameter in parentheses; frame endpoints inside a flow must reference formal parameters rather than global host names.
  • There is no loop keyword (removed in v2.0.0); invoke flow(...) or repeat frame lines explicitly inside compile.
  • compile freely mixes inline a -> b ... / a <- b ... frame lines and flow(...) calls.
frameassembly
host app_v4 { ip 10.10.1.10 }
host db_v4  { ip 10.10.1.20 }
host app_v6 { ip 2001:db8:10::10 }
host db_v6  { ip 2001:db8:10::20 }

flow pg_ping(c, s) {
    c -> s tcp syn srcport 52100 dstport 5432 win 65535 mss 1460 wait 1ms
    c <- s tcp syn ack win 65535 mss 1460 wait 1ms
    c -> s tcp ack wait 1ms
    c -> s postgres query sql "SELECT 1;"
}

compile {
    pg_ping(app_v4, db_v4)
    pg_ping(app_v6, db_v6)
}
Blocks & Lexical RulesDeep dive

Strict-Lowercase Built-In Keywords ([a-z0-9]+) vs. Flexible User Identifiers

All 646 built-in keywords and time units use lowercase letters and digits with zero underscores or hyphens, while user-defined host and flow names allow capitals, _, and internal -.

  • Built-in keywords match ^[a-z0-9]+$ (echorequest, innervlan, sackperm, hosthdr, transporthdr, readholdingregisters); uppercase or _ typos trigger self-healing suggestions.
  • User identifiers match [a-zA-Z_][a-zA-Z0-9_]*(-[a-zA-Z0-9_]+)* (e.g. fw-dmz-01, Core_SW_1), stopping cleanly before ->.
  • Line comments begin with // (# and ; are rejected with an explicit diagnostic).
  • Strings are double-quoted UTF-8 supporting \r, \n, \t, \\, \", \', \xHH, and \uXXXX (single-quoted strings are rejected).
  • Integers accept decimal (443) or hex (0x0800); signed integers (int varbinds, ntp precision, kerberos etype, ldap msgid) also accept negative decimal (-20).
  • Hex byte strings (hexpayload, iv, icv, engineid) accept optional spaces or colons ("deadbeef", "de:ad:be:ef", "de ad be ef").
  • ASN.1 OIDs (oid, enterprise, varbind, oidval) accept unquoted dotted trees with >= 2 numeric arcs (1.3.6.1.2.1.1.1.0 or .1.3.6.1...) or quoted strings.
Host & MAC ResolutionDeep dive

Deterministic Unicast MACs, RFC 1112/2464 Multicast MACs & IEEE Group MACs

FrameAssembly synthesizes deterministic Ethernet framing automatically whenever mac, srcmac, or dstmac is omitted.

  • Unicast host blocks without mac receive sequential deterministic MACs in 1-based declaration order: 00:00:00:00:00:01, 00:00:00:00:00:02, 00:00:00:00:00:03, and so on.
  • Explicit mac, srcmac, and dstmac values accept colon (00:1a:2b:3c:4d:5e), hyphen (00-1A-2B-3C-4D-5E), or Cisco dot-quad (001a.2b3c.4d5e) notation.
  • IPv4 multicast destinations (224.0.0.0/4) derive RFC 1112 MACs (01:00:5e:xx:xx:xx); IPv6 multicast destinations (ff00::/8) derive RFC 2464 MACs (33:33:xx:xx:xx:xx).
  • Pure Layer 2 control protocols derive IEEE 802.1 group destination MACs automatically unless dstmac is set: stp (01:80:c2:00:00:00), lacp (01:80:c2:00:00:02), eapol (01:80:c2:00:00:03), lldp (01:80:c2:00:00:0e), and arp request/gratuitous/garp (ff:ff:ff:ff:ff:ff).
  • MAC-only hosts (host sw1 { mac 00:11:22:33:44:55 }) are valid for all 8 pure Layer 2 protocols (arp, vlan, qinq, lldp, stp, lacp, eapol, mpls).
Clock & TCP StateDeep dive

Post-Packet Nanosecond wait Capture Clock (ns, us, ms, s, m)

Every capture starts at 0ns on Frame 1 and advances deterministically after each emitted packet with zero system-clock jitter.

  • Frame 1 is always emitted at relative timestamp 0.000000000 s (0ns).
  • wait <u32><ns|us|ms|s|m> is an inline post-packet modifier: Frame k transmits at the current clock value, then advances the clock before Frame k + 1.
  • Omitting wait advances the clock by the default inter-packet gap of 10ms (10,000,000 ns).
  • wait 0ns emits back-to-back microbursts with zero timestamp delta; .pcapng stores full 1ns precision (IfTsResol = 9).
Clock & TCP StateDeep dive

Shared 4-Tuple TCP seq / acknum State Machine & <- Port Memory

Raw tcp frames and all TCP-based Layer 7 protocols share one canonical 4-tuple state tracker and bidirectional port memory.

  • Setting srcport 51234 dstport 443 on a -> b (or relying on ephemeral 49152 -> default_port) automatically swaps ports to 443 -> 51234 on a <- b replies and reuses 51234 -> 443 on later a -> b frames.
  • Initial TCP seq defaults to 1000 per direction; syn and fin each advance that direction’s next seq by +1.
  • Every TCP payload or TCP Layer 7 frame defaults to psh ack, sets acknum to the peer’s latest expected seq, and advances its own next seq by +payload_len.
  • Explicit seq <u32> or acknum <u32> overrides emit that exact header value and re-anchor downstream connection state for testing retransmissions, gaps, or blind RSTs.
Clock & TCP StateDeep dive

Dynamic Layer 7 Port Pairing & Automatic Multicast Overrides

Protocols with asymmetric request/reply or event/general port pairs select RFC-accurate ports automatically.

  • dhcp: IPv4 discover/request/release use UDP 68 -> 67 and offer/ack use 67 -> 68; over IPv6 hosts, solicit/request use UDP 546 -> 547 and advertise/reply use 547 -> 546.
  • mdns: Defaults to UDP 5353 -> 5353 and overrides destination IP to 224.0.0.251 (IPv4) or ff02::fb (IPv6) with matching RFC multicast MACs.
  • ptp: Event messages (sync, delayreq) use UDP 319; general messages (followup, delayresp, announce) use UDP 320.
  • radius: Authentication (accessrequest, accessaccept, accessreject, accesschallenge) uses UDP 1812; accounting (accountingrequest, accountingresponse) uses UDP 1813.
  • snmp1 / snmp2 / snmp3: trap, inform, and report default to UDP 162; get, getnext, getbulk, set, and response default to UDP 161.
  • ethernetip: Explicit CIP messaging uses TCP 44818 by default, while implicit I/O sendunitdata switches to UDP 2222 unless transport overrides it.
Tagging & Wire CryptoDeep dive

Cross-Layer 802.1Q VLAN, 802.1ad QinQ, MPLS, IPv4/IPv6 QoS & RFC 7323 Stacking

Any L2/L3/L4/L7 protocol statement can be wrapped in single/double VLAN tags, an MPLS shim, DiffServ markings, IPv4 fragments, or TCP options on a single line.

  • vlan <0..4095> [pcp <0..7>] [dei <0|1>] wraps any frame in IEEE 802.1Q (0x8100); qinq <0..4095> [innervlan <0..4095>] emits outer S-Tag (0x88a8) + inner C-Tag (0x8100, default 1).
  • mpls <0..1048575> [exp|tc <0..7>] [bos <0|1>] [mplsttl <0..255>] inserts one 32-bit MPLS shim (0x8847) between L2/VLAN and L3 (repeating mpls twice on one line is rejected).
  • ttl <0..255>, dscp <0..63>, and ecn <0..3> work uniformly across IPv4 and IPv6; ipid, df, mf, and fragoffset apply to IPv4 while flowlabel applies to IPv6.
  • Dual-stack morphing: icmp automatically emits ICMPv4 (proto 1) over IPv4 and ICMPv6 (Next Header 58 with IPv6 pseudo-header checksum) over IPv6; ospf morphs between OSPFv2 and OSPFv3; rip morphs between RIPv2 and RIPng.
Tagging & Wire CryptoDeep dive

Live Wire Checksums, SNMPv3 USM Crypto (Ku -> Kul), BGP 4-Byte ASN & OT CRCs

FrameAssembly computes real cryptographic digests and wire-exact CRCs offline so Wireshark, Suricata, and NMS receivers validate every byte.

  • snmp3: Performs full RFC 3414 / RFC 7860 1 MiB password-to-key (Ku) and engineid-localized (Kul) derivation, live HMAC (md5, sha, sha256, sha384, sha512), and ScopedPDU encryption via AES-128-CFB (priv aes, RFC 3826) or CBC-DES (priv des).
  • bgp: Supports full 32-bit asn <u32>; when asn > 65535 on bgp open, writes AS_TRANS (23456) in the 16-bit header slot and appends Capability 65 (RFC 6793 4-octet ASN).
  • sctp: Computes hardware-matching Castagnoli CRC-32c checksums and 4-byte chunk padding across init, initack, cookieecho, cookieack, data, sack, heartbeat, abort, and shutdown.
  • dnp3: Splits link-layer frames into 16-byte data blocks and appends reflected DNP3 CRC-16 (0x3d65) per block.
  • IPv4 header, ICMPv4/v6, IGMP, MLD, TCP, UDP, GRE, OSPF, VRRP, and PIM checksums are computed over exact pseudo-headers on every build.
Validation & GuardrailsDeep dive

Compile-Time validate_semantics Bounds & 9-Protocol transport Whitelist

Invalid IP family pairings, out-of-range bit-widths, and illegal L4 overrides fail cleanly at compile time before writing a .pcap.

  • Endpoint family match: both hosts on a frame must be IPv4, both IPv6, or (on the 8 L2 protocols only) MAC-only. igmp requires IPv4 hosts; ndp and mld require IPv6 hosts.
  • transport <tcp|udp> is permitted exclusively on the 9 dual-transport protocols: dns, sip, syslog, kerberos, memcached, dnp3, modbus, nfs, and ethernetip.
  • TCP flags (syn, ack, fin, rst, psh, urg, ece, cwr), seq/acknum/win/window/urgent, and TCP options (mss, wscale, sackperm, tsval, tsecr) are rejected on UDP/L2/L3 non-TCP protocols, and duplicate TCP flags on one line are rejected.
  • payload and hexpayload are mutually exclusive on the same frame; dns/mdns qname validates RFC 1035 label length <= 63 and total domain <= 253; snmp3 engineid requires non-empty even-length hex; hsrp hellotime validates 0..=255.
Validation & GuardrailsDeep dive

Context-Sensitive Shared Keyword Disambiguation (ack, rst, seq, whois, hosthdr)

The parser resolves shared protocol/transport tokens deterministically by position and avoids top-level keyword collisions.

  • ack and rst placed immediately after dhcp, tftp, sip, or coap parse as that protocol’s message type rather than TCP control flags.
  • On tacacs, writing seq <u32> *before* the tacacs keyword sets the 32-bit TCP sequence number, while writing seq <u8> (or seqno <u8>) *after* tacacs sets the 8-bit RFC 8907 TACACS+ seq_no.
  • whois works both as standalone TCP/43 WHOIS (a -> b whois query "example.com") and as a BACnet unconfirmed service (a -> b bacnet whois).
  • HTTP/SSDP Host: headers use hosthdr "<str>" (never host), and RTSP Transport: headers use transporthdr "<str>" (never transport).
CLI & ContainersDeep dive

Rootless CLI Commands, .pcap vs .pcapng, Drag-and-Drop & Overwrite Guards

Single static binary with default root compilation plus 5 subcommands (show, reverse, update, version, help) and zero root socket privileges.

  • frameassembly <in.frasm> [out.pcap | out.pcapng] compiles .frasm to classic libpcap .pcap (0xa1b2c3d4, microsecond resolution) by default, or nanosecond .pcapng (IfTsResol = 9, snaplen 65535) when the output ends in .pcapng.
  • frameassembly show <in.frasm> validates syntax/semantics and prints the relative-timestamp packet ladder (Time, Source, Destination, Proto, Len, summary) to stdout without writing disk files.
  • frameassembly reverse <in.pcap|.pcapng> [out.frasm] decompiles captures back into canonical .frasm code (defaulting output to <stem>.frasm, or <stem>.reversed.frasm if input somehow shares extension).
  • frameassembly update runs a zero-flag self-updater: prefers cargo install frameassembly --locked --force when cargo + rustc >= 1.89 + a working C linker exist, otherwise verifies SHA-256 checksums on GitHub Release binaries.
  • Safety & UX guards: refuses to overwrite a .frasm source file if passed as the 2nd argument to root compile; auto-routes single-argument .pcap/.pcapng paths (such as Windows Explorer drag-and-drop) to reverse; prints actionable migration hints if legacy -o, --output, --show, --reverse, or compile flags are typed; accepts -h/--help and -V/--version.
bash
# Compile .frasm -> classic .pcap or nanosecond .pcapng
frameassembly capture.frasm capture.pcap
frameassembly capture.frasm capture.pcapng

# Dry-run packet table in stdout (CI pre-commit validation)
frameassembly show capture.frasm

# Decompile .pcap or .pcapng -> editable .frasm
frameassembly reverse incident.pcapng incident.frasm

# Zero-flag self-update & version check
frameassembly update
frameassembly version
Reverse & Rust APIDeep dive

5-Stage reverse Decompiler, Self-Check Oracle, Crate API & Formal Grammars

frameassembly reverse normalizes 8 link-layer types, reconstructs high-level .frasm statements, and verifies every frame through an in-memory compiler oracle.

  • Container parser supports classic libpcap (0xa1b2c3d4/0xd4c3b2a1 microsecond & 0xa1b23c4d/0x4d3cb2a1 nanosecond, auto-widening truncated snaplen) and PCAPNG (SHB, IDB, EPB, SPB, legacy Packet, decimal $10^{-x}$ & binary $2^{-x}$ IfTsResol, IfTsOffset, if_tzone sanitization, and truncated trailing block salvage with warnings).
  • Link-layer normalization converts 8 LINKTYPE_* formats (ETHERNET, RAW, IPV4, IPV6, LINUX_SLL, LINUX_SLL2, NULL, LOOP) into canonical Ethernet II frames while stripping 60/64-byte trailer padding and 4-byte FCS trailers.
  • Self-check compiler oracle & shadow TCP state tracker: every candidate .frasm statement is compiled in memory and compared byte-for-byte against the original wire frame; encrypted snmp3 (authPriv / keyed authNoPriv) or vendor-proprietary payloads step down cleanly to hexpayload so zero wire bytes are corrupted, and IP protocol 50 emits canonical esp.
  • Rust crate (frameassembly on Crates.io, Edition 2024, rustc >= 1.89) exposes lexer::lex, parser::parse_program, parser::validation::validate_semantics, backend::{compile_program, generate_pcap, generate_pcapng}, and reverse::{reverse_pcap_bytes, reverse_pcap_file, reverse_pcap_reader}.
  • Constrained LLM decoding grammars ship alongside the compiler: ISO/IEC 14977 grammar.ebnf, frameassembly.gbnf (llama.cpp / XGrammar), and frameassembly.lark (Outlines / vLLM), plus /llms.txt and /llms-full.txt.
rust
use frameassembly::{backend, lexer, parser, reverse};

let tokens = lexer::lex(src)?;
let ast = parser::parse_program(&tokens, src)?;
parser::validation::validate_semantics(&ast, src)?;
let frames = backend::compile_program(&ast)?;
let pcap_bytes = backend::generate_pcap(&frames);
let roundtrip_frasm = reverse::reverse_pcap_bytes(&pcap_bytes)?;
Complete Compiler Lexicon · 7 Operators + 5 Time Units + 641 Keywords = 653 Tokens

All 653 `.frasm` Keywords, Operators & Modifiers

Showing 120 of 653 matching tokens
TokenCategory & ScopeSyntax & Accepted ValueWire Behavior & DefaultSpec
(
Operators
flow · compile
flow ping(a, b) { ... } · ping(h1, h2)
Opening parameter parenthesis
Opens the formal parameter list on a flow declaration or the host argument list on a flow call.
Default: Required on flow definitions and flow calls
Open
)
Operators
flow · compile
flow ping(a, b) { ... } · ping(h1, h2)
Closing parameter parenthesis
Closes the formal parameter list on a flow declaration or the host argument list on a flow call.
Default: Required on flow definitions and flow calls
Open
,
Operators
flow · compile
flow relay(client, proxy, backend)
Parameter separator
Separates parameters in flow declarations and invocations (never used inside host blocks or between frame modifiers).
Default: Used only inside flow(...) parameter/argument lists
Open
->
Operators
compile · flow
<a> -> <b> <protocol> [modifiers...]
Forward frame operator
Transmits one Ethernet frame from left endpoint a to right endpoint b and records the 4-tuple port pair.
Default: Source = a, Destination = b
Open
<-
Operators
compile · flow
<a> <- <b> <protocol> [modifiers...]
Reverse frame operator
Transmits one Ethernet frame from right endpoint b back to left endpoint a while keeping initiator/responder columns visually aligned.
Default: Source = b, Destination = a (auto-swaps remembered ports)
Open
{
Operators
host · flow · compile
host a { ... } · flow f(x, y) { ... } · compile { ... }
Opening block brace
Opens a host attribute block, parameterized flow body, or top-level compile block.
Default: Required block opener
Open
}
Operators
host · flow · compile
host a { ... } · flow f(x, y) { ... } · compile { ... }
Closing block brace
Closes a host attribute block, parameterized flow body, or top-level compile block.
Default: Required block closer
Open
abort
Protocol Fields
sctp
data | init | initack | sack | heartbeat | heartbeatack | abort | shutdown | shutdownack | cookieecho | cookieack
Bare chunk keyword (or chunk <type>)
Selects the RFC 9260 SCTP chunk type (0=DATA, 1=INIT, 2=INIT_ACK, 3=SACK, 4=HEARTBEAT, 5=HEARTBEAT_ACK, 6=ABORT, 7=SHUTDOWN, 8=SHUTDOWN_ACK, 10=COOKIE_ECHO, 11=COOKIE_ACK).
Default: data (Chunk Type 0)
Open
accessaccept
Protocol Fields
radius
accessrequest | accessaccept | accessreject | accesschallenge | accountingrequest | accountingresponse
RADIUS packet code keyword (or code "<text>")
Sets the 1-byte RADIUS Code (1 Access-Request, 2 Access-Accept, 3 Access-Reject, 4 Accounting-Request, 5 Accounting-Response, 11 Access-Challenge) and selects UDP 1812 or 1813.
Default: accessrequest (Code 1, UDP 1812)
Open
accesschallenge
Protocol Fields
radius
accessrequest | accessaccept | accessreject | accesschallenge | accountingrequest | accountingresponse
RADIUS packet code keyword (or code "<text>")
Sets the 1-byte RADIUS Code (1 Access-Request, 2 Access-Accept, 3 Access-Reject, 4 Accounting-Request, 5 Accounting-Response, 11 Access-Challenge) and selects UDP 1812 or 1813.
Default: accessrequest (Code 1, UDP 1812)
Open
accessreject
Protocol Fields
radius
accessrequest | accessaccept | accessreject | accesschallenge | accountingrequest | accountingresponse
RADIUS packet code keyword (or code "<text>")
Sets the 1-byte RADIUS Code (1 Access-Request, 2 Access-Accept, 3 Access-Reject, 4 Accounting-Request, 5 Accounting-Response, 11 Access-Challenge) and selects UDP 1812 or 1813.
Default: accessrequest (Code 1, UDP 1812)
Open
accessrequest
Protocol Fields
radius
accessrequest | accessaccept | accessreject | accesschallenge | accountingrequest | accountingresponse
RADIUS packet code keyword (or code "<text>")
Sets the 1-byte RADIUS Code (1 Access-Request, 2 Access-Accept, 3 Access-Reject, 4 Accounting-Request, 5 Accounting-Response, 11 Access-Challenge) and selects UDP 1812 or 1813.
Default: accessrequest (Code 1, UDP 1812)
Open
accountingrequest
Protocol Fields
radius
accessrequest | accessaccept | accessreject | accesschallenge | accountingrequest | accountingresponse
RADIUS packet code keyword (or code "<text>")
Sets the 1-byte RADIUS Code (1 Access-Request, 2 Access-Accept, 3 Access-Reject, 4 Accounting-Request, 5 Accounting-Response, 11 Access-Challenge) and selects UDP 1812 or 1813.
Default: accessrequest (Code 1, UDP 1812)
Open
accountingresponse
Protocol Fields
radius
accessrequest | accessaccept | accessreject | accesschallenge | accountingrequest | accountingresponse
RADIUS packet code keyword (or code "<text>")
Sets the 1-byte RADIUS Code (1 Access-Request, 2 Access-Accept, 3 Access-Reject, 4 Accounting-Request, 5 Accounting-Response, 11 Access-Challenge) and selects UDP 1812 or 1813.
Default: accessrequest (Code 1, UDP 1812)
Open
acct
Protocol Fields
tacacs
authen | author | acct | type <authen|author|acct>
TACACS+ AAA packet type
Selects TACACS+ Type 0x01 Authentication (authen), 0x02 Authorization (author), or 0x03 Accounting (acct).
Default: authen (0x01)
Open
ack
Cross-Layer L4
tcp · TCP L7 · dhcp · tftp · +2
tcp syn ack · dhcp ack · tftp ack · sip ack · coap ack
TCP ACK bit (0x10) or L7 message kind
Sets the TCP ACK control flag on TCP frames, or selects the protocol acknowledgment message when placed immediately after dhcp, tftp, sip, or coap.
Default: Auto psh ack on TCP L7 frames
Open
acknum
Cross-Layer L4
tcp · all TCP L7 protocols
acknum <0..4294967295>
32-bit unsigned TCP acknowledgment number
Overrides the 32-bit TCP acknowledgment header number (ack alone sets the 1-bit ACK flag).
Default: Peer expected next seq (0 on initial SYN)
Open
actorkey
Protocol Fields
lacp
actorkey <0..65535> | actorport <0..65535>
16-bit unsigned integers
Sets the Actor Operational Key (LAG ID) and Actor Port Number.
Default: actorkey 1, actorport 1
Open
actorport
Protocol Fields
lacp
actorkey <0..65535> | actorport <0..65535>
16-bit unsigned integers
Sets the Actor Operational Key (LAG ID) and Actor Port Number.
Default: actorkey 1, actorport 1
Open
actorstate
Protocol Fields
lacp
actorstate <0..255>
8-bit IEEE 802.1AX state bitmask
Bitmask: 0x01 Activity, 0x02 Timeout (1=Short 1s), 0x04 Aggregation, 0x08 Sync, 0x10 Collecting, 0x20 Distributing, 0x40 Defaulted, 0x80 Expired.
Default: 0x3d
Open
actorsys
Protocol Fields
lacp
actorsys <mac>
48-bit MAC address
Sets the 6-byte Actor System MAC identifier inside TLV 0x01.
Default: Source host MAC
Open
addr
Protocol Fields
modbus
addr <0..65535> | count <0..65535> | value <0..65535>
0-indexed starting register/coil address, item quantity, and write/reply value
Populates register addresses, counts, and 16-bit data words.
Default: addr 0, count 1, value 0
Open
advertise
Protocol Fields
dhcp
discover | offer | request | ack | release | solicit | advertise | reply
DHCPv4 / DHCPv6 message type keyword
Sets DHCPv4 Option 53 + BOOTP op (1 request, 2 reply) or DHCPv6 msg-type (1 Solicit, 2 Advertise, 3 Request, 7 Reply, 8 Release).
Default: discover (IPv4) / solicit (IPv6)
Open
advint
Protocol Fields
vrrp
advint <0..65535>
u8 seconds (v2) or 12-bit centiseconds (v3)
Sets Advertisement Interval (1 second in VRRPv2; 100 centiseconds = 1.00s in VRRPv3).
Default: 1 (v2) / 100 (v3)
Open
aes
Protocol Fields
snmp3
priv des | aes "<password>"
des (CBC-DES) or aes (AES-128-CFB) + passphrase
Encrypts the ScopedPDU (authPriv, requires auth) and populates the 8-byte msgPrivacyParameters salt/IV.
Default: Omitted
Open
agentip
Protocol Fields
snmp1 · sflow
agentip <ipv4>
IPv4 dotted-quad literal
Used across snmp1, sflow: Sets the 4-byte NetworkAddress (agent-addr) inside SNMPv1 trap PDUs.
Default: Source IPv4 (or 0.0.0.0 on IPv6)
Open
ah
81 Protocols
Layer 3 (IP Proto 51)
ah [spi <number>] [seq <number>] [icv "<hex>"] [nextheader <0..255>]
IPsec AH (Dual-Stack IPv4/IPv6)
IPsec Authentication Header (RFC 4302)
Default: IP Proto 51
Open
alert
Protocol Fields
tls
clienthello | serverhello | certificate | finished | appdata | alert
TLS record / handshake message type
Selects Handshake (22: clienthello, serverhello, certificate, finished), Application Data (23: appdata), or Alert (21: alert).
Default: clienthello
Open
alpn
Protocol Fields
tls
alpn "<text>"
Quoted protocol ID ("h2", "http/1.1", "mqtt")
Adds TLS Extension 0x0010 (Application-Layer Protocol Negotiation) to clienthello.
Default: Omitted unless set
Open
amqp
81 Protocols
Layer 7 (TCP 5672)
amqp [protocolheader | connectionstart | channelopen | basicpublish | basicdeliver | heartbeat] [channel <0..65535>] [exchange "<text>"] [routingkey "<text>"]
AMQP 0-9-1 (Dual-Stack IPv4/IPv6)
Advanced Message Queuing Protocol (RabbitMQ) (AMQP 0-9-1)
Default: TCP 5672
Open
announce
Protocol Fields
ptp
sync | delayreq | followup | delayresp | announce | msgtype "<text>"
PTPv2 message type keyword
Selects lower nibble of byte 0 and target UDP port (0x0 Sync/319, 0x1 Delay_Req/319, 0x8 Follow_Up/320, 0x9 Delay_Resp/320, 0xb Announce/320).
Default: sync (0x0 on UDP 319)
Open
ansttl
Protocol Fields
dns · mdns
ansttl <number>
Whole number (seconds)
Used across dns, mdns: Sets the 32-bit caching TTL inside the Answer Resource Record (never ans_ttl).
Default: 300
Open
app
Protocol Fields
syslog
hostname "<text>" | app "<text>" | procid "<text>" | msgid "<text>"
Quoted text fields
Populates the structured RFC 5424 header fields before the log message body.
Default: Standard RFC 5424 defaults
Open
appdata
Protocol Fields
tls
clienthello | serverhello | certificate | finished | appdata | alert
TLS record / handshake message type
Selects Handshake (22: clienthello, serverhello, certificate, finished), Application Data (23: appdata), or Alert (21: alert).
Default: clienthello
Open
area
Protocol Fields
s7comm
area <hex_or_str> | dbnum <0..65535>
0x84 Data Blocks (DB), 0x81 Inputs (I), 0x82 Outputs (Q), 0x83 Merkers (M) + DB number
Sets the memory area and Data Block number in S7Any item addressing.
Default: area 0x84 (DB), dbnum 1
Open
areaid
Protocol Fields
ospf
areaid <u32|ipv4>
u32 integer (0) or dotted-quad (0.0.0.0)
Sets the 32-bit OSPF Area ID.
Default: 0 (Backbone Area 0.0.0.0)
Open
arg
Protocol Fields
ftp · imap · pop3
arg "<text>"
Quoted command argument (username, path, etc.)
Used across ftp, imap, pop3: Appends a space and argument after cmd before \r\n.
Default: Omitted unless set
Open
args
Protocol Fields
redis
key "<text>" | value "<text>" | args "<text>"
Quoted key, value, or extra arguments
Populates subsequent $len\r\n... elements in requests or payload text in server replies.
Default: key "mykey" on get/set
Open
arp
81 Protocols
Layer 2 (EtherType 0x0806) · MAC-only or IP hosts
arp [request | reply | gratuitous | garp] [sendermac|sha <mac>] [senderip|spa <ipv4>] [targetmac|tha <mac>] [targetip|tpa <ipv4>]
ARP / GARP (MAC-Only or IP)
Address Resolution Protocol & Gratuitous ARP (RFC 826, RFC 5227)
Default: EtherType 0x0806
Open
asn
Protocol Fields
bgp
asn <number>
16-bit or 32-bit Autonomous System Number
Sets the Autonomous System in open (<= 65535 direct; > 65535 AS_TRANS 23456 + Capability 65) and AS_PATH in update.
Default: 65001
Open
asrep
Protocol Fields
kerberos
asreq | asrep | tgsreq | tgsrep | krberror
Kerberos v5 message type
Selects Authentication Service Request/Reply (10/11), Ticket-Granting Service Request/Reply (12/13), or Error (30).
Default: asreq (msg-type 10)
Open
asreq
Protocol Fields
kerberos
asreq | asrep | tgsreq | tgsrep | krberror
Kerberos v5 message type
Selects Authentication Service Request/Reply (10/11), Ticket-Granting Service Request/Reply (12/13), or Error (30).
Default: asreq (msg-type 10)
Open
auth
Protocol Fields
ikev2 · hsrp · snmp3
sainit | auth | createchildsa | informational | exchange <...>
RFC 7296 Exchange Type keyword or u8
Used across ikev2, hsrp, snmp3: Sets Exchange Type: sainit (34 IKE_SA_INIT), auth (35 IKE_AUTH), createchildsa (36 CREATE_CHILD_SA), informational (37 INFORMATIONAL).
Default: sainit (34)
Open
authen
Protocol Fields
tacacs
authen | author | acct | type <authen|author|acct>
TACACS+ AAA packet type
Selects TACACS+ Type 0x01 Authentication (authen), 0x02 Authorization (author), or 0x03 Accounting (acct).
Default: authen (0x01)
Open
authok
Protocol Fields
postgres
startup | authok | query | commandcomplete | readyforquery | errorresponse
PostgreSQL v3.0 message type
Selects untagged StartupMessage (startup), 'R' AuthOK (authok), 'Q' Simple Query (query), 'C' CommandComplete, 'Z' ReadyForQuery, or 'E' ErrorResponse.
Default: query ('Q')
Open
author
Protocol Fields
tacacs
authen | author | acct | type <authen|author|acct>
TACACS+ AAA packet type
Selects TACACS+ Type 0x01 Authentication (authen), 0x02 Authorization (author), or 0x03 Accounting (acct).
Default: authen (0x01)
Open
bacnet
81 Protocols
Layer 7 (UDP 47808 (0xbac0))
bacnet [whois | iam | readproperty | writeproperty] [invokeid <0..255>] [objecttype <0..1023>] [objectinstance <number>] [propertyid <number>] [value <number>]
BACnet/IP (Dual-Stack IPv4/IPv6)
BACnet/IP Building Automation & Control Networks (ASHRAE 135, ISO 16484-5)
Default: UDP 47808 (0xbac0)
Open
banner
Protocol Fields
ssh
banner "<text>"
Quoted SSH identification string (e.g. "SSH-2.0-OpenSSH_9.7")
Emits the cleartext \r\n-terminated SSH version banner.
Default: "SSH-2.0-OpenSSH_9.6"
Open
basedn
Protocol Fields
ldap
basedn "<text>"
Quoted Distinguished Name ("dc=corp,dc=internal")
Sets the Bind DN on bindreq, Base Object on searchreq, or Object Name on searchentry.
Default: "dc=example,dc=com"
Open
basicdeliver
Protocol Fields
amqp
protocolheader | connectionstart | channelopen | basicpublish | basicdeliver | heartbeat
AMQP 0-9-1 frame/method selector
Selects the 8-byte AMQP header, Method frame (Type 1), or Heartbeat frame (Type 8).
Default: basicpublish (channel 1)
Open
basicpublish
Protocol Fields
amqp
protocolheader | connectionstart | channelopen | basicpublish | basicdeliver | heartbeat
AMQP 0-9-1 frame/method selector
Selects the 8-byte AMQP header, Method frame (Type 1), or Heartbeat frame (Type 8).
Default: basicpublish (channel 1)
Open
bfd
81 Protocols
Layer 3 (UDP 3784 (Multihop 4784, TTL 255))
bfd [state <0..3>] [diag <0..31>] [mydisc <number>] [yourdisc <number>] [mintx <number>] [minrx <number>] [mult <0..255>]
BFD (Dual-Stack IPv4/IPv6)
Bidirectional Forwarding Detection Control Packet (RFC 5880, RFC 5881, RFC 5883)
Default: UDP 3784 (Multihop 4784, TTL 255)
Open
bgp
81 Protocols
Layer 3 (TCP 179)
bgp [open | update | notification | keepalive] [asn <number>] [holdtime <0..65535>] [bgpid <ipv4>] [prefix|nlri <str|ip>] [nexthop <ip>]
BGP-4 / 4-Byte ASN (Dual-Stack IPv4/IPv6)
Border Gateway Protocol 4 & 4-Byte ASN Capability (RFC 4271, RFC 6793)
Default: TCP 179
Open
bgpid
Protocol Fields
bgp
bgpid <ipv4>
32-bit dotted-quad identifier
Sets the 4-byte BGP Identifier in open messages (always 32-bit dotted-quad on both v4 and v6).
Default: Source IPv4 (or 1.1.1.1 on IPv6)
Open
binary
Protocol Fields
websocket
text | binary | close | ping | pong | opcode "<text>"
WebSocket frame opcode
Selects RFC 6455 opcode 0x1 (text), 0x2 (binary), 0x8 (close), 0x9 (ping), 0xa (pong), or "continuation" (0x0).
Default: text (0x1)
Open
bindingerror
Protocol Fields
stun
bindingrequest | bindingresponse | bindingerror
STUN message class/method
Selects STUN Binding Request (0x0001), Binding Success Response (0x0101), or Binding Error Response (0x0111).
Default: bindingrequest (0x0001)
Open
bindingrequest
Protocol Fields
stun
bindingrequest | bindingresponse | bindingerror
STUN message class/method
Selects STUN Binding Request (0x0001), Binding Success Response (0x0101), or Binding Error Response (0x0111).
Default: bindingrequest (0x0001)
Open
bindingresponse
Protocol Fields
stun
bindingrequest | bindingresponse | bindingerror
STUN message class/method
Selects STUN Binding Request (0x0001), Binding Success Response (0x0101), or Binding Error Response (0x0111).
Default: bindingrequest (0x0001)
Open
bindreq
Protocol Fields
ldap
bindreq | bindres | searchreq | searchentry | searchdone | unbindreq
LDAPv3 protocol operation keyword
Selects the ASN.1 BER protocolOp tag inside LDAPMessage.
Default: searchreq
Open
bindres
Protocol Fields
ldap
bindreq | bindres | searchreq | searchentry | searchdone | unbindreq
LDAPv3 protocol operation keyword
Selects the ASN.1 BER protocolOp tag inside LDAPMessage.
Default: searchreq
Open
block
Protocol Fields
tftp
block <0..65535>
16-bit block number
Sets the 2-byte Block Number in data and ack packets (0 acknowledges a wrq).
Default: 1
Open
body
Protocol Fields
http · sip · smtp
body "<text>"
Quoted response or request payload
Used across http, sip, smtp: Appends the HTTP body after \r\n\r\n and calculates Content-Length automatically.
Default: Empty
Open
bos
Cross-Layer L2
all frames (with mpls) · mpls
mpls <label> bos <0|1>
1-bit Bottom-of-Stack flag (0..1)
Sets the Bottom-of-Stack bit (S) inside the 32-bit MPLS shim header.
Default: 1
Open
bridgeid
Protocol Fields
stp
bridgeid "<text>"
Bridge ID string ("<prio>:<mac>" or "<mac>")
Encodes the 8-byte Bridge Identifier of the transmitting switch.
Default: "32768:<src_mac>"
Open
bye
Protocol Fields
sip
invite | ack | bye | cancel | register | options | method "<text>"
SIP request method
Sets the SIP request verb on the start line and inside the CSeq header.
Default: invite
Open
callid
Protocol Fields
sip
callid "<text>" | cseq <number>
Quoted Call-ID string + sequence number
Links all messages belonging to the same VoIP dialog (Call-ID:) and transaction (CSeq:).
Default: callid "call-1", cseq 1
Open
cancel
Protocol Fields
sip
invite | ack | bye | cancel | register | options | method "<text>"
SIP request method
Sets the SIP request verb on the start line and inside the CSeq header.
Default: invite
Open
cas
Protocol Fields
memcached
opcode <hex_or_num> [opaque <hex_or_num>] [cas <hex_or_num>]
Binary protocol opcode (0x00 Get, 0x01 Set, 0x07 Quit)
Switches the packet to the 24-byte 0x80 Memcached Binary Protocol.
Default: Omitted (uses ASCII mode)
Open
certificate
Protocol Fields
tls
clienthello | serverhello | certificate | finished | appdata | alert
TLS record / handshake message type
Selects Handshake (22: clienthello, serverhello, certificate, finished), Application Data (23: appdata), or Alert (21: alert).
Default: clienthello
Open
chaddr
Protocol Fields
dhcp
chaddr <mac>
Colon, hyphen, or Cisco dot MAC
Populates the 16-byte Client Hardware Address field in DHCPv4.
Default: Source host MAC
Open
changed
Protocol Fields
coap
get | post | put | delete | created | changed | notfound | code "<c.dd>"
Shorthand keyword OR dotted code ("0.01".."5.05", choose one)
Encodes byte 1 ((class << 5) | detail, e.g. "2.05" Content = 0x45).
Default: get ("0.01")
Open
channel
Protocol Fields
amqp
channel <0..65535>
16-bit AMQP channel number (0 for connection/heartbeat, >= 1 for work channels)
Sets bytes 1..2 of the 7-byte AMQP frame header.
Default: 1 (0 on connectionstart/heartbeat)
Open
channelopen
Protocol Fields
amqp
protocolheader | connectionstart | channelopen | basicpublish | basicdeliver | heartbeat
AMQP 0-9-1 frame/method selector
Selects the 8-byte AMQP header, Method frame (Type 1), or Heartbeat frame (Type 8).
Default: basicpublish (channel 1)
Open
chassisid
Protocol Fields
lldp
chassisid "<text>"
Quoted string or identifier
Encodes Mandatory TLV Type 1 (Chassis ID) with Locally Assigned subtype.
Default: "switch"
Open
checksum
Protocol Fields
gre
checksum
Bare boolean flag
Sets Checksum Present bit (0x8000) and inserts the computed 2-byte GRE Checksum + 2-byte Reserved1 (0x0000).
Default: Omitted (C=0)
Open
chunk
Protocol Fields
sctp
sctp [chunk <type> | data | init | initack | sack | heartbeat | heartbeatack | abort | shutdown | shutdownack | cookieecho | cookieack] [vtag <number>] [tsn <number>] [stream <0..65535>] [ssn <0..65535>] [ppid <number>]
SCTP (CRC-32c) modifier
Sets chunk on sctp frames.
Default: IP Proto 132 (38412 NGAP / 36412 S1AP)
Open
chunktype
Protocol Fields
opcua
chunktype "<F|C|A>"
"F" Final chunk, "C" Intermediate chunk, "A" Abort
Sets byte 3 (IsFinal) of the 8-byte OPC UA Binary header.
Default: "F"
Open
ciaddr
Protocol Fields
dhcp
ciaddr <ipv4> | yiaddr <ipv4> | siaddr <ipv4>
IPv4 dotted-quad literals
Sets Client IP, Your (offered) IP, and Next Server IP in the DHCPv4 BOOTP header.
Default: 0.0.0.0
Open
cipattr
Protocol Fields
ethernetip
cipclass <hex_or_num> | cipinstance <number> | cipattr <number>
CIP Object Class (0x01 Identity, 0x04 Assembly, 0x6b Symbol), Instance, and Attribute
Encodes the logical EPATH segments targeting the PLC CIP object.
Default: cipclass 0x01, cipinstance 1, cipattr 1
Open
cipclass
Protocol Fields
ethernetip
cipclass <hex_or_num> | cipinstance <number> | cipattr <number>
CIP Object Class (0x01 Identity, 0x04 Assembly, 0x6b Symbol), Instance, and Attribute
Encodes the logical EPATH segments targeting the PLC CIP object.
Default: cipclass 0x01, cipinstance 1, cipattr 1
Open
ciphersuite
Protocol Fields
tls
ciphersuite <hex>
16-bit IANA cipher code (0x1301 AES-128-GCM, 0x1302 AES-256-GCM, 0x1303 ChaCha20)
Sets the offered or selected Cipher Suite in clienthello / serverhello.
Default: 0x1301
Open
cipinstance
Protocol Fields
ethernetip
cipclass <hex_or_num> | cipinstance <number> | cipattr <number>
CIP Object Class (0x01 Identity, 0x04 Assembly, 0x6b Symbol), Instance, and Attribute
Encodes the logical EPATH segments targeting the PLC CIP object.
Default: cipclass 0x01, cipinstance 1, cipattr 1
Open
cipservice
Protocol Fields
ethernetip
cipservice <hex_or_num>
CIP Service Code (0x01 Get_Attributes_All, 0x0e Get_Attribute_Single, 0x10 Set_Attribute_Single, 0x4c Read_Tag)
Sets the CIP Service byte inside sendrrdata / sendunitdata.
Default: 0x0e (Get_Attribute_Single)
Open
clienthello
Protocol Fields
tls
clienthello | serverhello | certificate | finished | appdata | alert
TLS record / handshake message type
Selects Handshake (22: clienthello, serverhello, certificate, finished), Application Data (23: appdata), or Alert (21: alert).
Default: clienthello
Open
clientid
Protocol Fields
mqtt
clientid "<text>" | keepalive <0..65535>
Quoted Client ID + keepalive seconds on connect
Populates the CONNECT payload Client Identifier and Keep Alive timer.
Default: clientid "frameassembly", keepalive 60
Open
clockid
Protocol Fields
ptp
clockid "<text>"
16-char EUI-64 hex ("001c73fffe000001") or 8B string
Populates the 8-byte ClockIdentity inside the 10-byte sourcePortIdentity field.
Default: Derived from source MAC (EUI-64 fffe)
Open
close
Protocol Fields
websocket · smb
text | binary | close | ping | pong | opcode "<text>"
WebSocket frame opcode
Used across websocket, smb: Selects RFC 6455 opcode 0x1 (text), 0x2 (binary), 0x8 (close), 0x9 (ping), 0xa (pong), or "continuation" (0x0).
Default: text (0x1)
Open
cmd
Protocol Fields
ftp · smtp · imap · pop3 · +2
cmd "<text>"
Quoted FTP command verb ("USER", "PASS", "PASV", "RETR", "STOR", "QUIT")
Used across ftp, smtp, imap, pop3, redis, memcached: Writes the FTP client command verb.
Default: "USER"
Open
cname
Protocol Fields
kerberos
cname "<text>" | sname "<text>"
Quoted Client Principal Name or Service Principal Name (SPN)
Encodes PrincipalName components in KDC-REQ-BODY / KDC-REP.
Default: cname "alice", sname "krbtgt/EXAMPLE.COM"
Open
coap
81 Protocols
Layer 7 (UDP 5683)
coap [con | non | ack | rst | msgtype "<text>"] [get | post | put | delete | created | changed | notfound | code "<c.dd>"] [msgid <0..65535>] [token <hex_or_num>] [uripath "<text>"] [contentformat <0..65535>]
CoAP (IoT) (Dual-Stack IPv4/IPv6)
Constrained Application Protocol (RFC 7252)
Default: UDP 5683
Open
code
Protocol Fields
icmp · ftp · smtp · coap
type <0..255> | code <0..255>
8-bit unsigned integers
Used across icmp, ftp, smtp, coap: Explicitly overrides the 1-byte ICMP/ICMPv6 Type and Code fields (e.g., type 2 code 0 for ICMPv6 Packet Too Big).
Default: Derived from shorthand (code 0)
Open
command
Protocol Fields
rip
request | response | reply | command <1|2>
RIP Command selector
Selects Command 1 (request) or Command 2 (response / reply).
Default: response (Command 2)
Open
commandcomplete
Protocol Fields
postgres
startup | authok | query | commandcomplete | readyforquery | errorresponse
PostgreSQL v3.0 message type
Selects untagged StartupMessage (startup), 'R' AuthOK (authok), 'Q' Simple Query (query), 'C' CommandComplete, 'Z' ReadyForQuery, or 'E' ErrorResponse.
Default: query ('Q')
Open
community
Protocol Fields
snmp1 · snmp2
community "<text>"
Double-quoted OCTET STRING
Used across snmp1, snmp2: Sets the cleartext SNMPv1 community string.
Default: "public"
Open
compile
Blocks & Hosts
top-level
compile { <inline_frames_or_flow_calls> }
Required execution block (1 per file)
Executes inline frame statements and flow(...) invocations top-to-bottom in deterministic capture order (no loop keyword).
Default: 1 frame statement = 1 Ethernet frame
Open
compound
Protocol Fields
nfs
compound | proc "<text>"
compound or procedure name ("NULL", "GETATTR", "LOOKUP", "READ", "WRITE")
Selects RPC procedure 1 (COMPOUND on NFSv4) or named NFSv3/v4 procedure.
Default: compound
Open
con
Protocol Fields
coap
con | non | ack | rst | msgtype "<text>"
CoAP Message Type (0 CON, 1 NON, 2 ACK, 3 RST)
Sets the 2-bit T field in byte 0 (ack and rst are CoAP UDP message types, not TCP flags).
Default: con (Confirmable)
Open
confirm
Protocol Fields
dnp3
read | write | select | operate | directoperate | confirm | response | unsolicitedresponse | func "<text>"
DNP3 Application Function Code
Selects 0x00 Confirm, 0x01 Read, 0x02 Write, 0x03 Select, 0x04 Operate, 0x05 Direct Operate, 0x81 Response, or 0x82 Unsolicited Response.
Default: read (0x01)
Open
connack
Protocol Fields
mqtt
connect | connack | publish | puback | subscribe | suback | pingreq | pingresp | disconnect
MQTT Control Packet type (or pkttype "<text>")
Sets the upper 4-bit Control Packet Type (1..14) in byte 0 of the MQTT header.
Default: publish
Open
connect
Protocol Fields
mqtt
connect | connack | publish | puback | subscribe | suback | pingreq | pingresp | disconnect
MQTT Control Packet type (or pkttype "<text>")
Sets the upper 4-bit Control Packet Type (1..14) in byte 0 of the MQTT header.
Default: publish
Open
connectionstart
Protocol Fields
amqp
protocolheader | connectionstart | channelopen | basicpublish | basicdeliver | heartbeat
AMQP 0-9-1 frame/method selector
Selects the 8-byte AMQP header, Method frame (Type 1), or Heartbeat frame (Type 8).
Default: basicpublish (channel 1)
Open
contact
Protocol Fields
sip
uri "<text>" | from "<text>" | to "<text>" | contact "<text>" | via "<text>"
Quoted SIP URIs / header values
Populates the request URI and corresponding SIP signaling headers.
Default: RFC 3261 defaults
Open
contentformat
Protocol Fields
coap
contentformat <0..65535>
IANA CoAP Content-Format (0 text/plain, 40 link-format, 50 JSON, 60 CBOR)
Encodes CoAP Option 12 (Content-Format).
Default: Omitted unless set
Open
contenttype
Protocol Fields
http · sip
useragent "<text>" | contenttype "<text>"
Quoted header values
Used across http, sip: Writes User-Agent: and Content-Type: headers.
Default: Omitted unless set
Open
context
Protocol Fields
ethernetip
sessionhandle <hex_or_num> | status <number> | context <hex_or_str>
32-bit Session Handle, 32-bit Status (0 Success), 64-bit Sender Context
Populates the 24-byte EtherNet/IP Encapsulation Header fields.
Default: sessionhandle 0, status 0
Open
contextname
Protocol Fields
snmp3
contextname "<text>"
Quoted text
Sets contextName inside the ScopedPDU (e.g. "vlan-10" per-VLAN bridge MIB contexts).
Default: "" (default context)
Open
cookie
Protocol Fields
wireguard · ssh
initiation | response | cookie | data | type <...>
WireGuard message type keyword
Used across wireguard, ssh: Selects Type 1 Handshake Initiation (148B), Type 2 Handshake Response (92B), Type 3 Cookie Reply (64B), or Type 4 Transport Data (>= 32B).
Default: initiation (Type 1)
Open
cookieack
Protocol Fields
sctp
data | init | initack | sack | heartbeat | heartbeatack | abort | shutdown | shutdownack | cookieecho | cookieack
Bare chunk keyword (or chunk <type>)
Selects the RFC 9260 SCTP chunk type (0=DATA, 1=INIT, 2=INIT_ACK, 3=SACK, 4=HEARTBEAT, 5=HEARTBEAT_ACK, 6=ABORT, 7=SHUTDOWN, 8=SHUTDOWN_ACK, 10=COOKIE_ECHO, 11=COOKIE_ACK).
Default: data (Chunk Type 0)
Open
cookieecho
Protocol Fields
sctp
data | init | initack | sack | heartbeat | heartbeatack | abort | shutdown | shutdownack | cookieecho | cookieack
Bare chunk keyword (or chunk <type>)
Selects the RFC 9260 SCTP chunk type (0=DATA, 1=INIT, 2=INIT_ACK, 3=SACK, 4=HEARTBEAT, 5=HEARTBEAT_ACK, 6=ABORT, 7=SHUTDOWN, 8=SHUTDOWN_ACK, 10=COOKIE_ECHO, 11=COOKIE_ACK).
Default: data (Chunk Type 0)
Open
cost
Protocol Fields
stp
cost <number>
Whole number
Sets the 4-byte Root Path Cost (20000 = 1GbE, 2000 = 10GbE).
Default: 0
Open
count
Protocol Fields
modbus · s7comm
addr <0..65535> | count <0..65535> | value <0..65535>
0-indexed starting register/coil address, item quantity, and write/reply value
Used across modbus, s7comm: Populates register addresses, counts, and 16-bit data words.
Default: addr 0, count 1, value 0
Open
counter
Protocol Fields
wireguard
counter <number>
Whole number
Sets the 64-bit ChaCha20-Poly1305 AEAD nonce counter in Type 4 data packets.
Default: 0
Open
counter32
Protocol Fields
snmp1 · snmp2 · snmp3
varbind <oid> string "<text>" | int <number> | oidval <oid> | ipval <ipv4> | counter32 <number> | gauge32 <number> | timeticks <number> | counter64 <number> | null | nullval
Repeatable OID + SMI value keyword
Used across snmp1, snmp2, snmp3: Appends an ASN.1 BER VarBind (OID, SMI-value) pair to the VarBindList SEQUENCE (null and nullval are interchangeable aliases).
Default: Omitted
Open
counter64
Protocol Fields
snmp1 · snmp2 · snmp3
varbind <oid> string "<text>" | int <number> | oidval <oid> | ipval <ipv4> | counter32 <number> | gauge32 <number> | timeticks <number> | counter64 <number> | null | nullval
Repeatable OID + SMI value keyword
Used across snmp1, snmp2, snmp3: Appends an ASN.1 BER VarBind (OID, SMI-value) pair to the VarBindList SEQUENCE (null and nullval are interchangeable aliases).
Default: Omitted
Open
crc
Protocol Fields
dnp3
crc <hex_or_num>
Optional 16-bit link-header CRC override
Replaces the computed Data Link header CRC for negative/fuzz testing (omit for valid packets!).
Default: Auto-computed IEEE 1815 CRC-16
Open
create
Protocol Fields
smb
negotiate | sessionsetup | treeconnect | treedisconnect | create | close | read | write | logoff
SMB2/3 command keyword (or command "<text>")
Selects the 16-bit MS-SMB2 command (0x00 Negotiate, 0x01 SessionSetup, 0x02 Logoff, 0x03 TreeConnect, 0x04 TreeDisconnect, 0x05 Create, 0x06 Close, 0x08 Read, 0x09 Write).
Default: negotiate (0x0000)
Open
createchildsa
Protocol Fields
ikev2
sainit | auth | createchildsa | informational | exchange <...>
RFC 7296 Exchange Type keyword or u8
Sets Exchange Type: sainit (34 IKE_SA_INIT), auth (35 IKE_AUTH), createchildsa (36 CREATE_CHILD_SA), informational (37 INFORMATIONAL).
Default: sainit (34)
Open
created
Protocol Fields
coap
get | post | put | delete | created | changed | notfound | code "<c.dd>"
Shorthand keyword OR dotted code ("0.01".."5.05", choose one)
Encodes byte 1 ((class << 5) | detail, e.g. "2.05" Content = 0x45).
Default: get ("0.01")
Open
cseq
Protocol Fields
sip · rtsp
callid "<text>" | cseq <number>
Quoted Call-ID string + sequence number
Used across sip, rtsp: Links all messages belonging to the same VoIP dialog (Call-ID:) and transaction (CSeq:).
Default: callid "call-1", cseq 1
Open
cwr
Cross-Layer L4
tcp · all TCP L7 protocols
cwr
TCP Congestion Window Reduced bit (0x80, RFC 3168)
Sets the TCP Congestion Window Reduced (CWR) flag bit.
Default: Unset
Open
Showing first 120 of 653 tokens for fast initial render.