The question

A firewall that does not decrypt traffic is often described as blind to it. That is not quite right, and the precise answer matters to anyone who writes policy, buys an inspection device or worries about what a network can learn about its users. The Internet Architecture Board (IAB) gave the answer a name in (Request for Comments) 8546 of April 2019, by Brian Trammell and Mirja Kühlewind: the wire image, "the view of that set of protocols as observed by an entity not participating in the communication", including the packets' content and "the time at which each packet is observed". The RFC adds that the wire image "is not limited to merely 'the unencrypted bits in the header'", because timing and sizes can be used to infer behaviour and fingerprint implementations.

This post reads a real wire image. The Internet Engineering Task Force () publishes complete example handshakes so that implementers can check their code: RFC 8448 (Martin Thomson, January 2019) for Transport Layer Security (TLS) 1.3, and Appendix A of RFC 9001 (May 2021) for QUIC, the transport the web increasingly uses instead of the Transmission Control Protocol (TCP), both running over the Internet Protocol (IP). Those bytes are public, fixed and checkable, which makes them the right material for a worked example. The article Packet filters, stateful inspection and deep packet inspection explains the inspection engines that read these bytes; here we read them ourselves.

Before the first TLS byte

Two things happen before any TLS record is sent, and both are readable.

The name lookup. Unless the client uses encrypted DNS, its Domain Name System (DNS) query carries the name it wants in the question section, in the clear; RFC 1035's examples show the QNAME field holding the name being asked about. RFC 9849, the Encrypted Client Hello standard, makes the same point from the other side: encrypting the TLS handshake is not enough, because "the target domain may also be visible through other channels, such as plaintext client DNS queries or visible server IP addresses". The options for encrypting the lookup, and what each still reveals, are in Encrypted DNS: DoT, DoH and DoQ.

The TCP handshake. The three segments that open the connection carry the client's and server's addresses and ports, the flags, such as SYN (synchronize), ACK (acknowledgement), FIN (finish) and RST (reset), the initial sequence numbers, the advertised window and the TCP options. Every stateful firewall on the path builds its table entry from them, as the Learn article shows packet by packet. None of this is encrypted in any version of TLS, because TLS runs on top of it.

So before encryption begins, an observer already knows who is talking to whom, on which port, when, and very often which name the client looked up.

The ClientHello, byte by byte

The first TLS record of RFC 8448's "Simple 1-RTT Handshake" is the client's greeting ("1-RTT" means the handshake costs one round-trip time (RTT) before data can flow). The RFC prints it in full: 201 octets on the wire, a 5-byte record header followed by a 196-octet ClientHello. Here it is in the order a decoder reads it, with every length checked:

Bytes (hexadecimal)FieldValue and meaning
16record content type22, handshake
03 01legacy record version0x0301; RFC 8446 says it "MAY also be 0x0301 for compatibility purposes" in an initial ClientHello and "MUST be ignored for all purposes"
00 c4record length196 bytes follow
01handshake type1, client_hello
00 00 c0handshake length192 bytes follow
03 03legacy_version0x0303, the number for TLS 1.2; RFC 8446 requires this value and moves the real negotiation to an extension
cb 34 ec b1 ... 4d ec e7random32 random bytes
00legacy_session_id length0: no session identifier
00 06 13 01 13 03 13 02cipher suites6 bytes, three suites: TLS__128__SHA256 (0x1301), TLS_CHACHA20_POLY1305_SHA256 (0x1303), TLS_AES_256_GCM_SHA384 (0x1302)
01 00compression methodsone method, null
00 91extensions length145 bytes of extensions follow

Update, 24 November 2026: RFC 8446 was obsoleted in July 2026 by RFC 9846, which still specifies TLS 1.3. Every passage quoted here appears unchanged in RFC 9846; the middlebox compatibility mode is now its appendix E.4.

Then the extensions, each a 2-byte type, a 2-byte length and its data:

