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
- Host: GitHub
- URL: https://github.com/smallnest/rpcxdump
- Owner: smallnest
- License: apache-2.0
- Created: 2019-06-19T06:55:06.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-18T07:52:34.000Z (about 4 years ago)
- Last Synced: 2025-03-19T06:43:08.444Z (about 1 month ago)
- Language: Go
- Size: 463 KB
- Stars: 43
- Watchers: 1
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
