# What is TCP fingerprinting?

> TCP fingerprinting reads the operating system from a connection's first packet: TTL, window size, MSS, option order. Behind a proxy, it reads the proxy's.

Source: https://mosaicbrowser.com/glossary/tcp-fingerprinting

## TCP fingerprinting: the operating system in the first packet

TCP fingerprinting is identifying the operating system that opened a connection from how its TCP/IP stack builds packets, chiefly the first SYN: initial TTL, window size, maximum segment size and option order. It needs no script, and behind a proxy it describes the proxy's machine, not yours.

![TCP fingerprinting reads the machine that dialled, drawn as a mosaic of tiles](https://mosaicbrowser.com/covers/tcp-fingerprinting.webp)

Every connection to a website starts with a SYN packet, before TLS, before HTTP, before any page exists. The operating system builds that packet, and each family builds it a little differently. TCP fingerprinting is reading those differences. It is the lowest layer a site can fingerprint, and the one a browser has no say in.

## How TCP fingerprinting works

The best-known tool is p0f, whose README describes it as "purely passive": it identifies "the operating system and software on both endpoints of a vanilla TCP connection" from "often as little as a single normal SYN" ([p0f v3 README](https://lcamtuf.coredump.cx/p0f3/README), read 2 November 2026). For TCP it reads the client's SYN and the server's SYN+ACK, "paying attention to factors such as the ordering of TCP options, the relation between maximum segment size and window size, the progression of TCP timestamps", and about a dozen implementation quirks.

The fields that do most of the work:

| Field | What it says |
| --- | --- |
| Initial TTL | "Almost all operating systems use 64, 128, or 255", says the README. Windows starts at 128; macOS, Linux and Android at 64 |
| Window size and scale | each stack has its own default, often a multiple of the MSS |
| MSS | the largest segment the sender accepts, set by its network link |
| TCP option order | which options appear, in which order: MSS, SACK, timestamps, window scale, NOPs |
| Don't-fragment bit, IP ID | small quirks that separate versions of one family |

A server sees the TTL after it has been reduced by each hop, so it rounds up to the nearest common starting value: a packet arriving with TTL 116 left a machine that started at 128.

Mosaic is a desktop app

Email yourself the link and open it on your computer.

[How it works: Machines that exist](https://mosaicbrowser.com/features/real-fingerprints)

## What TCP fingerprinting catches

On its own, the operating system is a weak fingerprint, because one OS covers hundreds of millions of people. Its value is the same as every other low layer: agreement. A browser that says Windows in its User-Agent, client hints and fonts, over a connection whose SYN came from a Linux stack, has a contradiction that no JavaScript produced. That is the network half of an [OS fingerprint mismatch](https://mosaicbrowser.com/glossary/os-fingerprint-mismatch).

The p0f README names a second use: "inconsistencies in the data collected from various sources, or in the data from the same source obtained over time, may be indicative of address translation, proxying, or just plain trickery." Fingerprints that change from one connection to the next, from one address, suggest several machines behind it.

## Why a proxy changes your TCP fingerprint

This is the part most explanations skip. With an HTTP proxy or a [SOCKS5 proxy](https://mosaicbrowser.com/glossary/socks5-proxy), your computer opens a TCP connection to the proxy, and the proxy opens a separate one to the site. The site's server only ever sees the second. Its SYN, TTL and options come from whatever machine the proxy's server is: a Linux server for most datacentre proxies, and for a [residential proxy](https://mosaicbrowser.com/glossary/residential-proxy), whatever device the seller's network routes you through.

So the TCP fingerprint a site reads for a proxied visitor describes the proxy's server, and it can disagree with the browser in either direction. A VPN usually works the other way. Most forward your own packets with the address rewritten, so the site sees your operating system's SYN, often with a smaller MSS because the VPN's own wrapping takes some of each packet, and a smaller MSS is itself a hint that a VPN is there.

## How to see a TCP fingerprint

Run p0f on a machine you control and connect to it, or open a public page that reports the operating system it guessed from your connection. Compare the guess with what your browser claims. Then run the same page through your proxy: the guess will usually change to the proxy server's system, which is the point above in one reading.

![Routing Mosaic launches through Proxyman, Charles or mitmproxy to read their traffic](https://mosaicbrowser.com/shots/settings-network.png)
*Settings › Network, where traffic routing is set*

## How Mosaic handles TCP fingerprinting

Mosaic does not change TCP fingerprints, and no browser can, because the kernel builds the packets. On a direct connection, a profile's SYN comes from the computer it runs on, and that is one reason the computer's own OS is a Mosaic profile's strongest match: a macOS profile on a Mac sends a macOS stack under a macOS claim. The same reasoning keeps the TLS and HTTP/2 handshakes as Chrome's own; [TLS fingerprinting](https://mosaicbrowser.com/glossary/tls-fingerprinting) has the measurement. Behind a proxy, the TCP fingerprint belongs to the proxy's server, and Mosaic does not read or score it. We have not measured how often sites act on a TCP-versus-browser mismatch, so we will not claim which IPs avoid one. What Mosaic does check about an IP, before a profile opens, is in [proxy detection](https://mosaicbrowser.com/glossary/proxy-detection).

## Sources

1. [p0f v3 README (lcamtuf.coredump.cx)](https://lcamtuf.coredump.cx/p0f3/README), read November 2, 2026

## Questions

### Can a website see my operating system from TCP?

A server, or anything in front of it, can make a good guess from the first packet of the connection. The initial TTL alone separates the families: almost every system starts at 64, 128 or 255.

### Does a proxy change my TCP fingerprint?

Yes. With an HTTP or SOCKS5 proxy, the connection the site receives is opened by the proxy's server, so its TCP fingerprint belongs to that machine. Your own computer's stack talks only to the proxy.

### Can a browser change its TCP fingerprint?

No. The TCP stack belongs to the operating system kernel, not the browser. Changing it means changing kernel settings on the machine that opens the connection, which behind a proxy is not yours.

### What is p0f?

p0f is a passive fingerprinting tool by Michal Zalewski. Its version 3 reads TCP SYN and SYN+ACK packets, and some HTTP traffic, to identify the operating system on both ends of a connection without sending anything.

## Related

[OS fingerprint mismatch: when the claimed system is not the real one](https://mosaicbrowser.com/glossary/os-fingerprint-mismatch): An OS fingerprint mismatch is a browser claiming one operating system while its fonts, rendering or TCP packets show another. Both kinds, with our runs.

[TLS fingerprinting: identifying a client by its handshake](https://mosaicbrowser.com/glossary/tls-fingerprinting): TLS fingerprinting identifies the software behind a connection from its TLS ClientHello, read before any page loads. JA3 and JA4 are the common formats.

[HTTP/2 fingerprinting: identifying a client by its first frames](https://mosaicbrowser.com/glossary/http2-fingerprinting): HTTP/2 fingerprinting names the software behind a connection from its SETTINGS values, window update, priorities and header order, before any script runs.

[Proxy detection: how a site decides your address is a proxy](https://mosaicbrowser.com/glossary/proxy-detection): Proxy detection is how a site decides a visitor uses a proxy: who owns the IP, its history, added headers, and a browser that disagrees with it.

[Residential proxy: an IP on a home internet connection](https://mosaicbrowser.com/glossary/residential-proxy): A residential proxy sends your traffic out through an address an ISP assigned to a home connection, so sites see a household rather than a data center.







[How do websites detect multiple accounts?](https://mosaicbrowser.com/guides/how-do-websites-detect-multiple-accounts): Websites detect multiple accounts by what two accounts share: cookies, the IP address, the browser fingerprint, payment and phone details, and habits.

## See TCP fingerprinting on a real profile

Mosaic shows the values a site reads, per profile, and runs a leak test from inside the profile’s own page. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.

Mosaic is a desktop app

Email yourself the link and open it on your computer.
