Watch a page load, step by step.Watch a page load, packet by packet.

See what your computer says to the internet when you open a website, in plain words, from the first question to the last goodbye.Type a site, or open a Wireshark capture, and follow one visit from the DNS lookup to the last goodbye, with the real fields lit in every packet.

Or try

Only the address lookup is real: the name you type goes to a public DNS service (Google’s, or Cloudflare’s if that fails), the same question your browser asks. What happens after it is modelled.

Have Wireshark?

One message from the sample visit to example.com, taken apart. Each layer wraps the one above it, like envelopes inside envelopes.One packet from the sample visit to example.com, exploded into its headers, outermost at the bottom. Sizes are from the packet.Point at a layer, or tap it, to see what it carries.

One visit to example.com

This visit is 32 messages sent back and forth in 1.092 s, told in 11 steps. The sample is made up for this page, not anyone's real traffic.This visit is all 32 packets in the file, over 1.092 s, told in 13 steps. The sample is generated for this page, not anyone's real traffic.

0.000 s from the first packet

2 sent, 0 receivedYour computerYour machine192.168.1.24, port 53412
0 sent, 2 receivedAddress helperDNS resolver192.168.1.1, port 53
0 sent, 0 receivedexample.com203.0.113.10

Each bar is one message, in order; taller ones carry more. Below them, the 11 steps, with this one raised.Every packet in the file, in order, and below them the 13 steps.

Asking for the addressAsking for the address

Your computer only knows the name example.com. Computers find each other by number, so it asks a helper called a : “what is the number for example.com?”Your machine only knows the name example.com. It sends a short message to 192.168.1.1 on 53, asking for the A and AAAA records. The 0x3e1f lets it match the answer to the question.

What’s inside this messageThe packet

Sent by your computer to the address helper. It says “Where is it?”Fields

Below are the facts read straight out of this message: what kind it is, who it is for, and so on.Decoded from the packet’s bytes. Point at one to light the bytes it came from.

Name being looked upName asked for
example.com
Kind of address wantedRecord type
A
Number to match the answerTransaction ID
0x3e1f
Door on the receiverDestination port
53

The envelopes it travels in, outermost firstHeaders

Each layer adds a small label to the front of the message, so the next hop knows what to do with it. A wider block is a bigger label.Each protocol’s header, outermost first. Width is its share of the bytes; point at one to light its bytes.

Local deliveryEthernet14Internet addressIPv420Quick noteUDP8The questionDNS29
See the raw numbers

The raw numbersBytes

This is the whole message exactly as it travels: each pair of characters is one number, a byte, read left to right like a book. The lit ones are the lines above. Point at any of them to see which line it belongs to.The frame in hex, 16 bytes a row, offset on the left. Lit cells are the fields above; point at either to match them.

025e10000001025e100000240800450000391c46400040119b04c0a80118c0a80101d0a4003500259dd33e1f01000001000000000000076578616d706c6503636f6d0000010001
2 packets; this one is packet 1, 71 bytes, at 0.000 s

Find it in Wireshark dns.flags.response == 0

Go deeper

Why UDP

A question and its answer each fit in one small datagram, so DNS skips the handshake TCP would need. Answers too large for UDP are fetched again over TCP.

Who answers

Usually a resolver on your router or at your provider. If it has no fresh copy, it asks the root servers, then the .com servers, then the site's own name servers.

Readable by the path

Classic DNS is not encrypted, so anyone on the network sees every name you look up. DNS over HTTPS wraps the same questions in an encrypted connection.

The address comes backThe address comes back

The helper answers in 17 ms. example.com lives at 203.0.113.10. That number is the website's address on the internet, like a street address. Your computer remembers it for 60 minutes, so next time it can skip this step.192.168.1.1 answers in 17 ms with the same . example.com is at 203.0.113.10. The answer may be kept for 3,600 seconds before asking again.

What’s inside this messageThe packet

Sent by the address helper to your computer. It says “Here it is”Fields

Below are the facts read straight out of this message: what kind it is, who it is for, and so on.

The addressAnswer (A)
203.0.113.10
Remember it forTime to live
3600 s
Number to match the answerTransaction ID
0x3e1f
Question or answerType
Response, no error

