An open API service indexing awesome lists of open source software.

https://github.com/smallnest/rpcxdump

a tcpdump-like tool to capture rpcx tcp packets
https://github.com/smallnest/rpcxdump

Last synced: 29 days ago
JSON representation

a tcpdump-like tool to capture rpcx tcp packets

Awesome Lists containing this project

README

        

# rpcxdump

A tcpdump-like tool to capture rpcx tcp packets for debugging [rpcx services](https://github.com/smallnest/rpcx).

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 :

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

or

```sh
go run github.com/smallnest/rpcxdump
```

If you use win10, you should install [npcap](https://nmap.org/npcap/#download) for pcap.dll, the [win10pcap](http://www.win10pcap.org/) can not capture loopback device such as 127.0.0.1.

## Notice

~~For windows users, you must install [winpcap](https://www.winpcap.org/install/) 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

![](snapshoot.png)