tcpdump简单抓包


背景:

日常工作,使用rpc框架。请求下游服务,报了不明原因的错,发送的请求是什么?响应是什么?

简单抓包:

tcpdump -w dump.log -A host $host

简单查包:

tcpdump -A -r dump.log

相关