Category 06 of 08Layer 716 Native ProtocolsFrameAssembly v3.2.2
Raw .mdllms-full.txt

Layer 7 Web, TLS/QUIC, VoIP & Remote Access

WAF rules, TLS SNI/ALPN inspection policies, HTTP/2 & gRPC service meshes, and VoIP Session Border Controllers depend on exact application-layer framing riding atop established transport state. FrameAssembly synthesizes 16 web, encrypted transport, remote-administration, and real-time media protocols without spinning up web servers, SIP softphones, or TLS certificate chains.

Every TCP-based protocol in this tier (http, http2, grpc, websocket, tls, ssh, telnet, ftp, whois, rtsp, and sip transport tcp) shares the canonical 4-tuple TCP sequence state machine so multi-frame handshakes, HTTP/2 binary streams, XOR-masked WebSocket payloads, and RTSP camera sessions decode cleanly in Wireshark and Suricata.

Keywords in Category 06:httphttp2grpcwebsockettlsquicsshtelnettftpftpwhoissiprtprtspstunssdp
Wire & Endpoint Rules

Wire Framing & Endpoint Rules for Web, TLS/QUIC, VoIP & Access

Rule 01

hosthdr & transporthdr Disambiguation

Use hosthdr "app.example.com" on http/ssdp (because host opens a top-level endpoint block) and transporthdr "RTP/AVP;unicast;client_port=5004-5005" on rtsp (because transport is reserved for L4 tcp|udp).

Rule 02

Nested TLS, HTTP/2 & gRPC Length Framing

tls computes outer 5-byte record lengths, 3-byte handshake lengths, SNI (0x0000), and ALPN (0x0010); grpc wraps Protobuf payloads in 5-byte length-prefixed HTTP/2 frames.

Rule 03

Genuine XOR Masking on WebSocket & STUN

websocket maskkey <u32> XOR-masks client payload bytes per RFC 6455, and stun xormappedaddr <ip> XOR-encodes NAT bindings with 0x2112a442.

Rule 04

Matched VoIP SIP + RTP + DSCP EF Workflows

Combine sip invite (Call-ID, z9hG4bK Via, SDP body) with rtp pt 0 dscp 46 to audit SBC NAT pinholes and WAN QoS remarking.

Multi-Protocol Capture Example

Stateful TLS 1.3 SNI + HTTP/2 Stream & VoIP SIP/RTP Call Setup

Establishes a TCP 443 connection carrying TLS 1.3 ClientHello/ServerHello (alpn "h2") + HTTP/2 connection preface and HEADERS, followed by a STUN NAT check, SIP INVITE/200 OK, and DSCP-46 G.711 RTP voice frame.

web_tls_http2_voip.frasm17 lines
Open in Playground
host endpoint { ip 10.60.1.25 }
host edge_gw { ip 10.60.1.10 }
compile {
endpoint -> edge_gw tcp syn srcport 52400 dstport 443 win 65535 mss 1460 wait 1ms
endpoint <- edge_gw tcp syn ack win 65535 mss 1460 wait 1ms
endpoint -> edge_gw tcp ack wait 1ms
endpoint -> edge_gw tls clienthello sni "api.corp.example" alpn "h2" ciphersuite 0x1301 wait 2ms
endpoint <- edge_gw tls serverhello ciphersuite 0x1301 wait 1ms
endpoint -> edge_gw http2 preface wait 1ms
endpoint -> edge_gw http2 headers streamid 1 wait 3ms
endpoint -> edge_gw stun bindingrequest txid 0x10203040 wait 1ms
endpoint <- edge_gw stun bindingresponse txid 0x10203040 xormappedaddr 198.51.100.25 wait 2ms
endpoint -> edge_gw sip invite uri "sip:noc@edge.example" callid "call-9001" cseq 1 wait 2ms
endpoint <- edge_gw sip status 200 reason "OK" callid "call-9001" cseq 1 wait 2ms
endpoint -> edge_gw rtp pt 0 seq 1 timestamp 160 ssrc 0x12345678 dscp 46
}
Terminal Commands (FrameAssembly CLI v3.2.2)
# 1. Eyeball relative timestamps, ports & wire lengths in your terminal
frameassembly show web_tls_http2_voip.frasm

