timwhitez starred grpcdump
2022-9-1 00:35:35 Author: github.com(查看原文) 阅读量:17 收藏

Tool for capture and decode GRPC messages from ethernet traffic

Warning: Works only on Linux!

Build Status Go Report Card codecov

Demo

gif

Installation / Getting started

Installation is supported only on Linux and does not require additional dependencies such as libpcap-dev

go run cmd/grpcdump/main.go

From Source

go get -u github.com/rmedvedev/grpcdump/...
cp $(go env GOPATH)/bin/grpcdump /usr/local/bin
grpcdump 

Usage

The next option explains usage doc

For example, to capture grpc traffic, parse grpc request and response you need to use this command:

grpcdump -i lo -p 50051 -proto-path ./grpc/protofiles -proto-files helloworld.proto 

文章来源: https://github.com/rmedvedev/grpcdump
如有侵权请联系:admin#unsafe.sh