The envelopes it travels in, outermost firstHeaders

Each layer adds a small label to the front of the message, so the next hop knows what to do with it. A wider block is a bigger label.

Local deliveryEthernet14Internet addressIPv420Quick noteUDP8The questionDNS45
See the raw numbers

The raw numbersBytes

This is the whole message exactly as it travels: each pair of characters is one number, a byte, read left to right like a book. The lit ones are the lines above. Point at any of them to see which line it belongs to.

025e10000024025e100000010800450000491c4840003811a2f2c0a80101c0a801180035d0a40035ef273e1f81800001000100000000076578616d706c6503636f6d0000010001c00c0001000100000e100004cb00710a
2 packets; this one is packet 3, 87 bytes, at 0.017 s

Find it in Wireshark dns.flags.response == 1

Go deeper

A and AAAA

An A record holds an IPv4 address and an AAAA record an IPv6 one. Browsers often ask for both and race the two, using whichever connects first.

Time to live

The TTL is how many seconds the answer may be kept. Until it runs out, the next visit skips this lookup entirely.

Matching the answer

The reply must carry the same transaction ID and come back to the same port. Random IDs and ports make a forged answer much harder to slip in.

Saying helloKnock: SYN

Now your computer knows where example.com is, but it has to say hello before anything else. It sends three tiny messages to agree to talk: “can we connect?”, “yes, can we?”, “yes!”. The whole greeting took 21 ms.To open a connection to example.com on 80, your machine sends a packet with only the flag set. It picks a free port, 50812, for its end, and a random starting , 2913442071. Every byte it sends from now on is counted from there. It also says it can take segments of up to 1,460 bytes.

What’s inside this messageThe packet

Sent by your computer to example.com. It says “Hello?”Fields

Below are the facts read straight out of this message: what kind it is, who it is for, and so on.

Kind of messageFlags
Hello? (SYN)SYN
Where it starts countingSequence number
2913442071
Door on the senderSource port
50812
Door on the receiverDestination port
80
Biggest piece it acceptsMaximum segment size
1460 bytes

The envelopes it travels in, outermost firstHeaders

Each layer adds a small label to the front of the message, so the next hop knows what to do with it. A wider block is a bigger label.

Local deliveryEthernet14Internet addressIPv420ConversationTCP32
See the raw numbers

The raw numbersBytes

This is the whole message exactly as it travels: each pair of characters is one number, a byte, read left to right like a book. The lit ones are the lines above. Point at any of them to see which line it belongs to.

025e10000001025e100000240800450000341c4a4000400620afc0a80118cb00710ac67c0050ada79917000000008002faf069ca0000020405b40103030704020000
Packet 5, 66 bytes, at 0.018 s

Find it in Wireshark tcp.flags.syn == 1 && tcp.flags.ack == 0

Go deeper

A random start

Each side starts counting from an unpredictable number, so someone off the path cannot guess the next one and inject data into the connection.

Two kinds of port

The server port names the service: 80 for HTTP, 443 for HTTPS. The client port is borrowed for this one connection and handed back when it closes.

Said only once

Options such as the maximum segment size and window scaling ride on the SYN. They cannot be added later in the connection.

Answer: SYN-ACKAnswer: SYN-ACK

21 ms later the server replies with and . Its acknowledgment number, 2913442072, is your plus one: proof it heard you. It picks its own random start, 1180228937. That wait is one full round trip across the network.

What’s inside this messageThe packet

Sent by example.com to your computer. It says “Yes, hello”Fields

Below are the facts read straight out of this message: what kind it is, who it is for, and so on.

Kind of messageFlags
Yes, hello (SYN, ACK)SYN, ACK
Next number it expectsAcknowledgment number
2913442072
Where it starts countingSequence number
1180228937

The envelopes it travels in, outermost firstHeaders

Each layer adds a small label to the front of the message, so the next hop knows what to do with it. A wider block is a bigger label.

Local deliveryEthernet14Internet addressIPv420ConversationTCP32
See the raw numbers

The raw numbersBytes

