Home

Awesome

rpcxdump

A tcpdump-like tool to capture rpcx tcp packets for debugging rpcx services.

You do not need to modify/restart any existed services. One thing what you need is to copy this tool to the server and begin to dump.

It is convenient to debug communication between rpcx services and clients.

run it as :

go build -o xdump .
./xdump -c 127.0.0.1:8972 -p -color

or

go run github.com/smallnest/rpcxdump

If you use win10, you should install npcap for pcap.dll, the win10pcap can not capture loopback device such as 127.0.0.1.

Notice

For windows users, you must install winpcap or nmap or wireshark for using wpcap.dll. And you can't capture loopback address such as 127.0.0.1 in Windows.

It looks pcap can't capture the local packets in Windows