Bytes (hexadecimal)Extension (type)Value and meaning
00 00 00 0b 00 09 00 00 06 73 65 72 76 65 72server_name (0)a 9-byte list holding one entry of type host_name (0), 6 bytes long: 73 65 72 76 65 72 is the (American Standard Code for Information Interchange) text "server"
ff 01 00 01 00renegotiation_info (0xff01, RFC 5746)one empty byte: not a renegotiation
00 0a 00 14 00 12 00 1d 00 17 00 18 00 19 01 00 01 01 01 02 01 03 01 04supported_groups (10)nine key exchange groups: x25519 (0x001D), secp256r1, secp384r1, secp521r1, and five finite-field groups from ffdhe2048 (0x0100) to ffdhe8192
00 23 00 00session ticket (35, RFC 5077)empty: the client has no ticket to offer
00 33 00 26 00 24 00 1d 00 20 99 38 1d ... af 2ckey_share (51)one share for x25519: the client's 32-byte public key, which the RFC prints separately as the client's ephemeral key
00 2b 00 03 02 03 04supported_versions (43)a list holding 0x0304: TLS 1.3
00 0d 00 20 00 1e 04 03 05 03 ... 02 02signature_algorithms (13)fifteen signature schemes, beginning with ecdsa_secp256r1_sha256 (0x0403) and including rsa_pss_rsae_sha256 (0x0804) and rsa_pkcs1_sha256 (0x0401)
00 2d 00 02 01 01psk_key_exchange_modes (45)psk_dhe_ke (1)
00 1c 00 02 40 01record_size_limit (28, RFC 8449)0x4001 = 16,385 octets

The lengths add up, which is the check a decoder makes before trusting anything. The extensions take 15 + 5 + 24 + 4 + 42 + 7 + 36 + 6 + 6 = 145 bytes, the 0x91 announced. The ClientHello body is 2 (version) + 32 (random) + 1 (session identifier length) + 8 (cipher suites with their length) + 2 (compression) + 2 (extensions length) + 145 = 192 bytes, the 0xc0 announced, and with its 4-byte handshake header it fills the 196-byte record.

What an inspection engine takes from this record:

  • The server name. "server" in this test; a real host name in real traffic. RFC 8404, written for network operators in July 2018, reports that many of Akamai's customers see the extension in over 99 per cent of client connections. It is the single most useful field for policy: a firewall can allow, block or categorize by it without decrypting anything. Suricata exposes it to rules as tls.sni, with the documented example tls.sni; content:"oisf.net"; nocase; isdataat:!1,relative;.
  • The version. RFC 8446 says a TLS 1.3 ClientHello is identified by a legacy_version of 0x0303 together with a supported_versions extension "with 0x0304 as the highest version indicated therein". An engine that read only the first version field would think this was TLS 1.2.
  • The fingerprint. The choice and order of cipher suites, extensions, groups and signature schemes is characteristic of the client software. Fingerprints such as and its successor hash or summarize exactly these fields; the story and the method are in The Fingerprint That Broke, and the One Its Author Wrote to Replace It and What is a JA4 TLS fingerprint, and the JA4 decoder takes one apart.
  • What is absent. This test client sends no Application-Layer Protocol Negotiation () extension. A browser would, listing for example versions 2 and 1.1 of the Hypertext Transfer Protocol (HTTP), written and HTTP/1.1, and RFC 8404 notes that ALPN is "sent cleartext in the ClientHello" while the server's answer travels encrypted in TLS 1.3. The legacy session identifier is also empty, which tells us this client did not use the "middlebox compatibility mode" of RFC 8446's appendix D.4 (appendix E.4 of RFC 9846), in which the client "always provides a non-empty session ID" and both sides send dummy change_cipher_spec records so that the handshake resembles TLS 1.2 session resumption. That mode exists because, in the RFC's words, "a significant number of middleboxes misbehave when a TLS client/server pair negotiates TLS 1.3".

The ServerHello, and then the lights go out

The server answers with a 95-octet record: 16 03 03 00 5a (handshake, 90 bytes) and a 90-octet ServerHello. Decoded:

Bytes (hexadecimal)FieldValue
02handshake type2, server_hello
00 00 56length86 bytes
03 03legacy_version0x0303
a6 af 06 a4 ... 69 28random32 bytes
00legacy_session_id_echo length0, echoing the client's empty identifier
13 01cipher suiteTLS_AES_128_GCM_SHA256
00compressionnull
00 2eextensions length46
00 33 00 24 00 1d 00 20 c9 82 88 ... 1f 0fkey_sharethe server's x25519 public key
00 2b 00 02 03 04supported_versions0x0304: TLS 1.3 chosen

The arithmetic again: 2 + 32 + 1 + 2 + 1 + 2 + 46 = 86 bytes. An observer now knows the negotiated version and cipher suite and has seen both public keys, which is harmless: the shared secret cannot be computed from public keys alone, which is the point of the key exchange.