This is the whole message exactly as it travels: each pair of characters is one number, a byte, read left to right like a book. The lit ones are the lines above. Point at any of them to see which line it belongs to.

025e10000024025e100000010800450000341c4b4000380628aecb00710ac0a801180050c67c4658dd49ada799188012fe8842bb0000020405780103030704020000
Packet 6, 66 bytes, at 0.040 s

Find it in Wireshark tcp.flags.syn == 1 && tcp.flags.ack == 1

Go deeper

Why plus one

The SYN flag itself takes up one sequence number. Acknowledging seq + 1 says: I have everything up to and including your SYN.

A free round-trip time

The gap between SYN and SYN-ACK is the time for one trip there and back. Wireshark shows it on every packet of the connection as iRTT.

When nobody answers

A closed port answers with RST. A firewall that drops the SYN answers nothing, and the client tries again after a second, then longer.

Agreed: ACKAgreed: ACK

Your machine acknowledges the server's number plus one, 1180228938. Both sides now know where the other is counting from, and the connection is open. Three packets, 21 ms, before a single byte of the page.

What’s inside this messageThe packet

Sent by your computer to example.com. It says “Got it”Fields

Below are the facts read straight out of this message: what kind it is, who it is for, and so on.

Kind of messageFlags
Got it (ACK)ACK
Next number it expectsAcknowledgment number
1180228938
Where it starts countingSequence number
2913442072

The envelopes it travels in, outermost firstHeaders

Each layer adds a small label to the front of the message, so the next hop knows what to do with it. A wider block is a bigger label.

Local deliveryEthernet14Internet addressIPv420ConversationTCP20
See the raw numbers

The raw numbersBytes

This is the whole message exactly as it travels: each pair of characters is one number, a byte, read left to right like a book. The lit ones are the lines above. Point at any of them to see which line it belongs to.

025e10000001025e100000240800450000281c4c4000400620b9c0a80118cb00710ac67c0050ada799184658dd4a5010faf085e80000
Packet 7, 54 bytes, at 0.040 s

Find it in Wireshark tcp.flags.syn == 0 && tcp.flags.ack == 1 && tcp.len == 0

Go deeper

Three, not two

Each side has to hear its own number confirmed. Two packets would leave the server unsure that its SYN arrived.

Relative numbers

Wireshark shows sequence numbers counted from zero by default. The raw values on this page are what is really in the bytes.

The cost of a new connection

Every new connection spends a round trip before any data moves. That is why browsers keep connections open and reuse them.

Asking for the pageAsking for the page

This connection has no , so anyone on the way could read it. Your computer asks example.com for its page.Plain , readable by anyone on the path: GET /, with Host: example.com. The Host line matters because one address can serve many sites. 93 bytes of text.

What’s inside this messageThe packet

Sent by your computer to example.com. It says “Page please”Fields

Below are the facts read straight out of this message: what kind it is, who it is for, and so on.

What it asks forRequest
GET /
Which siteHost
example.com
Which browserUser agent
packet-story-sample/1.0

The envelopes it travels in, outermost firstHeaders

Each layer adds a small label to the front of the message, so the next hop knows what to do with it. A wider block is a bigger label.

Local deliveryEthernet14Internet addressIPv420ConversationTCP20The requestHTTP93
See the raw numbers

The raw numbersBytes

This is the whole message exactly as it travels: each pair of characters is one number, a byte, read left to right like a book. The lit ones are the lines above. Point at any of them to see which line it belongs to.

025e10000001025e100000240800450000851c4d40004006205bc0a80118cb00710ac67c0050ada799184658dd4a5018faf070ae0000474554202f20485454502f312e310d0a486f73743a206578616d706c652e636f6d0d0a557365722d4167656e743a207061636b65742d73746f72792d73616d706c652f312e300d0a4163636570743a20746578742f68746d6c0d0a0d0a
Packet 8, 147 bytes, at 0.040 s

Find it in Wireshark http.request

Go deeper

Lines of text

An HTTP/1.1 request is a request line, then headers, one per line, then a blank line. You can read it straight out of the bytes.

The Host line

HTTP/1.1 requires the Host header, because one address can serve many sites. It is how the server knows which one you meant.

Everything is visible

