← 返回首页
2026-09-30 · 排查
按连接筛:tcpdump -ni any 'tcp port 443 and host 1.2.3.4'。
tcpdump -ni any 'tcp port 443 and host 1.2.3.4'
按方向筛,只看出站:加 and less 100 或者用 src/dst 限定。
and less 100
src
dst
抓完整报文一定加 -s 0。默认 snaplen 只有 96 字节,TLS 握手里的 SNI 正好在 96 字节之后,会抓到却看不见,白抓一次。
-s 0