Skip to content
replay pcap files
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
pcap_replay.py

README.md

Usage:

sudo tcpdump -i lo dst host localhost and port 5000 -A -w /path/to/mycap.pcap

python pcap_replay.py -f /path/to/mycap.pcap

python pcap_replay.py -f /path/to/mycap.pcap -i 54 -i 61

Options:

-h, --help            show this help message and exit
-f PATH, --file=PATH  path to pcap file
-t TIMEOUT, --timeout=TIMEOUT
                    recv timeout in seconds (default=1)
-i IGNORE, --ignore=IGNORE
                    ignore specified socket errors
                    54 - Connection reset by peer
                    61 - Connection refused
                    110 - Connection timed out
You can’t perform that action at this time.