On port 80 nothing is encrypted: the path, cookies and any form you send can be read and changed by anyone on the way.

Told to go elsewhereSent somewhere else

The server does not send the page. It says “go to https://example.com/” instead. That is the secure version of the site, so the browser starts again, this time with the .The server answers 301 Moved Permanently after 23 ms. It sends no page, only a Location: https://example.com/. Plain was a detour: the browser has to start again, this time .

What’s inside this messageThe packet

Sent by example.com to your computer. It says “Here you go”Fields

Below are the facts read straight out of this message: what kind it is, who it is for, and so on.

The answerStatus
301 Moved Permanently
Go here insteadLocation
https://example.com/

The envelopes it travels in, outermost firstHeaders

Each layer adds a small label to the front of the message, so the next hop knows what to do with it. A wider block is a bigger label.

Local deliveryEthernet14Internet addressIPv420ConversationTCP20The requestHTTP104
See the raw numbers

The raw numbersBytes

This is the whole message exactly as it travels: each pair of characters is one number, a byte, read left to right like a book. The lit ones are the lines above. Point at any of them to see which line it belongs to.

025e10000024025e100000010800450000901c4f40003806284ecb00710ac0a801180050c67c4658dd4aada799755018fe88ceca0000485454502f312e3120333031204d6f766564205065726d616e656e746c790d0a4c6f636174696f6e3a2068747470733a2f2f6578616d706c652e636f6d2f0d0a436f6e74656e742d4c656e6774683a20300d0a436f6e6e656374696f6e3a20636c6f73650d0a0d0a
Packet 10, 158 bytes, at 0.063 s

Find it in Wireshark http.response

Go deeper

Status codes

The three digits say what happened: 2xx it worked, 3xx look elsewhere, 4xx your mistake, 5xx the server's.

A permanent move

A 301 says the page has moved for good. Browsers may remember it and skip the old address next time.

Closing the gap

Until the browser reaches HTTPS, this redirect itself could be tampered with. HSTS tells the browser never to use plain HTTP for the site again.

Closing the plain connectionClosing politely, port 80

When both sides are finished they say goodbye politely, one direction at a time. The server goes first, and it all ends in 3 messages.The server sends : nothing more to say. Each side closes its own direction and acknowledges the other's FIN, so the connection on 80 ends in 3 packets, 21 ms from first FIN to last .

What’s inside this messageThe packet

Sent by example.com to your computer. It says “Goodbye”Fields

Below are the facts read straight out of this message: what kind it is, who it is for, and so on.

Kind of messageFlags
Goodbye (FIN, ACK)FIN, ACK
Where it starts countingSequence number
1180229042
Next number it expectsAcknowledgment number
2913442165

The envelopes it travels in, outermost firstHeaders

Each layer adds a small label to the front of the message, so the next hop knows what to do with it. A wider block is a bigger label.

Local deliveryEthernet14Internet addressIPv420ConversationTCP20
See the raw numbers

The raw numbersBytes

This is the whole message exactly as it travels: each pair of characters is one number, a byte, read left to right like a book. The lit ones are the lines above. Point at any of them to see which line it belongs to.

025e10000024025e100000010800450000281c514000380628b4cb00710ac0a801180050c67c4658ddb2ada799755011fe88818a0000
3 packets; this one is packet 12, 54 bytes, at 0.063 s

Find it in Wireshark tcp.flags.fin == 1

Go deeper

Each side hangs up

A FIN closes one direction only. The other side can keep sending until it sends its own FIN.

Often three, not four

The ACK for one FIN and the second FIN often travel in the same packet, so a close takes three packets instead of four.

Waiting afterwards

The side that closed first waits a while before it reuses the same port pair, in case a late packet from the old connection turns up.

Another connectionA new connection, port 443

A web page often needs more than one connection, so your computer says hello again to example.com on 443, with the same three-message greeting. It took 21 ms.A fresh connection, so the same three packets again: , SYN-, ACK, from 50814 to example.com on port 443. New random starting numbers on both sides, 21 ms in all.

What’s inside this messageThe packet

Sent by your computer to example.com. It says “Hello?”Fields

