Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 589 Bytes

File metadata and controls

31 lines (24 loc) · 589 Bytes

memreplica

memcached packet replicator

Requirement

pcap library needed.

Build

$ make cc -g -O2 -Wall memreplica.c -o memreplica -lpcap

Usage

$ ./memreplica memreplica (memcached packet replicator)

usage: ./memreplica [options]

interface: -l ip address1 Capture packets from ip address1. -d ip address2 Destination ip address of forwarded packets. options: -p port Capture packets from port. -c Capture packets only. example: sudo ./memreplica -l 192.168.0.1 -d 192.168.0.2 -p 11211