Capture Modes
For tls, gotls and gnutls, --model (-m) chooses what the collector produces. Start with the question you want the capture to answer. You can inspect the same HTTPS request live, record only its TLS secrets, or save its packet history for Wireshark.
| Question | Mode | What you can verify |
|---|---|---|
| What request did the application send? | Text | Find the decoded path, headers or body in a TEXT event. |
| Can I decrypt a trace recorded elsewhere? | Keylog | Load the NSS key log and the matching packets into Wireshark. |
| Which packets carried the request? | pcapng | Follow the decrypted stream in a single file containing packets and secrets. |
Save and deliver results
--output controls terminal, file and TCP destinations for runtime logs and capture events. In native keylog and pcapng modes, use --keylogfile or --pcapfile to name the required local file. The local --output file then contains runtime logs only. In packet-based text mode you may also request either native file while continuing to receive decoded TEXT events. Output contract
- Choosing text, keylog or pcapng compares prerequisites and filenames.
- Output destinations and subscriptions covers Protobuf v2, remote receivers and migration from the v2.8 flags.
- Wireshark decryption workflows shows how to check that the recorded packets and secrets belong to the same test connection.