Below are the facts read straight out of this message: what kind it is, who it is for, and so on.

Kind of messageFlags
Hello? (SYN)SYN
Door on the receiverDestination port
443
Where it starts countingSequence number
3407712250

The envelopes it travels in, outermost firstHeaders

Each layer adds a small label to the front of the message, so the next hop knows what to do with it. A wider block is a bigger label.

Local deliveryEthernet14Internet addressIPv420ConversationTCP32
See the raw numbers

The raw numbersBytes

This is the whole message exactly as it travels: each pair of characters is one number, a byte, read left to right like a book. The lit ones are the lines above. Point at any of them to see which line it belongs to.

025e10000001025e100000240800450000341c544000400620a5c0a80118cb00710ac67e01bbcb1d8ffa000000008002faf054040000020405b40103030704020000
3 packets; this one is packet 15, 66 bytes, at 0.085 s

Find it in Wireshark tcp.flags.syn == 1 && tcp.port == 443

Go deeper

A new port, a new connection

A TCP connection is defined by both addresses and both ports. Moving from port 80 to 443 means starting again from scratch.

Fresh numbers

The new connection picks new random starting numbers on both sides. Nothing carries over from the first one.

Avoidable next time

A site can tell the browser to use HTTPS from the start. Then the plain HTTP connection and its redirect never happen.

Asking for a secret chatHello, in the clear

Before sending anything private, your computer asks the site to set up a . This first message still names the site, example.com, in plain view, because the server has to know who is being asked.Before anything is , your machine sends a ClientHello. It names the site it wants, example.com, in the field (SNI), so anyone on the path can read it. It offers 9 and  1.3 or TLS 1.2, and the protocols h2 or http/1.1.

What’s inside this messageThe packet

Sent by your computer to example.com. It says “Secret chat?”Fields

Below are the facts read straight out of this message: what kind it is, who it is for, and so on.

Site it asks for (anyone can read this)Server name (SNI)
example.com
Which helloHandshake
ClientHello
Versions of the code it knowsVersions offered
TLS 1.3, TLS 1.2
Ways of scrambling offeredCipher suites offered
9
Web language it wantsProtocols offered (ALPN)
h2, http/1.1

The envelopes it travels in, outermost firstHeaders

Each layer adds a small label to the front of the message, so the next hop knows what to do with it. A wider block is a bigger label.

Local deliveryEthernet14Internet addressIPv420ConversationTCP20Secret-chat helloTLS215
See the raw numbers

The raw numbersBytes

This is the whole message exactly as it travels: each pair of characters is one number, a byte, read left to right like a book. The lit ones are the lines above. Point at any of them to see which line it belongs to.

025e10000001025e100000240800450000ff1c57400040061fd7c0a80118cb00710ac67e01bbcb1d8ffb2cd0d5025018faf03f56000016030100d2010000ce0303ced7d5f3f298c70d4f70584774dc88069b68b05946341bd1b42d4f49c13a34db20049fcf23f854893bb56a5e1bb8ad48079de0eb4ee6a10c1097aff6dd80ea3de10012130113021303c02bc02fc02cc030cca9cca80100007300000010000e00000b6578616d706c652e636f6d000a00080006001d00170018000d000a000804030804040105030010000e000c02683208687474702f312e31002b00050403040303003300260024001d0020aa8e09362b7d7235ef7dde58cb432ed60556a2186d571a8010bdd0ae9a34949a
Packet 18, 269 bytes, at 0.107 s

Find it in Wireshark tls.handshake.type == 1

Go deeper

The name in the clear

SNI lets one address host many HTTPS sites, but it travels before any key exists. Encrypted Client Hello is the newer way to hide it.

A guess that saves time

In TLS 1.3 the client sends a key share in its very first message, betting on what the server supports. A good guess saves a whole round trip.

An old version number

The record header claims TLS 1.0 so old network boxes let it through. The versions really offered are in the supported versions extension.

Agreeing the secret codeThe server picks

The server picks a way of scrambling messages that both sides can use. From here on everything is , even the server's own ID card.The ServerHello chooses one option from each list: TLS_AES_128_GCM_SHA256 over  1.3. Both sides mix their key shares into the same secret without ever sending it. From the next record on, everything is , even the server's certificate.

