Add tcpreplay.
This commit is contained in:
parent
53d7de55bd
commit
808afbd453
11
tcpreplay.md
Normal file
11
tcpreplay.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Replay trace
|
||||||
|
```
|
||||||
|
tcpreplay -i eth0 capture.pcapng
|
||||||
|
```
|
||||||
|
|
||||||
|
# Replace IP address
|
||||||
|
Replace IP address of endpoint hosts (eg. new destination 10.0.0.2, new source 10.0.0.1):
|
||||||
|
```
|
||||||
|
tcpprep --auto=server --pcap=sbirulo.pcapng --cachefile=stream.cache
|
||||||
|
tcprewrite --infile=original.pcapng --outfile=modified.pcapng --endpoints=10.0.0.2:10.0.0.1 --cachefile=stream.cache
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user