This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
# Redis Sniffer v1.1.0

## About

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 Hound must be run locally on a Redis server or a server that is sending commands to Redis.

## Installation
Installing from the Eternal Projects Apt repo is the preferred method of installation since it handles installing all the needed dependencies.

Once Redis Sniffer is installed, you will have the executable at /usr/local/bin/redis-sniffer

### Install from Apt
1. Get the key for the repo
```bash
wget -O - http://apt.eternalprojects.com/conf/apt.eternalprojects.com.gpg.key|apt-key add -
```
2. Add the Repo to /etc/apt/sources.list
```bash
deb http://apt.eternalprojects.com/ stable main
```
3. Install the package
```bash
sudo apt-get update
sudo apt-get install -y redis-sniffer
```

### Install from Pypi
```bash
sudo apt-get -y libpcap-dev python-dev
sudo pip install pypcap
sudo pip install dpkt
sudo pip install redis-sniffer
```

### Get the source and install

```bash
sudo apt-get -y install libpcap-dev python-dev
git clone https://github.com/eternalprojects/redis-sniffer.git
cd redis-sniffer
sudo python setup.py install
sudo python setup.py install --user
```


## 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.**
```bash
sudo redis-sniffer -i <interface> -p <port>

sudo redis-sniffer -i bond0 -p 6379 -f setex,select,del
```
Additional Options:
```bash
-l {event,full,both} - logging type
--out - location to write logs
--event-log - name of the event log
--full-log - name of the full log
-f, --filter - specify a comma seperated list of redis commands to log
```
Release History

Release History

1.1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
redis_sniffer-1.1.0-1-py2.7.egg (9.8 kB) Copy SHA256 Checksum SHA256 2.7 Egg Mar 19, 2015
redis_sniffer-1.1.0-1-py2-none-any.whl (7.3 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Mar 19, 2015
redis-sniffer_1.1.0.tgz (66.1 kB) Copy SHA256 Checksum SHA256 Source Mar 19, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting