Field Guides, Cheat Sheets & Language Notes
Short, practical walkthroughs for everyday packet jobs: testing encrypted SNMPv3 alerts from your desk, redacting private IPs and hostnames in a .pcap before sharing it, building TCP streams that stateful firewalls accept, and feeding captures onto hardware lab interfaces with tcpreplay.
Practical Walkthroughs
Runnable .frasm captures and terminal commands you can drop straight into your workflow.
Your First .pcap in 60 Seconds (host + compile)
Name two boxes, draw -> and <- arrows, and spit out a Wireshark-ready .pcap or .pcapng with zero Scapy imports and zero sudo.
Reverse .pcap -> Scrub Secrets -> Rebuild .pcap
Decompile binary captures into plain .frasm text, wipe customer IPs and internal hostnames with find-and-replace, and recompile with fresh checksums.
Poke Stateful Firewalls, Suricata, Zeek & OT Conduits
Craft sessions that actually survive stateful TCP tracking, or intentionally inject Xmas scans, fragments, and rogue SQL/Modbus writes to prove your sensors are awake.
Encrypted SNMPv3 Traps, Syslog & NetFlow From Your Desk
Test Zabbix, PRTG, LibreNMS, or Splunk alert rules on demand with MIB-free SNMPv1/v2c/v3 authPriv traps, Syslog events, and NetFlow/IPFIX/sFlow records.
VLANs, QinQ, MPLS, Tunnel Soup & Dual-Stack IPv6
Stamp 802.1Q / 802.1ad QinQ tags that OS NIC drivers usually eat, stack MPLS/VXLAN/WireGuard/IPsec headers, and reuse one flow(a, b) across IPv4 & IPv6.
CLI Cheat Sheet, Address Formats & Common Gotchas
Every frameassembly v3.1.2 terminal command, accepted IP/MAC/OID format, typo fix, and why .frasm has nothing to do with x86 Flat Assembler (fasm).
Physical Hardware Labs: Blasting .pcap Captures onto Real Copper & Fiber (tcpreplay)
Wire .frasm -> .pcap captures into SPAN ports, optical TAPs, two-NIC firewall hairpins (tcpprep + tcpreplay), and managed switch trunks without NIC drivers eating your VLAN tags.
Cursed Packets Cookbook: Weird Frames, Middlebox Lies & 3 AM Reproducers
Four copy-paste packet war stories for catching forged middlebox TCP resets, 802.1ad QinQ native-VLAN leaks, IDS stream-reassembler edge cases, and offline OT coil writes.
Rosetta Stone, Grammar Rules & Under the Hood
Wireshark / tcpdump to .frasm filter maps, strict lowercase grammar rules, and Rust / WASM internals for the curious.
Wireshark / tcpdump / Scapy -> .frasm Rosetta Stone
One-page translation map from Wireshark display filters, tcpdump, Scapy, and tcprewrite to exact FrameAssembly v3.1.2 keywords.
.frasm Language Spec, Validation Rules & v3.1 Upgrade Map
Formal lexical rules, text/vnd.frameassembly MIME registration, cross-layer semantic checks, and upgrading old v1/v2 .fasm snippets to v3.1.2.
Under the Hood: Rust Crate, frameassembly-wasm & EBNF Grammars
For the folks who actually *do* like programming: how the 6-stage Rust pipeline works and how to embed .frasm <-> .pcap in Cargo or Node/browser tests.
The Whole Trick in Two Blocks: host + compile
Hit Preview Packets to compile live wire bytes right here, or jump straight into the 81-protocol reference.
// 1. Name the boxes on your network (plain IPv4, IPv6, or MAC)host router { ip 10.40.1.1 }host nms_srv { ip 10.40.1.100 }// 2. Draw -> and <- arrows top-to-bottom (1 line = 1 Ethernet frame)compile { router -> nms_srv snmp3 trap user "secops" engineid "80001f888001020304" engineboots 3 enginetime 1200 auth sha256 "AuthSecret2026!" priv aes "PrivSecret2026!" sysuptime 240000 varbind 1.3.6.1.6.3.1.1.4.1.0 oidval 1.3.6.1.6.3.1.1.5.3 varbind 1.3.6.1.2.1.2.2.1.2.1 string "TenGigE0/0/1"}