What’s inside this messageThe packet

Sent by example.com to your computer. It says “Agreed”Fields

Below are the facts read straight out of this message: what kind it is, who it is for, and so on.

Which helloHandshake
ServerHello
Way of scrambling chosenCipher suite chosen
TLS_AES_128_GCM_SHA256
Versions of the code it knowsVersion chosen
TLS 1.3

The envelopes it travels in, outermost firstHeaders

Each layer adds a small label to the front of the message, so the next hop knows what to do with it. A wider block is a bigger label.

Local deliveryEthernet14Internet addressIPv420ConversationTCP20Secret-chat helloTLS133
See the raw numbers

The raw numbersBytes

This is the whole message exactly as it travels: each pair of characters is one number, a byte, read left to right like a book. The lit ones are the lines above. Point at any of them to see which line it belongs to.

025e10000024025e100000010800450000ad1c59400038062827cb00710ac0a8011801bbc67e2cd0d502cb1d90d25018fe88d3960000160303007a0200007603038b2c55c46c99067760dd6025dd89c16be475fba24d69608515b5f949a1ce78ae20049fcf23f854893bb56a5e1bb8ad48079de0eb4ee6a10c1097aff6dd80ea3de1130100002e002b0002030400330024001d0020f2a9e29ef02e01a25b7a761abcccef76ecf61fdbaac25e6701f347194e6bf28c140303000101
Packet 20, 187 bytes, at 0.132 s

Find it in Wireshark tls.handshake.type == 2

Go deeper

Keys without sending keys

Each side combines its own secret with the other's public key share and arrives at the same result. The shared secret never crosses the wire.

The certificate is hidden

In TLS 1.3 the certificate is sent encrypted, so the path cannot see which certificate the server showed. In TLS 1.2 it was readable.

A record that does nothing

The short change cipher spec record after the hello has no job in TLS 1.3. It is there to keep older middleboxes from dropping the connection.

Scrambled trafficSealed traffic

From here on everything is . Someone listening can see that 2 messages went out and 4 came back, about 4.1 KB in all, but not what is inside them.From here on every record says only "application data" and a length. 2 packets go up (161 bytes) and 4 come down (4.1 KB). The path can see sizes and timing, never the page, the cookies or the address within the site.

What’s inside this messageThe packet

Sent by example.com to your computer. It says “Scrambled”Fields

Below are the facts read straight out of this message: what kind it is, who it is for, and so on.

What it carriesRecord type
Application data
Where it starts countingSequence number
751883655
Size of the whole messageTotal length
1225 bytes

The envelopes it travels in, outermost firstHeaders

Each layer adds a small label to the front of the message, so the next hop knows what to do with it. A wider block is a bigger label.

Local deliveryEthernet14Internet addressIPv420ConversationTCP20Secret-chat helloTLS1185
See the raw numbers

The raw numbersBytes

This is the whole message exactly as it travels: each pair of characters is one number, a byte, read left to right like a book. The lit ones are the lines above. Point at any of them to see which line it belongs to.

025e10000024025e100000010800450004c91c5a40003806240acb00710ac0a8011801bbc67e2cd0d587cb1d90d25018fe881cd30000170303049c4a1533e1872668fcf3fcf1e3750c0626590b8c86e925dc60e52e5986378a8ee2337d877a228283730e3fb294ab426373e73d8b3b8406cd64169a4c4a9c0d2fa190d7d76541a3370bf40db774e47c46f5b9432b17113523b3840e1ff41eadce1b421c0ed49992d0a7377201133727c83a8cb7ad5ed971dd7e51413d6c7ee91240fe8a44d18e404a9f6c1e6a3a75d4598e935b2ed87f9d9034f31e2cf9e10c12a032e6447a12e15f0cec536a4179a6b50684432ac96c98ba59f35bf6dcbd4ff1f6d9aff0ddee0d0f337afca6efdf35df66030271d54f9aeeddce68c89784640581e0c057a5d6fa470c43422586abeefe571fefca8aa11469ede4e9e6153d387d39563dd9bcc0c61d43c95de9d091d3802c85f5b42b16238564dc78a63714b07f9ce5114f390348c4921037934f3006489db7b78f144fb32f76398bf1d51c68de5e1372a19a55

