A redis event sniffer and capture utility
Project description
# Redis Sniffer v1.0.0
## About
This sniffer is based on http://github.com/xupeng/redis-sa
This tool will monitor a specific port and interface for redis traffic and captures the commands being sent to Redis and/or formatted full TCP dump data. This can be used for analysis for debugging or for replaying the transactions as a way of doing real load/performance testing.
Redis Sniffer must be run locally on a Redis server.
## Installation
### Dependencies
There are 2 dependencies for Redis Sniffer 1. pypcap 2. dpkt
### Usage
Please Note: Redis Sniffer must be run as root/sudo since it has to bind to a network interface which is not allowed by non-privileged users.
sudo redis-sniffer -i <interface> -p <port>
The captured Redis traffic will be logged to 2 different files 1. full_output - This will be a formatted version of the pcap data that includes: process time, the client, request size, response size and the command 2. comm_output - This is just a list of all the Redis commands captured by Redis Sniffer. Each line in this file could be replayed without modification for simulated load testing/performance testing/tuning
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file redis-sniffer_1.0.0.tgz.
File metadata
- Download URL: redis-sniffer_1.0.0.tgz
- Upload date:
- Size: 31.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fda67c266596448d8ac8def16dc18eed4a3103ac58462d21259aecf7cff6e491
|
|
| MD5 |
9d043de8a295fdf5a6d798e854a9406a
|
|
| BLAKE2b-256 |
14e497015c48c0bf147b08e9903f29a082578a7b92d27deb917a5b32b8782865
|
File details
Details for the file redis_sniffer-1.0.0-py2.7.egg.
File metadata
- Download URL: redis_sniffer-1.0.0-py2.7.egg
- Upload date:
- Size: 7.0 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
459a5432e4b520c66049e72c42cc1b3f1c7b9ac475f2e78a9f7512443c8c9b05
|
|
| MD5 |
b46ac81c63361236d3cc218d510b9e03
|
|
| BLAKE2b-256 |
442f86d7fd24a6862072ff58228869e653c27ba7c9c354820932e056c674e3c2
|