Inside the Wire

A guide in a nutshell

What does the network actually see?

Every packet you send crosses routers you don't own. Some of them just forward it. Others look inside. This page walks through the two main ways operators classify traffic, deep packet inspection and behavioral analysis, with small experiments you can poke at.

01Packets have layers, and each one leaks something different.
02Encryption hides content but not everything around it.
03When content is hidden, timing and size still tell a story.

1 A packet is an onion

A router only needs the outer layers to do its job. Shallow inspection stops at addresses and ports. Deep inspection keeps reading into the application data. Switch modes and click a layer to see what an observer learns from it.

2 The handshake speaks in plain text

TLS encrypts your data, but the very first message, the ClientHello, is sent before any keys exist. It names the site you want (SNI), the protocols you support (ALPN) and a list of ciphers and extensions in a particular order. That order differs between browsers, libraries and apps, so it works as a fingerprint (JA3 / JA4 style).

A fingerprint alone says what kind of software is talking, not what it says. An observer compares it to known lists: a "browser" fingerprint talking to a site that only scripts ever visit is unusual, and unusual is what gets a second look.

3 Signature matching

Classic DPI is pattern matching. Unencrypted protocols announce themselves in their first bytes: a banner, a magic string, a header. Type or load a payload below and watch which rules fire.

Rule set

    4 Behavioral analysis

    When content is encrypted and the handshake looks ordinary, there is still the shape of the conversation: how big the packets are, which direction they go, how they are spaced in time and how long the session lasts. Statistical models (and increasingly, machine learning) classify flows from these features alone.

    client → server server → client
    time → (bar height = packet size, up = upload, down = download)

    5 Active probing

    Passive observation can be combined with action. If a server looks interesting, an observer may connect to it themselves and see how it responds: does it serve a normal website? Does it answer garbage input the way a regular web server would? Does its certificate match its name? A server that behaves like an ordinary website to anyone who asks is, from the outside, an ordinary website.

    Observeflow features cross a threshold
    Probereplay, malformed requests, plain HTTPS visit
    Compareresponses vs. known software behavior
    Decideallow, throttle, or block

    6 Check yourself