项目作者: hellvinz

项目描述 :
live monitoring redis commands via pcap in a browser
高级语言: JavaScript
项目地址: git://github.com/hellvinz/goredis.git
创建时间: 2013-07-09T22:32:35Z
项目社区:https://github.com/hellvinz/goredis

开源协议:

下载


Goredis

goredis is intended to be a graphical version of redis “monitor” tool.
It captures network traffic via pcap to do so.

building

You need at least Go 1.11i with modules enabled, Ragel 6.8 and libpcap

  1. git clone https://github.com/hellvinz/goredis.git
  2. cd goredis
  3. ragel -Z -o src/redis_protocol/parse.go src/redis_protocol/parse.rl
  4. go build -o bin/goredis src/cmd/goredis/main.go

building the ui (optional)

  1. cd ui
  2. npm install -g yo
  3. npm install -g generator-angular
  4. npm install grunt
  5. npm install
  6. bower install
  7. bundle
  8. bundle exec grunt build

running

  1. sudo ./bin/goredis -d en0 -p 6379

where en0 is the interface you want to capture the traffic on

then navigate to http://thehost:12345, where thehost is where you have ran goredis

limitations

tested only on macos/debian and chrome