• Stars
    star
    149
  • Rank 248,619 (Top 5 %)
  • Language
    Go
  • License
    MIT License
  • Created almost 5 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Tool for capture and parse grpc traffic

GRPCDump

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

grpcdump -help

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