modulepackage
0.3.2
Repository: https://github.com/developerdong/tcp-replay.git
Documentation: pkg.go.dev
# README
tcp-replay
Replay tcp content to the destination address.
Usage
Read data from stdin, which may be filled by a pipe between tcpdump.
Example
cat data.pcap | tcp-replay -t localhost:8080 -d 1s
tcpdump -i eth0 -U -w - tcp and dst port 80 | tcp-replay -t localhost:8080 -d 1s
# Packages
Package stream builds a simple TCP forwarder using tcpassembly.StreamFactory and tcpassembly.Stream interfaces.