And 128 more bytes not shown.

6 packets; this one is packet 21, 1,239 bytes, at 0.132 s

Find it in Wireshark tls.record.content_type == 23

Go deeper

What still shows

The addresses, the ports, the SNI from the hello, and the size and timing of every record. From those alone, a watcher can often guess what kind of page it was.

One type for everything

TLS 1.3 labels every record as application data and hides the real type inside the encryption, so even handshake messages look the same.

Reading your own

Browsers can write their session keys to a file. Wireshark can use that file to decrypt your own captures, never anyone else's.

Closing the secure connectionClosing politely, port 443

When both sides are finished they say goodbye politely, one direction at a time. Your computer goes first, and it all ends in 3 messages.Your machine sends : nothing more to say. Each side closes its own direction and acknowledges the other's FIN, so the connection on 443 ends in 3 packets, 21 ms from first FIN to last .

What’s inside this messageThe packet

Sent by your computer to example.com. It says “Goodbye”Fields

Below are the facts read straight out of this message: what kind it is, who it is for, and so on.

Kind of messageFlags
Goodbye (FIN, ACK)FIN, ACK
Where it starts countingSequence number
3407712627
Next number it expectsAcknowledgment number
751887891

The envelopes it travels in, outermost firstHeaders

Each layer adds a small label to the front of the message, so the next hop knows what to do with it. A wider block is a bigger label.

Local deliveryEthernet14Internet addressIPv420ConversationTCP20
See the raw numbers

The raw numbersBytes

This is the whole message exactly as it travels: each pair of characters is one number, a byte, read left to right like a book. The lit ones are the lines above. Point at any of them to see which line it belongs to.

025e10000001025e100000240800450000281c634000400620a2c0a80118cb00710ac67e01bbcb1d91732cd0e6135011faf07f680000
3 packets; this one is packet 30, 54 bytes, at 1.071 s

Find it in Wireshark tcp.flags.fin == 1

Go deeper

Each side hangs up

A FIN closes one direction only. The other side can keep sending until it sends its own FIN.

Often three, not four

The ACK for one FIN and the second FIN often travel in the same packet, so a close takes three packets instead of four.

Waiting afterwards

The side that closed first waits a while before it reuses the same port pair, in case a late packet from the old connection turns up.

Check your understanding

Three quick questions on the story above. Pick an answer to see why.

  1. Why does your computer ask a DNS server first?

  2. On a secure HTTPS site, what can someone on your Wi‑Fi still see?

  3. Why do TCP’s three hello messages come before the page?

Your capture stays on your device.

The file is read by this page, in your browser. Nothing is uploaded, stored or sent anywhere, so you can open a capture of your own traffic without it leaving your machine.

Open your own capture

Drop a .pcap or .pcapng file here

Accepts .pcap and .pcapng files (Wireshark or tcpdump), up to 200 MB. Read here, never uploaded. No file yet? Download the sample capture to try it.

Make one in Wireshark

  1. Open Wireshark and double-click your Wi‑Fi or Ethernet connection to start capturing.
  2. In your browser, visit a site you have not opened today, so the lookup is not already cached.
  3. Press the red square to stop, then choose File, Save As, and keep the pcapng format.
  4. Drop the file here. The story picks the visit with the most to show; you can choose another below.

Only capture traffic that is yours, on a network you are allowed to watch.

Every visit in this capture

A visit is one name looked up, then the connections made to it. The sample holds one. A capture of your own browsing holds dozens, and each can be told.

Or play an example capture

  • A secure sitelearn.example.org, straight to TLS, 23 packets
  • Just a lookupshop.example.net, a DNS question and answer, 2 packets
  • A busy page3 visits, 867 packets, with QUIC and a reset

Where the facts come from

Every claim on this page goes back to a standard or a guide. Open a topic to see them.

Looking up the name9 sources
Opening and closing TCP11 sources
Plain HTTP6 sources
TLS and QUIC13 sources
Wireshark7 sources
The files and the sample6 sources