Everything after this is encrypted. RFC 8446 puts it in one line: "All handshake messages after the ServerHello are now encrypted." In the trace, the server's next flight contains an EncryptedExtensions message of 40 octets, its Certificate of 445 octets, a CertificateVerify and a Finished, but on the wire they appear as a single record that begins 17 03 03 02 a2: content type 23 (application data), version 0x0303, length 0x02a2 = 674 bytes of ciphertext, 679 octets in all. The client's Finished follows as a 58-octet record, 17 03 03 00 35, with 53 bytes of ciphertext. From here on, every record looks the same: type 23, version 0x0303, a length, and opaque bytes. The word "now" in the RFC's sentence marks what changed: the server's certificate, which identified the server to anyone watching, is inside the encrypted record.

What remains visible for the rest of the connection is the shape: how many records, how large, in which direction and with what timing, plus the TCP and IP headers around them. RFC 8546's point applies here. A 674-byte encrypted flight is roughly the size of a short certificate chain; a pattern of record sizes and pauses can say a good deal about whether the connection carries a page load, a video stream or a file transfer, which is the basis of encrypted traffic analysis.

QUIC: the same greeting inside UDP

QUIC carries the TLS 1.3 handshake inside its own packets over the User Datagram Protocol (UDP), and it encrypts more than TCP with TLS does: even most of its packet headers are protected. But the very first packets cannot use keys from the handshake, because the handshake has not happened yet. RFC 9001's solution is to derive the keys of the Initial packets from a value the client sends in the clear: Initial packets "use _AES_128_GCM with keys derived from the Destination Connection ID field of the first Initial packet sent by the client", and the derivation uses a fixed, published salt, 0x38762cf7f55934b34d179ae6a4c80cadccbb7f0a. The RFC draws the conclusion itself: "as it is trivial to determine the keys used for Initial packets, these packets are not considered to have confidentiality or integrity protection."

Appendix A of RFC 9001 shows the whole computation for a client that chose the Destination Connection ID 0x8394c8f03e515708. The protected packet begins:

c0 00000001 08 8394c8f03e515708 00 00 449e 7b9aec34 d1b1c98d ...

Read with the QUIC invariants of RFC 8999, which every version must keep: the first byte has its high bit set, so this is a long header; 00000001 is version 1; 08 is the length of the Destination Connection ID, and the eight bytes that follow are the identifier itself; 00 is an empty Source Connection ID; then, for an Initial packet of version 1, a token length of zero and a length field, followed by bytes that are protected. An observer sees the version and the connection identifiers in the clear.

Anyone who follows the RFC can then compute what the appendix prints: the initial secret, the client's key 1f369613dd76d5467730efcbe3b1a22d, its initialization vector and its header protection key, and remove the protection. Inside is a CRYPTO frame carrying a ClientHello of 237 bytes, and inside that, among the extensions, these bytes:

00 00 00 10 00 0e 00 00 0b 65 78 61 6d 70 6c 65 2e 63 6f 6d
00 10 00 07 00 05 04 61 6c 70 6e

The first line is a server_name extension holding the 11-byte host name 65 78 61 6d 70 6c 65 2e 63 6f 6d, "example.com"; the second is an ALPN extension offering one protocol, the 4-byte string "alpn". The same ClientHello also carries a key share, supported_versions with TLS 1.3, signature algorithms and a quic_transport_parameters extension (type 0x39). Its lengths check like the TCP one: eleven extensions totalling 192 bytes, a body of 2 + 32 + 1 + 6 + 2 + 2 + 192 = 237 bytes, and a CRYPTO frame whose length field, 0x00f1 = 241, covers the 4-byte handshake header plus those 237 bytes.

So QUIC hides the server name from nobody who implements RFC 9001, and inspection engines do implement it; what QUIC does change is everything after the handshake. Once the connection is established, packets use the short header, which shows the Destination Connection ID and little else. RFC 9000 defines one optional signal for on-path observers, the latency spin bit, with which they "can measure the time between two spin bit toggle events to estimate the RTT of a connection", the round-trip time (RTT), and requires endpoints to disable it on at least one in every 16 paths or connection identifiers so that connections without it are common. A firewall that tracked TCP sequence numbers and FIN flags to follow a connection's life has nothing comparable to follow in QUIC: no visible acknowledgements, no visible close.

Encrypted Client Hello: hiding the name

