先安装 tcpdump:
apt-get install tcpdump
然后:
tcpdump -n -S -s 0 -A 'tcp dst port 80' | grep -B3 -A10 "GET /"
很好用。