What is passive OS fingerprinting?
p0f reads the SYN packet without sending anything back: the initial TTL (64 for Linux, Android and macOS, 128 for Windows), the window size and scale, the MSS and the order of TCP options.
JA4T writes the same values as a compact hash. The MSS also shows the path MTU: below 1500 usually means a tunnel, PPPoE or VPN.