The server name in the ClientHello is what RFC 9849 (Eric Rescorla, Kazuho Oku, Nick Sullivan and Christopher A. Wood, March 2026) set out to remove. Its introduction calls the plaintext server name "perhaps the most sensitive information left unencrypted in TLS 1.3". With , the client encrypts its real ClientHello, the inner one, under a public key the server's provider has published, and sends it inside an outer ClientHello whose visible server_name names the provider's public client-facing server; the RFC says that name "SHOULD match the public name" in the published configuration, and allows the server to check it.

What an observer still learns, in the RFC's own account: "Usage of this mechanism reveals that a client is connecting to a particular service provider, but does not reveal which server from the anonymity set terminates the connection." And ECH alone is not enough, because the destination may still leak through plaintext DNS or a server address that hosts few names. The RFC is equally direct about firewalls. It treats "a middlebox that filters based on plaintext packet contents" as an example of a passive attacker in its threat model, and in its section on deployment it lists what organizations that depend on the name can do: "in managed enterprise settings, one approach may be to disable ECH entirely via group policy", and "another approach may be to intercept and decrypt client TLS connections".

What the observer sees, hides and infers

Putting the three cases side by side, for an observer on the path that does not decrypt:

ItemTCP with TLS 1.3QUIC version 1TLS 1.3 with ECH
Client and server addressesvisiblevisiblevisible
Ports and transportvisible (TCP)visible (UDP)visible
DNS name looked upvisible unless DNS is encryptedsamesame; ECH configuration is itself fetched through DNS
Connection open and closevisible (SYN, FIN, RST)handshake visible, close not visiblevisible (TCP)
Sequence numbers and acknowledgementsvisibleprotectedvisible (TCP)
Server namevisible in the ClientHelloreadable by anyone after deriving the Initial keysonly the provider's public name
ALPN offeredvisiblereadable as abovein the encrypted inner ClientHello
Cipher suites, extensions, fingerprintvisiblereadable as abovethe outer ClientHello's
Negotiated version and cipher suitevisible in the ServerHelloreadable in the server's Initialvisible
Server certificateencryptedencryptedencrypted
Application dataencryptedencryptedencrypted
Record and packet sizes, timingvisiblevisiblevisible

The last row never goes away. As RFC 8546 puts it, sequences of "interpacket timing and packet sizes" are part of the wire image whatever is encrypted.

What this means for a firewall

Four practical consequences follow from the bytes.

Policy by name works until ECH. Application identification on encrypted traffic mostly rests on the server name and the fingerprint, as Palo Alto Networks' , Fortinet's application control and the open-source engines do; the Learn article walks through the sequence. With ECH deployed by a provider, a name-based rule sees the provider, not the site, and can only allow or block the provider as a whole.

Content inspection requires being a party to the connection. Signatures on payloads, file scanning and data loss prevention need the plaintext, and the only standards-compliant way to get it is to terminate TLS, which many products still call SSL inspection after the protocol's predecessor, the Secure Sockets Layer (SSL). RFC 8446 states the rule for a middlebox that does so: it "MUST behave as a compliant TLS server (to the original client)" and "as a compliant TLS client (to the original server), including verifying the original server's certificate", and must "generate its own ClientHello containing only parameters it understands". How organizations do that with a private certificate authority, and what breaks, is explained in SSL Forward Proxy: How Outbound TLS Interception Works and What Breaks It.

Passing traffic you do not understand means not touching it. The same section of RFC 8446 covers the box that does not terminate: "A middlebox which forwards ClientHello parameters it does not understand MUST NOT process any messages beyond that ClientHello. It MUST forward all subsequent traffic unmodified." The middleboxes that broke early TLS 1.3 deployments were the ones that tried to interpret what came after.

QUIC is a decision, not a detail. A firewall that cannot follow QUIC sees UDP flows on port 443 whose handshakes it may parse but whose life it cannot track in the way it tracks TCP. Some organizations block QUIC so that browsers fall back to TCP with TLS, which their devices understand; others accept classification by name at the handshake. Either way, it should be chosen deliberately.

The Internet's has taken a position on the underlying tension. RFC 7258 (May 2014), a Best Current Practice, opens: "Pervasive monitoring is a technical attack that should be mitigated in the design of IETF protocols, where possible." RFC 8404, written by operators four years later, records what that costs them, including deep packet inspection for "differential treatment" in mobile networks. The protocols in this post are the result: they keep the minimum in the clear that the connection needs, and every field that remains is one that somebody, somewhere, still relies on reading.

Sources