# 2. Compile .frasm -> classic .pcap (tcpdump/tcpreplay/Suricata) or nanosecond .pcapng
frameassembly web_tls_http2_voip.frasm web_tls_http2_voip.pcap
frameassembly web_tls_http2_voip.frasm web_tls_http2_voip.pcapng

# 3. Round-trip .pcap <-> .frasm whenever you want to scrub or tweak an existing capture
frameassembly reverse web_tls_http2_voip.pcap web_tls_http2_voip_edited.frasm

# 4. Verify dissected protocol fields in tshark
tshark -r web_tls_http2_voip.pcap -Y "tls || http2 || stun || sip || rtp"
All 16 Protocols

All 16 Native Protocols in Layer 7 Web, TLS/QUIC, VoIP & Remote Access

Select any lowercase protocol keyword below for its full RFC wire layout, modifier table, cross-layer wrappers, and runnable lab capture.

#KeywordProtocol & Wire SummaryDefault Port / ProtoEndpoint RuleWireshark Filter
46httpHypertext Transfer Protocol HTTP/1.1

http — Stateful HTTP/1.1 Requests, Headers & WAF Payloads

TCP 80Dual-Stack IPv4/IPv6http
47http2Hypertext Transfer Protocol Version 2 Binary Framing

http2 — RFC 9113 Connection Prefaces & Multiplexed Frames

TCP 443Dual-Stack IPv4/IPv6http2
48grpcgRPC Remote Procedure Calls over HTTP/2

grpc — Microservice RPCs & Router gNMI Streams (TCP 50051)

TCP 50051Dual-Stack IPv4/IPv6grpc || http2
49websocketWebSocket Framed Bidirectional Messaging

websocket — RFC 6455 Upgraded Sockets & XOR-Masked Frames

TCP 80Dual-Stack IPv4/IPv6websocket
50tlsTransport Layer Security Record & Handshake Layer

tls — TLS 1.2/1.3 Handshakes, Cleartext SNI & ALPN Records

TCP 443Dual-Stack IPv4/IPv6tls
51quicQUIC v1 & v2 Encrypted UDP Transport

quic — RFC 9000 Encrypted UDP 443 Handshakes & Connection IDs

UDP 443Dual-Stack IPv4/IPv6quic
52sshSecure Shell Transport Layer Protocol

ssh — Port 22 Version Banners & Binary KEXINIT Framing

TCP 22Dual-Stack IPv4/IPv6ssh
53telnetTelnet Cleartext Terminal & IAC Negotiation

telnet — Port 23 IAC Option Negotiations & Login Alarms

TCP 23Dual-Stack IPv4/IPv6telnet
54tftpTrivial File Transfer Protocol

tftp — UDP 69 Config Read/Write Requests & Block Transfers

UDP 69Dual-Stack IPv4/IPv6tftp
55ftpFile Transfer Protocol Control Channel

ftp — Stateful TCP 21 Control Sessions & Firewall ALG Tests

TCP 21Dual-Stack IPv4/IPv6ftp
56whoisWHOIS Domain & IP Directory Query Protocol

whois — Port 43 Domain & ASN Registry Query Sessions

TCP 43Dual-Stack IPv4/IPv6whois
57sipSession Initiation Protocol VoIP Signaling

sip — VoIP INVITE, SDP & Call-ID Ladders Over UDP/TCP 5060

UDP 5060 (or TCP 5060 via transport tcp)Dual-Stack IPv4/IPv6sip
58rtpReal-time Transport Protocol Audio & Video Streams

rtp — 12-Byte Voice/Video Media Streams & DSCP EF Marking

UDP 5004Dual-Stack IPv4/IPv6rtp
59rtspReal Time Streaming Protocol IP Camera & Media Control

rtsp — Port 554 Camera Stream Control & transporthdr Rules

TCP 554Dual-Stack IPv4/IPv6rtsp
60stunSession Traversal Utilities for NAT

stun — WebRTC NAT Hole-Punching & 0x2112a442 XOR Mapping

UDP 3478Dual-Stack IPv4/IPv6stun
61ssdpSimple Service Discovery Protocol & UPnP Multicast

ssdp — Multicast UDP 1900 UPnP M-SEARCH & NOTIFY Frames

UDP 1900 (239.255.255.250 / ff02::c)Dual-Stack IPv4/IPv6ssdp