Skip to content

rmedvedev/grpcdump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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